New file eatonups.inc.php for Eaton UPS discovery

I added this file in my local LibreNMS installation to discover my Eaton 5PX UPS. An other file is also needed :
librenms/includes/discovery/sensors/current/eatonups.inc.php
This commit is contained in:
GeorgesDick
2016-02-23 10:50:18 +01:00
parent 0a51c0500a
commit 61a5a46e94
+7
View File
@@ -0,0 +1,7 @@
<?php
if (!$os) {
// Eaton UPS
if (strstr($sysDescr, 'Eaton 5PX')) {
$os = 'eatonups';
}
}