mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -173,4 +173,10 @@ return [
|
||||
'unit' => 'l/m',
|
||||
'unit_long' => 'Liters Per Minute',
|
||||
],
|
||||
'percent' => [
|
||||
'short' => 'Percent',
|
||||
'long' => 'Percent',
|
||||
'unit' => '%',
|
||||
'unit_long' => 'Percent',
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user