new sensors for siteboss OS + new sensor type: percentage (%) (#11958)

* split siteboss 530 and 550 into multiple OS

* add more sensors to siteboss550 and new Percent sensor

* fix contact closure event state values

* split os polling for siteboss to siteboss530 and siteboss550

* add test unit for siteboss550, rename test unit for siteboss to siteboss530

* refactor siteboss os polling to \Librenms\OS

* implement OSPolling to Sitebos550

* force save in pollOS() to keep custom sysName during polling

* updated unit test

* update device graphs

* remove pollOS and extra save()

* siteboss550 no longer extends OSPolling

* update siteboss550 test data

* update discoverOS() to match recent os discovery changes

* styleCI changes

* fix siteboss hardware discovery; add check to OS polling if os_group .inc file exists

* collapse siteboss to single OS, implement siteboss sensors in advanced discovery

* add siteboss unit tests

* removed unneeded OS disco defs

* styleCI changes

* more styleCI changes

* split siteboss os to siteboss530 and siteboss550

* split siteboss os to siteboss530 and siteboss550

* move php polling back into yaml

* keep original siteboss OS name

* resave snmp data for siteboss OS

* resave snmp data for siteboss550 OS
This commit is contained in:
Hayden
2020-10-20 17:11:12 -07:00
committed by GitHub
parent f822567186
commit 397a10e73f
24 changed files with 29129 additions and 274 deletions

View File

@@ -38,6 +38,7 @@ the values we expect to see the data in:
| temperature | C |
| voltage | V |
| waterflow | l/m |
| percent | % |
#### Simple health discovery
@@ -456,6 +457,7 @@ Chromatic_dispersion:
Ber:
Eer:
Waterflow:
Percent:
>> Runtime for discovery module 'sensors': 3.9340 seconds with 190024 bytes
>> SNMP: [16/3.89s] MySQL: [36/0.03s] RRD: [0/0.00s]