mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
app-ups-nut update 1
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
global $config;
|
||||
|
||||
//NET-SNMP-EXTEND-MIB::nsExtendOutLine.\"ups-nut\"
|
||||
$ups_model = snmp_get($device, '.1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.5', '-Oqv');
|
||||
$ups_serial = snmp_get($device, '.1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.6', '-Oqv');
|
||||
$ups_model = snmp_get($device, '.1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.4', '-Oqv');
|
||||
$ups_serial = snmp_get($device, '.1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.5', '-Oqv');
|
||||
$ups_details = $ups_model.' (SN:'.$ups_serial.')';
|
||||
|
||||
$graphs = array(
|
||||
|
Reference in New Issue
Block a user