librenms/includes
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
..
alerts fix: Corrected url in telegram alert transport (#6299) 2017-03-29 16:09:01 -05:00
caches Removed blank line 2016-09-15 20:15:32 +01:00
db Fix coding style part 2 2015-07-15 11:04:22 +02:00
definitions feature: Wireless Sensors Overhaul (#6471) 2017-05-01 23:49:11 -05:00
discovery feature: Wireless Sensors Overhaul (#6471) 2017-05-01 23:49:11 -05:00
polling feature: Wireless Sensors Overhaul (#6471) 2017-05-01 23:49:11 -05:00
services feature: Added check_mssql_health.inc.php for service checks (#6415) 2017-04-17 21:44:59 +01:00
snmptrap webui: New eventlog severity classification (#5830) 2017-02-12 22:41:05 +00:00
sql-schema refactor: schema updates (#6370) 2017-04-13 10:18:12 +01:00
alerts.inc.php fix: Fix alerts not honouring interval over 5m (#6438) 2017-04-17 20:08:52 -05:00
billing.php Update code in includes to be PSR-2 compliant (#4220) 2016-08-28 18:32:58 +01:00
callback.php improve callback serial number regex (#6435) 2017-04-16 07:42:22 +01:00
cisco-entities.php Fix coding style part 2 2015-07-15 11:04:22 +02:00
common.php feature: Wireless Sensors Overhaul (#6471) 2017-05-01 23:49:11 -05:00
datastore.inc.php feature: Send collected data to graphite server (#6201) 2017-03-22 10:35:44 -05:00
dbFacile.php feature: Wireless Sensors Overhaul (#6471) 2017-05-01 23:49:11 -05:00
defaults.inc.php feature: Wireless Sensors Overhaul (#6471) 2017-05-01 23:49:11 -05:00
definitions.inc.php feature: Added percent to ipmi definitions (#6505) 2017-04-26 18:08:03 +01:00
device-groups.inc.php some small updates (#6022) 2017-02-27 14:39:02 +00:00
functions.php feature: Wireless Sensors Overhaul (#6471) 2017-05-01 23:49:11 -05:00
graphite.inc.php feature: Send collected data to graphite server (#6201) 2017-03-22 10:35:44 -05:00
include-dir.inc.php refactor: Tidy up sensor discovery (#5550) 2017-02-03 06:39:38 -06:00
influxdb.inc.php refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
init.php Update database tests to prepare for more (#6500) 2017-04-26 07:56:00 -05:00
load_db_graph_types.inc.php Update code in includes to be PSR-2 compliant (#4220) 2016-08-28 18:32:58 +01:00
mergecnf.inc.php refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
notifications.php refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
port-descr-parser.inc.php refactor: Updated a lot of references to LibreNMS - copyright still left intact (#4339) 2016-09-08 08:12:23 -05:00
process_config.inc.php fix: Update OSTicket transport to use the from email address #5739 (#5927) 2017-03-03 18:22:33 +00:00
rewrites.php feature Location map regex replace pattern only (#6485) 2017-04-24 20:06:22 +01:00
rrdtool.inc.php feature: Allow customisation of rrd step/heartbeat when creating new rrd files (#5947) 2017-02-23 22:45:50 +00:00
services.inc.php feature: Allow customisation of rrd step/heartbeat when creating new rrd files (#5947) 2017-02-23 22:45:50 +00:00
snmp.inc.php feature: Added snmp_check() to decide if a device is up/down for snmp #5946 (#5948) 2017-02-23 22:47:18 +00:00
static-config.php Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02:00
syslog.php fix: syslog, pull out pam program source (#5942) 2017-02-21 08:40:16 -06:00
vmware_guestid.inc.php feature: Update Debian's guestId for VMware (#5669) 2017-01-30 14:41:14 +00:00