2010-07-30 22:26:55 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
# DeltaUPS-MIB::dupsIdentManufacturer.0 = STRING: "Socomec"
|
|
|
|
# DeltaUPS-MIB::dupsIdentModel.0 = STRING: "NETYS RT 1/1 UPS"
|
2016-09-28 08:19:28 -05:00
|
|
|
$hardware = trim(snmp_get($device, "dupsIdentManufacturer.0", "-OQv", "DeltaUPS-MIB"), '" ');
|
|
|
|
$hardware .= ' ' . trim(snmp_get($device, "dupsIdentModel.0", "-OQv", "DeltaUPS-MIB"), '" ');
|
2010-07-30 22:26:55 +00:00
|
|
|
|
|
|
|
# DeltaUPS-MIB::dupsIdentUPSSoftwareVersion.0 = STRING: "0.4"
|
2016-09-28 08:19:28 -05:00
|
|
|
$version = trim(snmp_get($device, "dupsIdentUPSSoftwareVersion.0", "-OQv", "DeltaUPS-MIB"), '" ');
|
2010-07-30 22:26:55 +00:00
|
|
|
|
|
|
|
# DeltaUPS-MIB::dupsIdentAgentSoftwareVersion.0 = STRING: "2.0h "
|