librenms/includes/discovery
Tony Murray 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
..
entity-physical Disco / Poller tidy up + Added display of module mem usage (#5778) 2017-02-07 22:54:30 -06:00
loadbalancers newdevice: Added loadbalancer information from F5 LTM (#5205) 2017-01-19 08:19:11 +00:00
mempools Added mem/cpu support for TiMOS (#6483) 2017-04-22 07:58:52 -05:00
ntp fixed: NTP stratum 16 means unsynchronized (#5436) 2017-01-14 10:52:06 -06:00
os refactor: move ios detection to yaml using new sysDescr_except (#6456) 2017-04-19 11:02:29 +01:00
processors newdevice: Added support for Eltex OLT devices (#6457) 2017-04-22 08:05:17 -05:00
sensors feature: Wireless Sensors Overhaul (#6471) 2017-05-01 23:49:11 -05:00
storage newdevice: Added detection and sensor support for EMC OneFS v8 (#6416) 2017-04-14 21:25:24 -05:00
vlans Disco / Poller tidy up + Added display of module mem usage (#5778) 2017-02-07 22:54:30 -06:00
applications.inc.php feature: Application auto discovery (#6143) 2017-03-22 14:59:39 +00:00
arp-table.inc.php fix: Updated ipv4/ipv6 discovery to exclude IPs with invalid port_ids (#6495) 2017-04-25 21:28:25 +01:00
bgp-peers.inc.php feature: Added better BGP support for Arista (#6046) 2017-03-11 23:16:49 +00:00
cisco-cbqos.inc.php Update code in includes to be PSR-2 compliant (#4220) 2016-08-28 18:32:58 +01:00
cisco-cef.inc.php Disco / Poller tidy up + Added display of module mem usage (#5778) 2017-02-07 22:54:30 -06:00
cisco-mac-accounting.inc.php Update code in includes to be PSR-2 compliant (#4220) 2016-08-28 18:32:58 +01:00
cisco-otv.inc.php Update code in includes to be PSR-2 compliant (#4220) 2016-08-28 18:32:58 +01:00
cisco-pw.inc.php feature: Add mysql failed query logging + fixed queries that break ONLY_FULL_GROUP_BY (#5327) 2017-01-07 11:32:38 -06:00
cisco-sla.inc.php Update code in includes to be PSR-2 compliant (#4220) 2016-08-28 18:32:58 +01:00
cisco-vrf-lite.inc.php refactor: Various Code Cleanup (#5777) 2017-02-05 22:37:08 +00:00
cisco-vrf.inc.php Disco / Poller tidy up + Added display of module mem usage (#5778) 2017-02-07 22:54:30 -06:00
discovery-arp.inc.php refactor: Moved ifLabel -> cleanPort and updated the usage (#6288) 2017-04-04 08:08:23 +01:00
discovery-protocols.inc.php feature: Update LLDP discovery to use IP address if discovery_by_ip is enabled #5872 2017-02-23 22:47:58 +00:00
entity-physical.inc.php Disco / Poller tidy up + Added display of module mem usage (#5778) 2017-02-07 22:54:30 -06:00
functions.inc.php newdevice: Added further health support for Netbotz devices (#6529) 2017-04-30 16:32:39 +00:00
hr-device.inc.php refactor: Various Code Cleanup (#5777) 2017-02-05 22:37:08 +00:00
ipv4-addresses.inc.php fix: Updated ipv4/ipv6 discovery to exclude IPs with invalid port_ids (#6495) 2017-04-25 21:28:25 +01:00
ipv6-addresses.inc.php fix: Updated ipv4/ipv6 discovery to exclude IPs with invalid port_ids (#6495) 2017-04-25 21:28:25 +01:00
junose-atm-vp.inc.php refactor: Centralize MIB include directory specification (#4603) 2016-09-28 14:19:28 +01:00
libvirt-vminfo.inc.php Add additional eventlog severity levels (#5879) 2017-02-13 22:32:02 +00:00
loadbalancers.inc.php newdevice: Added loadbalancer information from F5 LTM (#5205) 2017-01-19 08:19:11 +00:00
mef.inc.php newdevice: Added Coriant support (#6026) 2017-03-11 07:30:31 -06:00
mempools.inc.php Disco / Poller tidy up + Added display of module mem usage (#5778) 2017-02-07 22:54:30 -06:00
ntp.inc.php webui: Added Pagination and server side search via Ajax to NTP (#4330) 2016-09-04 16:32:03 +01:00
os.inc.php fix: inconsistent device discovery (#6518) 2017-04-28 22:50:00 +01:00
ports-stack.inc.php Disco / Poller tidy up + Added display of module mem usage (#5778) 2017-02-07 22:54:30 -06:00
ports.inc.php feature: Optional partial port polling (#5805) 2017-02-14 17:26:07 -06:00
processors-ucd-old.inc.php Add support for Kemp CPU (#5673) 2017-01-30 15:49:11 +00:00
processors.inc.php Add additional eventlog severity levels (#5879) 2017-02-13 22:32:02 +00:00
route.inc.php Update code in includes to be PSR-2 compliant (#4220) 2016-08-28 18:32:58 +01:00
sensors.inc.php refactor: only run pre-cache for the current OS (#6453) 2017-04-18 22:26:58 +01:00
services.inc.php Update code in includes to be PSR-2 compliant (#4220) 2016-08-28 18:32:58 +01:00
storage.inc.php Pretty up the discovery process output 2016-06-21 00:59:43 +01:00
stp.inc.php Add additional eventlog severity levels (#5879) 2017-02-13 22:32:02 +00:00
toner.inc.php fix: Ignore toners with values -2 which is unknown #5637 (#5654) 2017-01-31 08:07:50 +00:00
ucd-diskio.inc.php refactor: Update ucd-diskio discovery to use index + descr as unique identifies #4670 (#6270) 2017-03-28 01:42:56 -05:00
vlans.inc.php fix: vlan port mappings not removed (#6423) 2017-04-15 20:08:49 +01:00
vmware-vminfo.inc.php Add additional eventlog severity levels (#5879) 2017-02-13 22:32:02 +00:00
wireless.inc.php feature: Wireless Sensors Overhaul (#6471) 2017-05-01 23:49:11 -05:00