318 Commits

Author SHA1 Message Date
77c5b1e304 newdevice: Added TiMOS temperature and power supply state sensors. (#6657)
* Add TiMOS temperature and power supply state sensors.

* Refactor the sensor discovery, making it a little cleaner

* Discover TiMOS device serial number
Pull proper hardware OID instead of parsing sysDescr

* Make the style gods happy

* Refactoring for some of the requested changes

* Break out the arrays into variables as scrutinizer requests...

* Fix missing semicolon
2017-05-22 17:59:38 +01:00
3faee6c7c5 newdevice: Added additional sensor state sysCmSyncStatusId for F5
* New sensor state sysCmSyncStatusId for F5 OS added

* removed comments
2017-05-19 21:54:58 +01:00
e28eb690fe Fixed various issues with MRV OptiDriver sensor detection. (#6682)
modified:   discovery/sensors/dbm/mrv-od.inc.php
	modified:   discovery/sensors/pre-cache/mrv-od.inc.php
	modified:   discovery/sensors/state/mrv-od.inc.php
2017-05-19 09:03:26 +01:00
8565417dfe new device: Added basic support for MRV OptiDriver Optical Transport Platform (#6656)
* Committer: Chris A. Evans <thecityofguanyu@outlook.com>

Add basic support for MRV OptiDriver Optical Transport Platform
 * OS Detection
 * Sensors
  * Chassis temperature
  * State
   * Tx/Rx Optical Interface Power
   * Power Supply
   * Fan

*  	renamed:    includes/definitions/mrv-optidriver.yaml -> includes/definitions/mrv-od.yaml
 	new file:   includes/discovery/sensors/dbm/mrv-od.inc.php
 	deleted:    includes/discovery/sensors/dbm/mrv-optidriver.inc.php
 	renamed:    includes/discovery/sensors/pre-cache/mrv-optidriver.inc.php -> includes/discovery/sensors/pre-cache/mrv-od.inc.php
 	renamed:    includes/discovery/sensors/state/mrv-optidriver.inc.php -> includes/discovery/sensors/state/mrv-od.inc.php
 	new file:   includes/discovery/sensors/temperature/mrv-od.inc.php
 	deleted:    includes/discovery/sensors/temperature/mrv-optidriver.inc.php
 	renamed:    includes/polling/os/mrv-optidriver.inc.php -> includes/polling/os/mrv-od.inc.php

*  	modified:   includes/discovery/sensors/dbm/mrv-od.inc.php

  Added missing ')' in the if conditionals.

*   Requested changes
 	modified:   includes/definitions/mrv-od.yaml
 	modified:   includes/discovery/sensors/state/mrv-od.inc.php
 	modified:   includes/discovery/sensors/temperature/mrv-od.inc.php
 	modified:   includes/polling/os/mrv-od.inc.php
 	removed extensions from all new mib files

* Add snmprec file to satisfy test units
	new file:   tests/snmpsim/mrv-od.snmprec
2017-05-18 22:04:40 +01:00
895801d855 newdevice: Added more health information for APC units (#6619)
* fix: Fixed apc state support emsOutput

* newdevice: Added more health information for APC devices

* update schema file

* schema file renamed
2017-05-17 22:41:53 +01:00
e223ec3ff2 newdevice: Added support for Geist PDU (#6646) 2017-05-16 23:39:35 -05:00
c40b762e23 feature: Update Juniper MSS Support (#6565)
* feature: Improve Juniper MSS Support

Add the following sensors
- Processor
- Mempool
- State

* Use snmp_get_multi

* updated mibs dir
2017-05-16 22:22:46 +01:00
cef1b723f8 newdevice: Added support for Terra sti410C (#6598)
* newdevice: Added support for Terra sti410c

* newdevice: tests for Terra sti410c

* renamed sti410c to terra, added support for sti440 and recognition for sda410C, sta410C, saa410C, sdi410C, sai410C, ttd440, ttx410C, tdx410C, sdi480

* fixed terra.svg and access to sysDescr
2017-05-13 09:15:23 +01:00
a368a73825 newdevice: Added 3 Phase APC UPS Support issue #2733 & #5504 (#5558)
* Added 3 Phase APC UPS Support issue #2733

* Added 3 Phase APC UPS Support issue #2733 - v2

* Added 3 Phase APC UPS Support issue #2733 - v3

* Added 3 Phase APC UPS Support issue #2733 - v3

* Added 3 Phase APC UPS Support issue #2733 - v3.1

* Added 3 Phase APC UPS Support issue #2733 - v3.2

* Added 3 Phase APC UPS Support issue #2733 - v3.3

* Added 3 Phase APC UPS Support issue #2733 - v3.4

* Added 3 Phase APC UPS Support issue #2733 - v4

* Added 3 Phase APC UPS Support issue #2733 - v4.1

* Update apc.yaml
2017-05-05 13:16:46 +01:00
568a2bf21d Added more sensors for Exalt ExtendAir devices (#6531) 2017-05-03 15:24:57 +01:00
4c0412b14d feature: Wireless Sensors Overhaul (#6471)
* feature: Wireless Sensors
Includes client counts for ios and unifi
Graphing could use some improvement.
Alerting and threshold ui not implemented

WIP: starting OO based wireless sensors.

Class based functionality working
remove old functional files
add schema file

discovery needs to be enabled, not polling

fix up schema

fix Unifi discovery not returning an array

Add some debug when discovering a sensor.
Fix style.

Add missing semicolin

Add a null object (Generic) for OS.
Fill out some phpdocs

Re-organized code
Each sensor type now has it's own discovery and polling interface
Custom polling tested with Unifi CCQ

Left to do:
Implement UI (Graphs and Custom thresholds)
Alerting
Testing

Fix event message text

Remove runDiscovery and runPolling from OS, they are unused and don't belong there.

Cleanups/docs

Missed this file.

Remove the requirement to fetch the current value to check validity.
Do that automatically if current is not specified
A few cleanups here and there

First pass at graphing.
device_ and wireless_ graphs added.

Add RouterOS support

Singleton OS instance isn't required right now.
Remove that to allow some memory to be freed.

Add wireless to the device list metrics.
Make all metrics clickable

Tweak graphs a bit

Implement limit configuration page.
Use sensors page as common code instead of duplicating.
Clean up some javascript interactions:  Allow enter on values to save. Cancel if update is not needed. Enable the clear custom button after setting a custom value.
Add some wireless alert rules to the library.

Add documentation.

Add unifi client counts by ssid in addition to radio.
Optimize Sensor polling a bit.

Add HP MSM clients support (for full controller)
Fix function accessibility

Formalize the discovery and poller interfaces.

Add Xirrus clients and noise floor
move module interfaces to a more appropriate place.
push caching code up to os, unsure about this do to the limitations

No point in selectively enabling wireless discovery.  We only discover if the device supports something.

Add RSSI, Power, and Rate.
Add these sensors for Ubnt Airos.
Clean up some copyrights.

Reduce the amount of files need to add new types.
Leave graph files for consistency and to allow customization.

Remove the old wifi clients graph completely.
ciscowlc should have improved counts (total and per-ssid)

Schema didn't get added.

Impelement the rest of the AirOS sensors
Reformat and re-organize the Airos.php class.

Add several UBNT AirFiber sensors

A few fixes add links to the section headers

Add HP MSM mibs.

* Schema file got dropped in rebase.

* Add wireless menu to view sensors across all devices.
Icons in the menu need help :/

* Add HeliOS, Mimosa, and Siklu support
Sensors added SNR + Noise

* Add power and utilization to Unifi

* Update polling to prefetch all sensor data in a few snmp requests as possible

* Add Extendair: tx+rx power, aggregate rate, frequency

* Add a check for duplicate sensors in discovery.  Just print an error for now.

* Add Bit Error Ratio (named error-ratio to allow for bit error rate to be added if needed)
Fix an incorrect link in the wireless sensors table

* Add error rate and change all bps and Hz to use si units

* Fixes to limits and frequency display

* Fix overview graph frequency display
A few decimal place tweaks

* Don't allow switching sensor and wireless-sensor graphs, it doesn't work.
Change individual distance graphs to use si units

* Go through the OS and make sure I got all the sensors I can (probably missed some still)
Because pollWirelessChannelAsFrequency() is generic and a little complex, so pull it up to OS.
Message to help developers adding supports that don't return an array from discover functions.

* Fix some issues

* Remove noise and signal for now at least
A couple more fixes
Add a notification

* Oopsie

* Bonus AirFiber sensors
2017-05-01 23:49:11 -05:00
72a0d8202a newdevice: Added further health support for Netbotz devices (#6529) 2017-04-30 16:32:39 +00:00
e7e5d51b30 newdevice: Added support for Exalt ExtendAir (#6524) 2017-04-29 15:58:06 +00:00
6b5faa75dd newdevice: Added more health sensors (#6517) 2017-04-27 22:17:58 -05:00
4c42c91ba8 newdevice: Added support for Tycon Systems TPDIN units (#6506) 2017-04-27 22:16:41 -05:00
e6fa8dbd13 newdevice: Added basic detection for Packetflux SiteMonitor (#6498)
* newdevice: Added basic detection for Packetflux SiteMonitor

* added missing file

* updated to include some health sensors
2017-04-27 22:14:52 -05:00
cdd363f29e Equallogic add disk status (#6497)
* I agree to the conditions of the Contributor Agreement
contained in doc/General/Contributing.md.

* Extends the work done by @Peter2121 on #3519 to include disk statuses as individual sensors.

* Making changes as requested by @laf.

* Fix a typo from the variable renaming flurry.

* small updates
2017-04-26 23:08:35 +01:00
43914fbc7f newdevice: Eaton/MGE UPS reorganization (#6388)
* Eaton UPS cleanup

* newdevice: Eaton/MGE UPS cleanup

MGE split Galaxy (and Upsilon) to apc-mgeups
All others to eaton-mgeups
Remove mge ups from eatonups os.
Remove powerware it is a duplicate of eatonups

* Add rfc1528 for both mgeups os

* Update overview graphs
2017-04-24 14:04:05 +01:00
720177965b newdevice: Added support for C&C Commander Plus units (#6478) 2017-04-22 08:13:07 -05:00
21a70dcb8a newdevice: Added basic detection for Geist Watchdog (#6467)
* newdevice: Added basic detection for Geist Watchdog

* Added further support

* Added more health sensors
2017-04-22 08:11:21 -05:00
3ff8b269f5 newdevice: Added support for enLogic PDUs (#6464) 2017-04-22 08:07:37 -05:00
b27e200a6c newdevice: Added support for Eltex OLT devices (#6457) 2017-04-22 08:05:17 -05:00
0e6b42fc05 Fix duplicate dBm readings for single-lane optics (#6460) 2017-04-19 10:42:10 +01:00
c88c677a16 refactor: only run pre-cache for the current OS (#6453)
Change powerwalker to use the $pre_cache array
2017-04-18 22:26:58 +01:00
66a3a54879 fix: Cisco Entity Sensor Threshold's returns 0 (#6440) 2017-04-17 19:39:46 -05:00
e521b39a7d refactor: move rfc1628_compat into os yaml (#6424) 2017-04-17 21:57:27 +01:00
d0c87400f3 newdevice: Added detection and sensor support for EMC OneFS v8 (#6416)
* newdevice: Added detection and sensor support for EMC OneFS v8

* Improve discovery
2017-04-14 21:25:24 -05:00
3884a3c2f7 newdevice: Added support for multi-lane optics on Juniper equipment (#6377)
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Poll device for optic lane info

* Add discovery for multiple lanes per optic

* Update formatting

* Update AUTHORS.md
2017-04-13 10:56:16 +01:00
e005f78211 newdevice: detect more devices as Comware (#6386)
* newdevice: improve comware detection
Only some H3C Comware devices were detected as comware, detect them all.

* Update the test data

FYI, C1234 was just a nonsense string
2017-04-13 10:52:07 +01:00
bd3fd64f3e newdevice: Support - ICT Digital Power Supply (#6369)
* Basic support for ICT PSU, no sensors yet.

* Added current and voltage sensors

* Fixed coding style issues

* Fixed indexes
2017-04-12 15:00:54 -05:00
457f2e9744 newdevice: Support - ICT DC Distribution Panel (#6379)
* New Device Support for ICT DC Distribution Panels

* Fixed indexes, removed tests

* Supply name instead of oid to snmp_get call

* Fixed index conflict for current sensors
2017-04-12 14:37:22 -05:00
c22283e218 newdevice: Added signal sensor for opengear devices (#6401) 2017-04-12 13:35:55 -05:00
0190691061 newdevice: Added sensors + additional info for HPE iPDU (#6382)
* newdevice: Added sensors + additional info for HPE iPDU

* added trim
2017-04-07 22:19:38 -05:00
8a2f103144 fix: Moved dnos health disco to powerconnect (#6331) 2017-04-04 13:03:44 -05:00
bc14b9137e newdevice: Added detection for Hirschmann Railswitch #6161 (#6207)
* Added detection for Hirschmann Railswitch

* Update AUTHORS.md

I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Fix for PR 6207 requested changes (old states and temperatures directories removal)

* fix for PR 6207 : state fileupdated
2017-03-23 14:36:25 -05:00
31dfe62965 fix: do not discover non-existent frequency sensors (#6199) 2017-03-15 09:15:27 +00:00
004556dc01 fix: fix Liebert humidity and temp sensors #6196 (#6198)
* fixed liebert humidity and temp sensors #6196

* fix temperature and humidity
2017-03-14 22:20:17 -05:00
b2afa147c6 Liebert temperature sensor in the old directory (#6191) 2017-03-13 23:06:41 +00:00
becab43087 fix: Wrong NetBotz file location (#6188)
woops
2017-03-13 15:43:45 -05:00
745eb7b120 feature: Add APC NetBotz State Sensor Support (#6167) 2017-03-12 22:28:34 +00:00
4ae4847a60 fix: Change rfc1628 'state' (est. runtime and on battery) to runtime (#6158)
* fix: Change rfc1628 'state' (est. runtime and on battery) to runtime

* Fix up the graph error ( : in ds name).
Change seconds on battery to minutes so the value is in minutes

* wrong scale for limits

* Don't use snmp_walk
2017-03-12 21:44:24 +00:00
9c43fbd76b fix: Adding state sensor support for RFC1628 UPS (#6153)
* Adding state sensor support for RFC1628 UPS

* added runtime for rfc1628

* Delete rfc1628.inc.php
2017-03-12 14:55:13 -05:00
ea5a4b3586 fix: attempt to fix several bugs with sensor limits and incorrect detection (#6176) 2017-03-12 14:56:56 +00:00
6993bd122c fix: sensors not being removed from database (#6169) 2017-03-12 00:03:04 +00:00
48022fb873 newdevice: Added additional sensors for Liebert / Vertiv #5369 (#6123) 2017-03-11 07:09:13 -06:00
1d80a0d2a6 fix: Fix Generex voltage sensor divisor (#6156)
* Fix Generex votage sensor divisor and add an exclusion option

* Allow OID to be used to figure out if we need to change the divisor.

* Missed current and found bugs while I was there.

* Use returns swap oid logic
2017-03-09 21:47:58 -06:00
255d5fb598 newdevice: Added state support for HP servers #5113 (#6124) 2017-03-09 16:05:01 -06:00
faf5517362 newdevice: Improved APC NetBotz Support (#6157)
* initial

* woops

* remove quote
2017-03-09 15:40:39 -06:00
b4c93cf9e6 Netonix, properly set default fanspeed limits (#6144)
Fans can stop if they are unneeded.
2017-03-09 08:07:18 +00:00
198ec806b3 fix: Refactor ipoman cache code to use pre-cache in sensors #5881 (#5983)
* fix: Refactor ipoman cache code to use pre-cache in sensors #5881

* added missing file
2017-03-06 15:36:53 +00:00