0) { $hardware .= '(' . $data[0]['upsESystemConfigOutputVA'] . 'VA)'; } } if ($data = snmp_get_multi_oid($device, 'upsEIdentityDescription.0 upsEIdentityUPSFirmwareVerison.0 upsEIdentityAgentSoftwareVerison.0', [], 'EPPC-MIB')) { $version = $data[0]['upsEIdentityDescription'] . ' UPS: ' . $data[0]['upsEIdentityUPSFirmwareVerison'] . ' Firmware: ' . $data[0]['upsEIdentityAgentSoftwareVerison']; if (version_compare($data[0]['upsEIdentityAgentSoftwareVerison'], '3.1.0.0', '<')) { // See: https://jira.observium.org/browse/OBS-4369 $vendor = 'Eaton'; } } //if ($data = snmp_get_multi_oid($device, 'upsESystemStatus.0 upsEBatteryTestResult.0', [], 'EPPC-MIB')) { // $features = 'Status: ' . strtoupper($data[0]['upsESystemStatus'] . ' ' . $data[0]['upsEBatteryTestResult']); //} } else { $hardware = 'EPPC - Unknown NMC Card'; } // EOF