mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
support for Marathon based UPSs
This commit is contained in:
@ -1,5 +0,0 @@
|
||||
<?php
|
||||
|
||||
$data = snmp_get_multi($device, 'upsIdentModel.0 upsIdentUPSSoftwareVersion.0 upsIdentName.0', '-OQU', 'UPS-MIB');
|
||||
$hardware = $data[0]['UPS-MIB::upsIdentModel'];
|
||||
$version = $data[0]['UPS-MIB::upsIdentUPSSoftwareVersion'];
|
Reference in New Issue
Block a user