Commit Graph

540 Commits

Author SHA1 Message Date
Neil Lathwood
efe8b8858b device: Added detection for Red Lion Sixnet devices (#8576)
* device: Added detection for Red Lion Sixnet devices

* Added state sensors
2018-04-26 08:47:15 -05:00
Neil Lathwood
3d65deaf91 device: Added detection for Corero CMS devices (#8574)
* device: Added detection for Corero CMS devices

* remove files added by accident
2018-04-26 08:46:10 -05:00
Neil Lathwood
7b2c1e0fe4 Added Dahua NVR processor and sensors (#8570)
* Added Dahua NVR processor and sensors

* moved cpu

* updated proc data
2018-04-26 08:45:15 -05:00
vivia11
96fa9c6ec6 Rewrite state sensors to walk entire table for TIMOS (#8588)
* Rewrite state sensors to walk entire table

* Adding test data
2018-04-24 21:36:14 -05:00
Tony Murray
d69e965309 Fix incorrect word polled/discovered (#8606) 2018-04-24 08:51:01 +01:00
Tom Sealey
ecfdb681a9 bug: Fixed high/low calculations (#8603)
* changed limit values in routeros.yaml to allow for the divisor value of 10

* changed the code so divisor/multiplier is only used for oids

* updated json test file
2018-04-23 21:30:13 +01:00
CZ
fa035be4c9 New FiberHome SVG Logo (#8601)
- replace PNG with SVG
- adjust testing json data to *.svg
  (fiberhome_switch and fiberhome)
2018-04-23 21:17:51 +01:00
TheGreatDoc
aa8bc5c26d device: Added support for HWG Poseidon sensors (#8593)
* newdevice: Add support for HWG Poseidon 4002

* Added snmprec file

* Added json test file
2018-04-23 20:48:47 +01:00
CZ
23740bce6f device: Added support for FiberHome Switches S5800/S4800/S2800 (#8569)
* Fiber Home Switch Device Support
- Basic OS support
- New Logo
- Sensor support
- Fiberhome MIBS (wriSMI)

* Fibrehome Switch Device Support
- add mempools discovery

* Fiberhome Switch Device Support
- remove mib bases high/low limit for FAN entity

* Fiberhome Switch Device Support
- remove unsupported processor high_limit option

* FiberHome Switch Device Support
- snmpprec files for S28/S48/S58 added
- removed not used FH MIB files

* Fiberhome Switch Device Support
- add snmprec for FHN5800 FHN4800 FHN2800

* Update fiberhome.svg

* FiberHome Switch Device Support - changes as per request

* FiberHome Switch Device Support
- adjusted code to PSR2 standard

* FiberHome Switch Device Support - add tests

* FiberHome Switch Device Support - added back fiberhome.png since currently expected in other json

* FiberHome Switches Device Support - Deleted fiberhome.svg (for now)

* Fiberhome Switch Device Support - corrected wrong MIB renaming

* Update fiberhome-switch.inc.php

* Update fiberhome-switch.inc.php

* Update fiberhome-switch.inc.php

* Update fiberhome-switch_fh4800.json

* Update fiberhome-switch.json

* Update fiberhome-switch_fh2800.json

* Update fiberhome-switch.yaml
2018-04-22 14:01:37 +01:00
ospfbgp
9a420a6910 device: Rebranding of Avaya BOSS and VOSS OS' (#8469)
* Update avaya-ers.yaml

Extreme bought avaya network assests so rebranding and moving some files.

* Add files via upload

Extreme bought avaya networking assets and so rebranding to Extreme and adding logos with OS for easier reading when on devices pages

* Update avaya-vsp.yaml

removing .1.3.6.1.4.1.45.3.79.1  This is a VSP 7024xl from avaya.  This is techincally not VOSS but BOSS operating system.  It should be in BOSS and avaya-ers.yaml

* Add files via upload

* Update and rename avaya-vsp.inc.php to extreme-voss.inc.php

* Update and rename avaya-vsp.inc.php to extreme-voss.inc.php

* Update and rename avaya-vsp.inc.php to extreme-voss.inc.php

* Update extreme-voss.inc.php

* Rename avaya-vsp.inc.php to extreme-voss.inc.php

* Rename avaya-vsp.inc.php to extreme-voss.inc.php

* Rename avaya-vsp.yaml to extreme-voss.yaml

* Update and rename avaya-vsp.yaml to extreme-voss.yaml

* Update avaya-ers.yaml

* Rename avaya-ers.yaml to extreme-boss.yaml

* Rename avaya-ers.inc.php to extreme-boss.inc.php

* Update and rename avaya-ers.inc.php to extreme-boss.inc.php

* Update and rename avaya-ers.inc.php to extreme-boss.inc.php

* Update and rename avaya-ers.inc.php to extreme-boss.inc.php

* Update and rename avaya-ers.inc.php to extreme-boss.inc.php

* Update and rename avaya-ers.inc.php to extreme-boss.inc.php

* Update extreme-boss.yaml

* Update extreme-voss.yaml

* Update and rename extreme-boss.yaml to boss.yaml

* Update extreme-voss.yaml

* Rename extreme-voss.yaml to voss.yaml

* Rename extreme-boss.inc.php to boss.inc.php

* Rename extreme-voss.inc.php to voss.inc.php

* Rename extreme-boss.inc.php to boss.inc.php

* Rename extreme-voss.inc.php to voss.inc.php

* Update and rename extreme-voss.inc.php to voss.inc.php

* Rename extreme-voss.yaml to voss.yaml

* Rename extreme-voss.inc.php to voss.inc.php

* Update and rename extreme-voss.inc.php to voss.inc.php

* Update and rename extreme-boss.inc.php to boss.inc.php

* Update and rename extreme-boss.inc.php to boss.inc.php

* Update and rename extreme-boss.inc.php to boss.inc.php

* Rename extreme-boss.inc.php to boss.inc.php

* Update voss.inc.php

* Update boss.inc.php

* Update boss.inc.php

* Update voss.inc.php

* Update voss.inc.php

* Update voss.inc.php

* Update voss.inc.php

* Update voss.inc.php

* Update voss.inc.php

* Update boss.inc.php

* Update boss.inc.php

* Update voss.inc.php

* Update boss.inc.php

* Update voss.inc.php

* Update voss.inc.php

* Rename avaya-vsp_8404c.snmprec to voss_8404c.snmprec

* Rename avaya-vsp_8404.snmprec to voss_8404.snmprec

* Rename avaya-vsp_8284xsq.snmprec to voss_8284xsq.snmprec

* Rename avaya-vsp_7254xtq.snmprec to voss_7254xtq.snmprec

* Rename avaya-vsp_7254xsq.snmprec to voss_7254xsq.snmprec

* Rename avaya-vsp_7024xls.snmprec to boss_7024xls.snmprec

* Rename avaya-vsp_4850gts.snmprec to voss_4850gts.snmprec

* Rename avaya-vsp_4850gts-pwr.snmprec to voss_4850gts-pwr.snmprec

* Rename avaya-vsp_4450gsx-pwr.snmprec to voss_4450gsx-pwr.snmprec

* Rename avaya-ers.snmprec to boss.snmprec

* Rename avaya-ers_1.snmprec to boss_1.snmprec

* Update and rename avaya-ers.json to boss.json

* Update and rename avaya-vsp_8404.json to voss_8404.json

* Update and rename avaya-vsp_8404c.json to voss_8404c.json

* Update and rename AvayaErs.php to Boss.php

* Update Boss.php

* Restore processor_type to avaya-ers in test data

* Update voss_8404c.json

* Update extremeboss.svg

* Update extremevoss.svg
2018-04-21 11:21:14 +01:00
Richard Mayhew
350045995c webui: Replaced old Mikrotik SWOS vendor logo with the correct Mikrotik Logo (#8584)
* Replaced old Mikrotik SWOS vendor logo with the correct Mikrotik Logo

* Uptated RouterOS and SWOS to use a common Mikrotik logo

* Removed unused routeros.svg image file

* Updated test to use new defined icon
2018-04-21 09:56:54 +01:00
vivia11
f9da8ef2a1 device: Added dection for ibm-dpi os (#8541)
* Add ibm-dpi os support

* SNMP test data

* Remove blank space

* remove snmp_get

* Rename to dpi

* Add json test data and change text to IBM DPI

* Update json test
2018-04-20 11:12:24 +01:00
vivia11
146fc985aa device: Fixed polling for state sensor on ict-pdu (#8558)
* Remove if/else for polling. Gives incorrct index.

* delete ict-pdu file for state polling

* Added test data
2018-04-15 15:46:32 +01:00
Alan Gregory
d08e1e6bb9 Fiberhome updates (#8561)
* Added new Fan and Power state

* Update test cases

* Low voltage si warning level

* Update test
2018-04-13 21:57:34 -05:00
Neil Lathwood
1c94cddd70 fix: Apply divisor / multiplier to high/low limits in sensors (#8427)
* fix: Apply divisor / multiplier to high/low limits in sensors

* Updated test data for airos

* updated sensors test data

* Updated test data

* Updated test files

* updated dell-rpdu tests

* Updated to do division / multiply after check for value
2018-04-13 21:43:40 -05:00
Slashdoom
d7a82f0e6e ArubaOS mempool scale fix (#8557)
* mem scale fix

* update test data
2018-04-13 08:58:53 +01:00
Slashdoom
041de7e822 device: Added mempols and cpu for ArubaOS controllers (#8548)
* arubaos mempools discovery

* arubaos mempools poller

* add mibs_dir to yaml

* discovery typo

* correct filenames might help

* remove debugs

* fix

* arubaos processor yaml

* processor yaml with sup cpu override

* remove mib_dir to use default mib search

* requested cleanup items

* WLSX-SYSTEMEXT-MIB added to mib line

* added test files

* update tests with mempools and processors info
2018-04-12 08:31:19 +01:00
Neil Lathwood
974b5eb84f device: Updated cyberpower sensors and os support (#8551) 2018-04-11 22:32:24 -05:00
Alan Gregory
5d708e53b4 Update sensors and tests for fiberhome OS (#8549)
* Moved temperature sensor to yaml

* Enabled sensors , it's working now

* Enable mempools and disable unused wireless discovery.

* Tests for fiberhome OS, variants can be merged on future
2018-04-11 22:29:51 -05:00
Tony Murray
d841625f12 refactor: Refactor database and config init (#8527)
* Refactor database and config init
Connect to the database without loading full config
Load config completely so post-processing is always done consistently.
Erase existing $config when loading, fixes issues in case we load the config twice.
If the database is not connected, don't try to load database settings. (Fixes some db errors on install)
Attempt to remove $config access/modification before init.php
Remove usage of db_name, that might not match the connected database.
Centralize db config loading, so we consistently apply db_test database settings.
Many of these changes are influenced by Laravel port.

* Some safety so we don't assign strings to numeric port field
Smooth out phpunit bootstrap

* Fix a couple of scrutinizer warnings.
2018-04-11 16:15:13 +01:00
Neil Lathwood
c09e44aa94
device: Added support for Dahua NVR (#8542)
* device: Added support for Dahua NVR

* Update dahua-nvr.yaml
2018-04-11 15:34:21 +01:00
Paul Heinrichs
c828114639 device: Pmp 450m metrics added (#8537)
* Update cambium MIBS

* Add pmp-450m utilization metrics

Added test data

* Re-run json test data

* Rremove application data from json

* Rename pmp tests to match hardware
2018-04-11 07:59:08 -05:00
Neil Lathwood
94abddcd1b device: Updated buffalo OS detection (#8536) 2018-04-11 07:58:00 -05:00
theherodied
e74af0a411 device: AeroHive Wireless added AP130. (#8543)
* Added AP130.

* Added AP130 Test Data.

* Fix Test Data 001.
2018-04-11 10:16:20 +01:00
djamp42
d1ad2696d1 device: Added CPU Information for Ruckus Wireless Type (#8529)
* Add CPU Information for Ruckus Wireless Type

Tested on ZD1100 & ZD1200

* Create ruckuswireless_zd1100.json

* Create ruckuswireless_zd1200.json
2018-04-10 15:36:35 +01:00
Søren Rosiak
7e4bae26ca device: Improve DCN detection (#8531)
* newdevice: Improve DCN support

fix #8452

* Updated dcn-software tests
2018-04-09 21:45:41 +01:00
theherodied
2b093323f6 AeroHive added AP Env Temp. (#8520)
* Added AP Env Temp.

* Changed to yaml

* Corrected yaml

* Added over graphs

* Updated json test data.
2018-04-09 13:17:00 -05:00
theherodied
313b46236e Added Tegile Storage OS detection, storage pool, and project storage. (#8464)
* added Tegile Storage 001

* Tegile fixed whitespace 002

* Added tegile.snmprec 003

* Added TEGILE-MIB

* Tried to fix svg size issue

* Tried to fix svg size issue 005

* Tried to fix svg size issue 006

* Trying dedup 007

* Revert "Trying dedup 007"

This reverts commit b30a3edb49.

* Tried to fix svg size issue 009

* Tried to fix svg size issue 010

* Reverted changes and created new branch

* changed tegile to intelliflash

* changed tegile to intelliflash

* changed tegile to intelliflash 002

* added intelliflash snmprec

* added Json test data

* Update intelliflash.json

* Redid logo

* Update tegile.svg

* changed to intelliflash1. intelliflash2 will come later.

* removed previous commit I made

* Adding project usage

* simplified project calculations

* simplified project calculations

* simplified project calculations

* simplified project calculations

* Cleaned up comments

* Added disco OS if check and removed network over graph

* chenged os detection to sysObjectID. Fixed disco if check.

* Updated json test file

* Fixed intelliflash-pr storage units.

* Updated test data

* Updated test data to remove bgp module
2018-04-09 00:57:22 -05:00
Søren Rosiak
e0b7cc1b5f newdevice: Add basic Ubiquiti LTU airFiber support (#8521)
* newdevice: Add basic Ubiquiti LTU airFiber support

* Update airos-af-ltu.json
2018-04-09 00:34:25 -05:00
Paul Heinrichs
098c948a04 device: Added Last Mile CTM support (#8478)
* Add Listmile mibs

Created custom lastmile mib

* Add Lastmile CTM support

* Update test description and remove wireless sensor

* Requested changes

Renamed OS

* json test data

* Updated test data
2018-04-08 09:32:41 +01:00
djamp42
a3f822b7a3 device: Added Total Wireless Client and AP count for Ruckus Wireless OS Type (#8503)
* Create Ruckuswireless.php

Add Total Authorized Clients and Total AP Connected to Zone Director, Tested on Zone Director 1200 & 1100.

* Update Ruckuswireless.php

* Create ruckuswireless_zd1200.snmprec

* Create ruckuswireless_zd1100.snmprec

* Add AP count and Wireless Client over graphs

* Update ruckuswireless_zd1200.snmprec

* Update ruckuswireless_zd1100.snmprec
2018-04-07 20:13:18 +01:00
theherodied
a81e2d25cd Added 2n device detection. (#8490)
* Added 2n Intercom mib

* Added 2n png logo

* Added 2n definitions yaml

* changed 2n logo. still needs to be changed later.

* changed 2n logo. still needs to be changed later 2.

* changed os name

* png not working

* trying svg. need to fix still.

* changed to object id detection

* added includes/polling/os/2nipforce.php

* named file correctly 2nipforce.inc.php

* added 2nipforce.snmprec

* added uptime to over graphs

* Changed to HeliosIP OS

* Changed to HeliosIP OS

* Removed Device Traffic from over graphs

* working on review requests 001

* Like so

* Create heliosip.json

* Update heliosip.json

Forgot to clear os cache

* Removed svg dimensions.

* Made 2n logo again.
2018-04-07 10:53:17 -05:00
theherodied
f69412525e device: Added AeroHive Wireless Support (#8500)
* AeroHive 001

* AeroHive 002

* AeroHive 003

* Removed duplicate HiveOS for OS

* Added AP550 detection

* changed to Hiveos-Wireless

* changed back to HiveosWireless. Hiveoss-Wireless doesn't work

* changed back to HiveosWireless. Hiveoss-Wireless doesn't work

* Added Processor Usage.

* Added Mempool.

* working on review requests 001

* working on review requests 002

* stuck on radio stats

* WirelessSensor.php added channel 165

* Added AP250 snmprec

* Frequency work in progress.

* Frequency trying another way.

* Frequency trying another way 002

* Fixed AH-SMI-MIB? Added array try 003

* Frequency array is working thanks to Murrant.

* Frequency array description working.

* Added TX Power

* changed interface naming method

* Review changes 001

* Review changes 002

* Review changes 003

* Added json test data.

* Fixed test data 001.
2018-04-07 13:27:19 +01:00
Søren Rosiak
831bd01004 newdevice: Add Dell Rack PDU Support (#8498)
* newdevice: Add Dell Rack PDU Support

fix #7945

* Updated json test data
2018-04-05 22:09:27 -05:00
Tony Murray
cc377353f3 Snmpsim fail when it fails (#8392)
* Update snmpsim to fail better if it can't be started.
The main issue is the isRunning() check was done too soon after forking, the sh process was still running.

* increase default delay to 2s

* Pull this back, all we need is the sleep really.

* Remove removed exception
2018-04-05 22:49:58 +01:00
vivia11
b71febf372 device: Added WTI-MPC OS and mib (#8492)
* Add icon and initial discovery

* Added more discovery for wti-mpc. Add mib.

* Add snmp data and edit discovery

* Remove discovery due to weird mib[C

* Update wti-mpc.yaml
2018-04-01 21:38:47 +01:00
Tony Murray
9885be4837
Test data for #8487 (#8493) 2018-03-29 22:29:54 -05:00
cchance27
63d6cf810a Cambium pmp ap client count discovery (#8487)
* Add pmp450 AP client count support

* add tests
2018-03-29 21:58:53 -05:00
Neil Lathwood
250b02fe23 device: Added detection for Cisco SPA devices (#8446)
* device: Added detection for Cisco SPA devices

* Drop sysDescr check
2018-03-29 00:27:24 -05:00
Søren Rosiak
8ec70a92af Improve Sentry4 discovery (#8407)
* feature: Improve Sentry4 discovery

* Added test data

* Updated to take into account C/F conversion

* fixed test json data
2018-03-29 00:22:17 -05:00
vivia11
314a552437 devices: Add Phybridge OS support (#8456)
* OS yaml definition for Phybridge

* Add images and snmp data

* Removed width/height from svg and added more specific discovery for phybridge

* Minimized svg and inverted icon

* added json test file

* update to json file

* Changing os name: phybridge to phybridge-flex

* Update json file to phybridge-flex

* Remove unneeded test data
2018-03-28 23:54:02 -05:00
James Andrewartha
2313e9c967 Add serial number detection to xerox, which is the standard prtGeneralSerialNumber from Printer-MIB (#8439) 2018-03-28 23:53:14 -05:00
Neil Lathwood
07ee21b04d fix: Fixed and improved toner discovery (#8428)
* fix: Fixed and improved toner discovery

* Update konica data
xerox tries to insert too long of descriptions.  Lets remove the part and serial number, they are ugly to look at in the ui.
2018-03-28 22:13:45 -05:00
Neil Lathwood
4c2822fe77 device: Improved detection for dlink and dlinkap devices (#8447) 2018-03-23 15:04:25 -05:00
Neil Lathwood
41dbc3547d device: Added detection for Raritan KVM and EMX devices (#8279) 2018-03-23 12:26:09 -05:00
Neil Lathwood
e0589e0efe Added better detection for HiveOS devices (#8277)
* device: Added better detection for HiveOS devices

* Added MIBs for later use
2018-03-23 12:25:46 -05:00
Tony Murray
333efe1402 Query builder fix root OR with more than one rule (#8457)
pushed the first recursion loop down, makes the code cleaner.
2018-03-23 14:39:13 +00:00
Neil Lathwood
9019f6c599 device: Added additional detection for Calix B6 (#8445) 2018-03-22 13:38:21 -05:00
ospfbgp
dba3f3fdfd device: Update avaya-vsp.yaml to reflect new vendor name (#8373)
* Update avaya-vsp.yaml

Extreme purchased the Avaya network assets and so I need to rebrand the VSP to be Extreme.  I am changing the icon to be Extreme.  I am also adding support for the 8404c which is  sysObjectID .1.3.6.1.4.1.2272.220

* Create avaya-vsp_8404c.snmprec

need to add a new vsp 8404c chassis support for avaya/extreme

* Added generated json file

* Udated test files
2018-03-22 08:37:12 +00:00
Tony Murray
2f25d11747 More complete query builder parsing (#8422)
* fix like and is null operators

* Add between operator support

* Can't have one if ($expand) clause

* fix up empty, add tests

* Use single quotes for strings

* Fix moxa sensors order

* Fixed travis
2018-03-20 10:54:02 +00:00