mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
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:
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
if (!$os) {
|
||||
// Eaton UPS
|
||||
if (strstr($sysDescr, 'Eaton 5PX')) {
|
||||
$os = 'eatonups';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user