diff --git a/LibreNMS/OS/Netsure.php b/LibreNMS/OS/Netsure.php new file mode 100644 index 0000000000..7585dd46b5 --- /dev/null +++ b/LibreNMS/OS/Netsure.php @@ -0,0 +1,38 @@ +. + * + * @package LibreNMS + * @link http://librenms.org + * @author Craig Harris + */ + +namespace LibreNMS\OS; + +use LibreNMS\Interfaces\Discovery\OSDiscovery; +use LibreNMS\OS; + +class Netsure extends OS implements OSDiscovery +{ + public function discoverOS(): void + { + $device = $this->getDeviceModel(); + $info = snmp_getnext_multi($this->getDevice(), 'vecFirmwareVersion', '-OQUs', 'VEC-MIBv5-9'); + $device->version = $info['vecFirmwareVersion']; + } +} diff --git a/includes/common.php b/includes/common.php index 84c23bf433..a0463a63f5 100644 --- a/includes/common.php +++ b/includes/common.php @@ -1183,6 +1183,7 @@ function fahrenheit_to_celsius($value, $scale = 'fahrenheit') * @param string $scale fahrenheit or celsius * @return string (containing a float) */ + function celsius_to_fahrenheit($value, $scale = 'celsius') { if ($scale === 'celsius') { @@ -1191,6 +1192,15 @@ function celsius_to_fahrenheit($value, $scale = 'celsius') return sprintf('%.02f', $value); } +/** + * Converts string to float + * + */ +function string_to_float($value) +{ + return sprintf('%.02f', $value); +} + /** * Converts uW to dBm * $value must be positive diff --git a/includes/definitions/discovery/netsure.yaml b/includes/definitions/discovery/netsure.yaml new file mode 100644 index 0000000000..11d5330c2b --- /dev/null +++ b/includes/definitions/discovery/netsure.yaml @@ -0,0 +1,64 @@ +mib: VEC-MIBv5-9 +modules: + sensors: + state: + data: + - + oid: psHighestSeverityLevel + num_oid: '.1.3.6.1.4.1.885.3.2.1.10.0' + descr: 'System Status' + states: + - { descr: normal, graph: 1, value: 0, generic: 0 } + - { descr: minor, graph: 1, value: 1, generic: 1 } + - { descr: major, graph: 1, value: 2, generic: 2 } + voltage: + data: + - + oid: psSenseVoltage + num_oid: '.1.3.6.1.4.1.885.3.2.1.5.{{ $index }}' + index: 'psSenseVoltage.{{ $index }}' + descr: 'Sense DC Voltage' + low_limit: 45.0 + low_warn_limit: 50.0 + warn_limit: 56.5 + high_limit: 58.0 + - + oid: psSystemVoltage + num_oid: '.1.3.6.1.4.1.885.3.2.1.1.{{ $index }}' + index: 'psSystemVoltage.{{ $index }}' + descr: 'System DC Voltage' + low_limit: 45.0 + low_warn_limit: 50.0 + warn_limit: 56.5 + high_limit: 58.0 + current: + data: + - + oid: psSystemCurrent + num_oid: '.1.3.6.1.4.1.885.3.2.1.2.{{ $index }}' + index: 'psSystemCurrent.{{ $index }}' + descr: 'System Current' + - + oid: psPCUTotalCurrent + num_oid: '.1.3.6.1.4.1.885.3.2.1.6.{{ $index }}' + index: 'psPCUTotalCurrent.{{ $index }}' + descr: 'Total PCU Current' + user_func: string_to_float + - + oid: psBatteryCurrent + num_oid: '.1.3.6.1.4.1.885.3.2.1.7.{{ $index }}' + index: 'psBatteryCurrent.{{ $index }}' + descr: 'Total Battery Current' + user_func: string_to_float + - + oid: psDistributionTable + num_oid: '.1.3.6.1.4.1.885.3.2.4.1.2.{{ $index }}' + value: psShuntCurrent + index: 'psShuntCurrent.{{ $index }}' + descr: 'Shunt Current #{{ $index }}' + user_func: string_to_float + - + oid: psPCUCurrent + num_oid: '.1.3.6.1.4.1.885.3.2.5.1.3.{{ $index }}' + index: 'psPCUCurrent.{{ $index }}' + descr: 'PCU Current #{{ $index }}' diff --git a/includes/definitions/netsure.yaml b/includes/definitions/netsure.yaml new file mode 100644 index 0000000000..b67487e635 --- /dev/null +++ b/includes/definitions/netsure.yaml @@ -0,0 +1,40 @@ +os: netsure +text: 'Emerson Netsure' +type: power +icon: emerson +over: + - { graph: device_current, text: Current } + - { graph: device_voltage, text: Voltage } + - { graph: device_state, text: State } +mib_dir: emerson +discovery: + - + sysObjectID: + - .1.3.6.1.4.1.885.3 +discovery_modules: + storage: false + bgp-peers: false + ntp: false + stp: false + diskio: false + vlans: false + arp-table: false + discovery-protocols: false + hr-device: false + mempools: false + entity-physical: false + ports-stack: false + ucd-diskio: false + processors: false + mpls: false + wireless: false + fdb-table: false + services: false + cisco-vrf-lite: false +poller_modules: + ospf: false + ntp: false + services: false + storage: false + ucd-diskio: false + mpls: false diff --git a/mibs/emerson/VEC-MIBv5-9 b/mibs/emerson/VEC-MIBv5-9 new file mode 100644 index 0000000000..d15fa9d92d --- /dev/null +++ b/mibs/emerson/VEC-MIBv5-9 @@ -0,0 +1,1132 @@ +-- ***************************************************************************** +-- FILE NAME : mca.mib +-- DATE : December 20, 2004 +-- AUTHOR : Greg Saltis +-- PROJECT : Vortex Ethernet Card +-- PUBLIC : +-- PRIVATE : +-- COPYRIGHT : Copyright (C) 2004 by Emerson Network Power +-- ****************************************************************************** + +-- ****************************************************************************** +-- MODIFICATION HISTORY +-- +-- v1.0.0.0 09-06-04 grs New File. +-- v1.0.0.1 12-20-04 grs Add Modification history +-- Add +-- vecMCAInformation +-- vecMCAMessageRequests +-- vecMCAMessageTransmissions +-- vecMCAMessageTransmissions +-- vecMCAMessageBadCRCs +-- vecMCAMessageLinkErrors +-- vecMCAMessagePartialResponses +-- vecMCAMessageWrongPackets +-- v1.0.0.2 01-29-05 gp +-- Add +-- vecMCAMessageErrorReplies +-- Remove +-- vecAlarmLVDAlarm +-- vecAlarmPCUFailAlarm +-- vecAlarmAudibleAlarmsAreQuiet +-- vecAlarmACFail +-- vecAlarmPasswordHasBeenViewed +-- vecAlarmAudibleRelayDeEnergized +-- v1.0.0.3 07-05-05 gp +-- Add vecAnalogBatteryReserveHours +-- +-- v2.0.0.3 07-12-05 gp +-- Add +-- vecAlarmBatteryPoorHealth +-- vecAlarmBatteryReserveLow +-- +-- Grouped all battery related traps together. +-- +-- v2.0.0.4 10-05-05 gp +-- Add versioning mechanism to MIB. Version information is +-- added to DEFINITIONS statement as follows: +-- VEC-MIBvX DEFINITIONS ::= +-- +-- v3.0 10-31-05 gp +-- Add +-- vecHVSActive +-- vecRemoteHVSActive +-- vecRemoteEstopActive +-- +-- v4.0 12-13-05 gp +-- Changed company name +-- Revamped to highlight power system information. +-- +-- 12-15-05 gp +-- Corrected incorrect labeling for PCU Total current. +-- +-- v5.0 12-16-05 gp +-- VEC no longer issues traps for the following MCA alarm conditions: +-- general LVD No Reply alarm +-- general LVD Board Fail alarm +-- general Temperature Sensor Hi or Lo alarm +-- general Temperature Sensor High alarm +-- general Temperature Sensor Low alarm +-- general Temperature Sensor No Reply alarm +-- general Shunt Type alarm +-- general Shunt No Reply alarm +-- +-- v5.1 8-04-08 jws +-- Update IMPORTS +-- Added module identity +-- Removed SIZE clause +-- +-- v5.4 9-22-08 jws +-- Changed trap object tables to NOTIFICATION-TYPE +-- +-- v5.5 9-23-08 jws +-- Typo correction on psAlarmSysInfoString2 +-- +-- v5.6 10-01-08 gp +-- Corrected vecMIB OID. Replaced references to vec OID with vecMIB. +-- +-- v5.7 02-11-11 gp +-- Add +-- psAlarm +-- psHighestSeverityLevel +-- psTemperatureAlarmStatus +-- psLVDCircuitAAlarmStatus +-- psLVDCircuitBAlarmStatus +-- psShuntAlarmStatus +-- +-- +-- v5.7 08-28-12 jws +-- Corrected Syntax error invalues of INTEGER +-- spaces removed +-- ****************************************************************************** + +VEC-MIBv5-9 DEFINITIONS ::= +BEGIN + + IMPORTS + MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, + Integer32, Counter32, enterprises + FROM SNMPv2-SMI + TEXTUAL-CONVENTION, DisplayString, DateAndTime + FROM SNMPv2-TC; + +vecMIB MODULE-IDENTITY + LAST-UPDATED "201401140823Z" + ORGANIZATION " + Emerson Energy Systems North America (ESNA)" + CONTACT-INFO " + Emerson Energy Systems North America + 1510 Kansas Ave. + Lorain, OH 44052 + USA " + DESCRIPTION " + Emerson Energy Systems North America(ESNA) VEC MIB. revision 5.9" + + ::= { enterprises 885 3 } + +-- OBJECTS + emersonESNA OBJECT IDENTIFIER ::= { enterprises 885 } + + vecInformation OBJECT IDENTIFIER ::= { vecMIB 1 } + vecMessageStats OBJECT IDENTIFIER ::= { vecInformation 2 } + psStatus OBJECT IDENTIFIER ::= { vecMIB 2 } + psMeasurement OBJECT IDENTIFIER ::= { psStatus 1 } + psTraps OBJECT IDENTIFIER ::= { vecMIB 3 } + psAlarmsGeneral1 OBJECT IDENTIFIER ::= { psTraps 1 } + psAlarmsGeneral2 OBJECT IDENTIFIER ::= { psTraps 2 } + psAlarmsBattery OBJECT IDENTIFIER ::= { psTraps 3 } + +-- ENTRIES + + vecFirmwareVersion OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "VEC System Firmware Version." + ::= { vecInformation 1} + + vecMessageRequests OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total number of message requests." + ::= { vecMessageStats 1 } + + vecMessageTransmissions OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total number of messages transmitted." + ::= { vecMessageStats 2 } + + vecMessageNoResponses OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total number of no responses." + ::= { vecMessageStats 3 } + + vecMessageBadCRCs OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total number of bad CRC checks." + ::= { vecMessageStats 4 } + + vecMessageLinkErrors OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total number of link errors." + ::= { vecMessageStats 5 } + + vecMessagePartialResponses OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total number of partial responses received." + ::= { vecMessageStats 6 } + + vecMessageWrongPackets OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total number of wrong packet numbers detected." + ::= { vecMessageStats 7 } + + vecMessageErrorReplies OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total number of error responses received." + ::= { vecMessageStats 8 } + + psSystemVoltage OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "System Voltage." + ::= { psMeasurement 1} + + psSystemCurrent OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "System Current." + ::= { psMeasurement 2} + + psSubsystemVoltage OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Sub System Voltage." + ::= { psMeasurement 3} + + psSubsystemCurrent OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Sub System Current." + ::= { psMeasurement 4} + + psSenseVoltage OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Sense Voltage." + ::= { psMeasurement 5} + + psPCUTotalCurrent OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total PCU Current." + ::= { psMeasurement 6} + + psBatteryCurrent OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Total Battery Current." + ::= { psMeasurement 7} + + psBatteryReserveHours OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Battery Reserve Time." + ::= { psMeasurement 8} + + psAlarm OBJECT-TYPE + SYNTAX INTEGER { + false(0), + true(1) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A Power System Alarm Is Active." + ::= { psMeasurement 9 } + + psHighestSeverityLevel OBJECT-TYPE + SYNTAX INTEGER { + normal(0), + minor(1), + major(2) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The severity level is the highest active alarm level. + Values: 0 = Normal, 1 = Minor, 2 = Major" + ::= { psMeasurement 10} + + psNumberOfPCUsInstalled OBJECT-TYPE + SYNTAX Integer32(0..80) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of PCUs installed" + ::= { psMeasurement 11} + + psNumberOfPCUsCommunicating OBJECT-TYPE + SYNTAX Integer32(0..80) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of PCUs communicating" + ::= { psMeasurement 12} + + psTemperatureTable OBJECT-TYPE + SYNTAX SEQUENCE OF PSTemperatureEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Temperature Measurement Table." + ::= { psStatus 2 } + + psTemperatureEntry OBJECT-TYPE + SYNTAX PSTemperatureEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Temperature Measurement Table Entry." + INDEX { psTemperatureIndex } + ::= { psTemperatureTable 1 } + + PSTemperatureEntry ::= SEQUENCE { + psTemperatureIndex Integer32, + psTemperatureMeasurement DisplayString, + psTemperatureAlarmStatus Integer32 + } + + psTemperatureIndex OBJECT-TYPE + SYNTAX Integer32(1..8) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Temperature Probe Number " + ::= { psTemperatureEntry 1 } + + psTemperatureMeasurement OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Temperature Value In Centigrade." + ::= { psTemperatureEntry 2 } + + psTemperatureAlarmStatus OBJECT-TYPE + SYNTAX INTEGER { + high(0), + low(1), + noreply(2), + none(3) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Temperature Probe Alarm Status " + ::= { psTemperatureEntry 3 } + + psLVDTable OBJECT-TYPE + SYNTAX SEQUENCE OF PSLVDEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Low Voltage Disconnect Table." + ::= { psStatus 3 } + + psLVDEntry OBJECT-TYPE + SYNTAX PSLVDEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Low Voltage Disconnect Table Entry." + INDEX { psLVDIndex } + ::= { psLVDTable 1 } + + PSLVDEntry ::= SEQUENCE { + psLVDIndex Integer32, + psLVDCircuitA DisplayString, + psLVDCircuitB DisplayString, + psLVDCircuitAAlarmStatus Integer32, + psLVDCircuitBAlarmStatus Integer32 + } + + psLVDIndex OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "LVD Number " + ::= { psLVDEntry 1 } + + psLVDCircuitA OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "LVD Circuit A Disconnect Voltage " + ::= { psLVDEntry 2 } + + psLVDCircuitB OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "LVD Circuit B Disconnect Voltage " + ::= { psLVDEntry 3 } + + psLVDCircuitAAlarmStatus OBJECT-TYPE + SYNTAX INTEGER { + disconnected(0), + noreply(1), + boardfail(2), + none(3) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "LVD Circuit A Alarm Status " + ::= { psLVDEntry 4 } + + psLVDCircuitBAlarmStatus OBJECT-TYPE + SYNTAX INTEGER { + disconnected(0), + noreply(1), + boardfail(2), + none(3) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "LVD Circuit B Alarm Status " + ::= { psLVDEntry 5 } + + psDistributionTable OBJECT-TYPE + SYNTAX SEQUENCE OF PSShuntEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Shunt Pod Table" + ::= { psStatus 4 } + + psShuntEntry OBJECT-TYPE + SYNTAX PSShuntEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Shunt Pod Table Entry." + INDEX { psShuntIndex } + ::= { psDistributionTable 1 } + + PSShuntEntry ::= SEQUENCE { + psShuntIndex Integer32, + psShuntCurrent DisplayString, + psShuntAlarmStatus Integer32, + psShuntType Integer32 + } + + psShuntIndex OBJECT-TYPE + SYNTAX Integer32(1..16) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Shunt Pod Number." + ::= { psShuntEntry 1 } + + psShuntCurrent OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Shunt POD Current." + ::= { psShuntEntry 2 } + + psShuntAlarmStatus OBJECT-TYPE + SYNTAX INTEGER { + type(0), + noreply(1), + none(2) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Shunt POD Alarm Status. + Values: 0 = Type, 1 = No Reply, 2 = No Alarm" + ::= { psShuntEntry 3 } + + psShuntType OBJECT-TYPE + SYNTAX INTEGER { + system(1), + subsystem(2), + battery(3) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Shunt POD Alarm Status. + Values: 0 = System, 1 = Subsystem, 2 = Battery" + ::= { psShuntEntry 4 } + + psPCUTable OBJECT-TYPE + SYNTAX SEQUENCE OF PSPCUEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "PCU Table." + ::= { psStatus 5 } + + psPCUEntry OBJECT-TYPE + SYNTAX PSPCUEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "PCU Table Entry." + INDEX { psPCUIndex } + ::= { psPCUTable 1 } + + PSPCUEntry ::= SEQUENCE { + psPCUIndex Integer32, + psPCUFail Integer32, + psPCUCurrent Integer32, + psPCUFerroGateway Integer32, + psPCUProductNumber DisplayString, + psPCUSWVersion DisplayString, + psPCUSerialNumber DisplayString, + psPCUCapacity DisplayString + } + + psPCUIndex OBJECT-TYPE + SYNTAX Integer32(1..80) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "PCU Number." + ::= { psPCUEntry 1 } + + psPCUFail OBJECT-TYPE + SYNTAX INTEGER { + false(0), + true(1) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "PCU Fail Alarm" + ::= { psPCUEntry 2 } + + psPCUCurrent OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "PCU Current" + ::= { psPCUEntry 3 } + + psPCUFerroGateway OBJECT-TYPE + SYNTAX INTEGER { + false(0), + true(1) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "PCU is a Ferro Gateway Rectifier." + ::= { psPCUEntry 4 } + + psPCUProductNumber OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Rectifier Product Number." + ::= { psPCUEntry 5} + + psPCUSWVersion OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Rectifier Software Revision." + ::= { psPCUEntry 6} + + psPCUSerialNumber OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Rectifier Serial Number." + ::= { psPCUEntry 7} + + psPCUCapacity OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Rectifier Rated Current" + ::= { psPCUEntry 8 } + + psEmergencyStop NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Emergency Stop Alarm." + ::= { psAlarmsGeneral1 1 } + + psAlarmVeryLowVoltage NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "50 Percent Battery On Discharge Alarm." + ::= { psAlarmsGeneral1 2 } + + psAlarmLowVoltage NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Battery On Discharge Alarm." + ::= { psAlarmsGeneral1 3 } + + psAlarmSystemHighVoltage1 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "High Voltage 1 Alarm." + ::= { psAlarmsGeneral1 4 } + + psAlarmSystemHighVoltage2 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "High Voltage 2 Alarm." + ::= { psAlarmsGeneral1 5 } + + psAlarmSubsystemLowVoltage NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Subsystem Low Voltage Alarm." + ::= { psAlarmsGeneral1 6 } + + psAlarmSubsystemHighVoltage NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Subsystem High Voltage Alarm." + ::= { psAlarmsGeneral1 7 } + + psAlarmSystemFuse NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "System Fuse Alarm." + ::= { psAlarmsGeneral1 8 } + + psAlarmSubsystemFuse NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Subsystem Fuse Alarm." + ::= { psAlarmsGeneral1 9 } + + psAlarmAllACOff NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "All AC Off Alarm." + ::= { psAlarmsGeneral1 10 } + + psAlarmSystemOverCurrent NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "System Over Current Alarm." + ::= { psAlarmsGeneral1 11 } + + psAlarmSubsystemOverCurrent NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Subsystem Over Current Alarm." + ::= { psAlarmsGeneral1 12 } + + psAlarmLVDsAreInhibited NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "LVDs Are Inhibited Alarm." + ::= { psAlarmsGeneral1 13 } + + psAlarmTestEqualizeMode NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Test/Equalize Mode Active." + ::= { psAlarmsGeneral1 14 } + + psAlarmMinor NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "System Minor Alarm." + ::= { psAlarmsGeneral1 15 } + + psAlarmMajor NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "System Major Alarm." + ::= { psAlarmsGeneral1 16 } + + psAlarmSenseVoltageFuse NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Sense Voltage Fuse Alarm." + ::= { psAlarmsGeneral1 17 } + + psAlarmSystemVoltageFuse NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "System Voltage Fuse Alarm." + ::= { psAlarmsGeneral1 18 } + + psAlarmNoSystemVoltage NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "No System Voltage Alarm." + ::= { psAlarmsGeneral1 19 } + + psAlarmNoSubsystemVoltage NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "No Subsystem Voltage Alarm." + ::= { psAlarmsGeneral1 20 } + + psAlarmNoSenseVoltage NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "No Sense Voltage Alarm." + ::= { psAlarmsGeneral1 21 } + + psAlarmDisplayNoReply NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Display Communications Alarm." + ::= { psAlarmsGeneral1 22 } + + psAlarmSubsystemMajor NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Subsystem Major Alarm." + ::= { psAlarmsGeneral1 23 } + + psAlarmSubsystemMinor NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Subsystem Minor Alarm." + ::= { psAlarmsGeneral1 24 } + + psAlarmHighACLine NOTIFICATION-TYPE + STATUS current + DESCRIPTION + " High AC Line Alarm." + ::= { psAlarmsGeneral1 25 } + + psAlarmSenseVoltageError NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Sense Voltage Error Alarm." + ::= { psAlarmsGeneral1 26 } + + psTestEqualizeHardwareInput NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "The MCA Test Equalize Hardware Input Active." + ::= { psAlarmsGeneral2 1 } + + psPCUFailMajor NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Fail Major Alarm." + ::= { psAlarmsGeneral2 2 } + + psPCUFailMinor NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Fail Minor Alarm." + ::= { psAlarmsGeneral2 3 } + + psLVDAlarmMajor NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "LVD Major Alarm." + ::= { psAlarmsGeneral2 4 } + + psLVDAlarmMinor NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "LVD Minor Alarm." + ::= { psAlarmsGeneral2 5 } + + psPCULoadShare NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Load Share Alarm." + ::= { psAlarmsGeneral2 6 } + + psACFailMajor NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "AC Fail Major Alarm." + ::= { psAlarmsGeneral2 7 } + + psACFailMinor NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "AC Fail Minor Alarm." + ::= { psAlarmsGeneral2 8 } + + psMCACommFail NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "MCA Communications Failure Alarm." + ::= { psAlarmsGeneral2 9 } + + psHVSActive NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "High Voltage Shutdown Active." + ::= { psAlarmsGeneral2 10 } + + psRemoteHVSActive NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Remote High Voltage Shutdown Active." + ::= { psAlarmsGeneral2 11 } + + psRemoteEstopActive NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Remote Emergency Stop Active." + ::= { psAlarmsGeneral2 12 } + + psAlarmBatteryChargeOverCurrent NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Battery Charge Over Current Alarm." + ::= { psAlarmsBattery 1 } + + psBatteryCurrentLimitInhibited NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Battery Current Limit Inhibited Alarm." + ::= { psAlarmsBattery 2 } + + psAlarmBatteryPoorHealth NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Battery Poor Health Alarm." + ::= { psAlarmsBattery 3 } + + psAlarmBatteryReserveLow NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Battery Reserve Low Alarm." + ::= { psAlarmsBattery 4 } + +psPCUSummaryTypeTraps OBJECT IDENTIFIER ::= { psTraps 4 } +psPCUSummaryTraps OBJECT IDENTIFIER ::= { psPCUSummaryTypeTraps 1 } + + psAlarmPCUSummary NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Alarm Active." + ::= { psPCUSummaryTraps 2 } + +psPCUNodeTypeTraps OBJECT IDENTIFIER ::= { psTraps 5 } +psPCUTraps OBJECT IDENTIFIER ::= { psPCUNodeTypeTraps 1 } + + psAlarmPCUId OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "PCU Number." + ::= { psPCUTraps 1 } + + psAlarmPCUHighACLine NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU High AC Line Alarm." + ::= { psPCUTraps 2 } + + psAlarmPCUControllerFailure NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Controller Failure Alarm." + ::= { psPCUTraps 3 } + + psAlarmPCUFanSlowOrStopped NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Fan Slow Or Stopped Alarm." + ::= { psPCUTraps 4 } + + psAlarmPCUTurnedOffByMca NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Turned Off By MCA." + ::= { psPCUTraps 5 } + + psAlarmPCUCircuitBreakerOff NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Circuit Breaker Off Alarm." + ::= { psPCUTraps 6 } + + psAlarmPCUDCorACConvertFail NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Converter Fail Alarm." + ::= { psPCUTraps 7 } + + psAlarmPCUThermalAlarmorCurrentLimit NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Thermal Current Limit Alarm." + ::= { psPCUTraps 8 } + + psAlarmPCUEmergencyStop NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Emergency Stop Alarm." + ::= { psPCUTraps 9 } + + psAlarmPCUInputSwitchOff NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Input Switch Off Alarm." + ::= { psPCUTraps 10 } + + psAlarmPCUHighVoltageShutdown NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU High Voltage Shutdown Alarm." + ::= { psPCUTraps 11 } + + psAlarmPCUACInputIsOffOrLow NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU AC Input Is Off Or Low Alarm." + ::= { psPCUTraps 12 } + + psAlarmPCUCommunicationFailureWithMCA NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Communication Failure Alarm." + ::= { psPCUTraps 13 } + + psAlarmPCUSenseLeadOpen NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "PCU Sense Lead Open Alarm." + ::= { psPCUTraps 14 } + +psShuntTypeTraps OBJECT IDENTIFIER ::= { psTraps 6 } +psShuntTraps OBJECT IDENTIFIER ::= { psShuntTypeTraps 1 } + + psAlarmShuntId OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Shunt POD Number." + ::= { psShuntTraps 1 } + + psAlarmShuntType NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Shunt POD Type Alarm." + ::= { psShuntTraps 2 } + + psAlarmShuntNoReply NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Shunt POD Communications Alarm." + ::= { psShuntTraps 3 } + + +psLVDTypeTraps OBJECT IDENTIFIER ::= { psTraps 7 } +psLVDTraps OBJECT IDENTIFIER ::= { psLVDTypeTraps 1 } + + psAlarmLVDId OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The Analog LVD Number " + ::= { psLVDTraps 1 } + + psAlarmLVDDisconnectedA NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "LVD Circuit A Disconnected Alarm." + ::= { psLVDTraps 2 } + + psAlarmLVDNoReplyA NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "LVD Circuit A Communications Alarm." + ::= { psLVDTraps 3 } + + psAlarmLVDBoardFailA NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "LVD Board Circuit A Fail Alarm." + ::= { psLVDTraps 4 } + + psAlarmLVDDisconnectedB NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "LVD Circuit B Disconnected Alarm." + ::= { psLVDTraps 5 } + + psAlarmLVDNoReplyB NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "LVD Circuit B No Communications Alarm." + ::= { psLVDTraps 6 } + + psAlarmLVDBoardFailB NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "LVD Board Circuit B Fail Alarm." + ::= { psLVDTraps 7 } + +psTemperatureTypeTraps OBJECT IDENTIFIER ::= { psTraps 8 } +psTemperatureTraps OBJECT IDENTIFIER ::= { psTemperatureTypeTraps 1 } + + psAlarmTemperatureId OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Temperature Probe Number." + ::= { psTemperatureTraps 1 } + + psAlarmTemperatureHigh NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Temperature High Alarm." + ::= { psTemperatureTraps 2 } + + psAlarmTemperatureLow NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Temperature Low Alarm." + ::= { psTemperatureTraps 3 } + + psAlarmTemperatureNoReply NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "Temperature Communications Alarm." + ::= { psTemperatureTraps 4 } + +psSysInfoTypeTraps OBJECT IDENTIFIER ::= { psTraps 9 } +psSysInfoTraps OBJECT IDENTIFIER ::= { psSysInfoTypeTraps 1 } + + psAlarmSysInfoError1 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo Error 1." + ::= { psSysInfoTraps 1 } + + psAlarmSysInfoError2 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo Error 2." + ::= { psSysInfoTraps 2 } + + psAlarmSysInfoString1 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo String 1." + ::= { psSysInfoTraps 3 } + + psAlarmSysInfoString2 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo String 2." + ::= { psSysInfoTraps 4 } + + psAlarmSysInfoString3 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo String 3." + ::= { psSysInfoTraps 5 } + + psAlarmSysInfoString4 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo String 4." + ::= { psSysInfoTraps 6 } + + psAlarmSysInfoString5 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo String 5." + ::= { psSysInfoTraps 7 } + + psAlarmSysInfoString6 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo String 6." + ::= { psSysInfoTraps 8 } + + psAlarmSysInfoString7 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo String 7." + ::= { psSysInfoTraps 9 } + + psAlarmSysInfoString8 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo String 8." + ::= { psSysInfoTraps 10 } + + psAlarmSysInfoString9 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo String 9." + ::= { psSysInfoTraps 11 } + + psAlarmSysInfoString10 NOTIFICATION-TYPE + STATUS current + DESCRIPTION + "SysInfo String 10." + ::= { psSysInfoTraps 12 } +END diff --git a/tests/data/netsure.json b/tests/data/netsure.json new file mode 100644 index 0000000000..b3c350e216 --- /dev/null +++ b/tests/data/netsure.json @@ -0,0 +1,2134 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.885.3", + "sysDescr": "Emerson Vortex Power System", + "sysContact": null, + "version": "4.0.0.1", + "hardware": null, + "features": null, + "os": "netsure", + "type": "power", + "serial": null, + "icon": "emerson.svg", + "location": null + } + ] + }, + "poller": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.885.3", + "sysDescr": "Emerson Vortex Power System", + "sysContact": "", + "version": "4.0.0.1", + "hardware": null, + "features": null, + "os": "netsure", + "type": "power", + "serial": null, + "icon": "emerson.svg", + "location": "" + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.1.7.0", + "sensor_index": "psBatteryCurrent.0", + "sensor_type": "netsure", + "sensor_descr": "Total Battery Current", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "string_to_float", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.1", + "sensor_index": "psPCUCurrent.1", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 20, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.10", + "sensor_index": "psPCUCurrent.10", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #10", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.11", + "sensor_index": "psPCUCurrent.11", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #11", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.12", + "sensor_index": "psPCUCurrent.12", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #12", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.13", + "sensor_index": "psPCUCurrent.13", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #13", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.14", + "sensor_index": "psPCUCurrent.14", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #14", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.15", + "sensor_index": "psPCUCurrent.15", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #15", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.16", + "sensor_index": "psPCUCurrent.16", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #16", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.17", + "sensor_index": "psPCUCurrent.17", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #17", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.18", + "sensor_index": "psPCUCurrent.18", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #18", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.19", + "sensor_index": "psPCUCurrent.19", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #19", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.2", + "sensor_index": "psPCUCurrent.2", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.20", + "sensor_index": "psPCUCurrent.20", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #20", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 20, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.21", + "sensor_index": "psPCUCurrent.21", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #21", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.22", + "sensor_index": "psPCUCurrent.22", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #22", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.23", + "sensor_index": "psPCUCurrent.23", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #23", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.24", + "sensor_index": "psPCUCurrent.24", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #24", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.25", + "sensor_index": "psPCUCurrent.25", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #25", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.26", + "sensor_index": "psPCUCurrent.26", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #26", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.27", + "sensor_index": "psPCUCurrent.27", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #27", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.28", + "sensor_index": "psPCUCurrent.28", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #28", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 23, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.29", + "sensor_index": "psPCUCurrent.29", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #29", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.3", + "sensor_index": "psPCUCurrent.3", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.30", + "sensor_index": "psPCUCurrent.30", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #30", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.31", + "sensor_index": "psPCUCurrent.31", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #31", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.32", + "sensor_index": "psPCUCurrent.32", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #32", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.33", + "sensor_index": "psPCUCurrent.33", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #33", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.34", + "sensor_index": "psPCUCurrent.34", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #34", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.35", + "sensor_index": "psPCUCurrent.35", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #35", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.36", + "sensor_index": "psPCUCurrent.36", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #36", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.4", + "sensor_index": "psPCUCurrent.4", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.41", + "sensor_index": "psPCUCurrent.41", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #41", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.42", + "sensor_index": "psPCUCurrent.42", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #42", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.43", + "sensor_index": "psPCUCurrent.43", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #43", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.44", + "sensor_index": "psPCUCurrent.44", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #44", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.45", + "sensor_index": "psPCUCurrent.45", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #45", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.46", + "sensor_index": "psPCUCurrent.46", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #46", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 20, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.47", + "sensor_index": "psPCUCurrent.47", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #47", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.48", + "sensor_index": "psPCUCurrent.48", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #48", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.49", + "sensor_index": "psPCUCurrent.49", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #49", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.5", + "sensor_index": "psPCUCurrent.5", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #5", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.50", + "sensor_index": "psPCUCurrent.50", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #50", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.51", + "sensor_index": "psPCUCurrent.51", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #51", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.52", + "sensor_index": "psPCUCurrent.52", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #52", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.53", + "sensor_index": "psPCUCurrent.53", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #53", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.54", + "sensor_index": "psPCUCurrent.54", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #54", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.55", + "sensor_index": "psPCUCurrent.55", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #55", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.56", + "sensor_index": "psPCUCurrent.56", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #56", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.57", + "sensor_index": "psPCUCurrent.57", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #57", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 20, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.58", + "sensor_index": "psPCUCurrent.58", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #58", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.59", + "sensor_index": "psPCUCurrent.59", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #59", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.6", + "sensor_index": "psPCUCurrent.6", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #6", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.60", + "sensor_index": "psPCUCurrent.60", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #60", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.61", + "sensor_index": "psPCUCurrent.61", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #61", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.62", + "sensor_index": "psPCUCurrent.62", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #62", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.63", + "sensor_index": "psPCUCurrent.63", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #63", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.64", + "sensor_index": "psPCUCurrent.64", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #64", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.65", + "sensor_index": "psPCUCurrent.65", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #65", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.66", + "sensor_index": "psPCUCurrent.66", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #66", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.67", + "sensor_index": "psPCUCurrent.67", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #67", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.68", + "sensor_index": "psPCUCurrent.68", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #68", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.69", + "sensor_index": "psPCUCurrent.69", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #69", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.7", + "sensor_index": "psPCUCurrent.7", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #7", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.70", + "sensor_index": "psPCUCurrent.70", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #70", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.71", + "sensor_index": "psPCUCurrent.71", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #71", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.72", + "sensor_index": "psPCUCurrent.72", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #72", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.73", + "sensor_index": "psPCUCurrent.73", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #73", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.74", + "sensor_index": "psPCUCurrent.74", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #74", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.75", + "sensor_index": "psPCUCurrent.75", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #75", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.76", + "sensor_index": "psPCUCurrent.76", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #76", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.8", + "sensor_index": "psPCUCurrent.8", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #8", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.5.1.3.9", + "sensor_index": "psPCUCurrent.9", + "sensor_type": "netsure", + "sensor_descr": "PCU Current #9", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.1.6.0", + "sensor_index": "psPCUTotalCurrent.0", + "sensor_type": "netsure", + "sensor_descr": "Total PCU Current", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1576, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "string_to_float", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.4.1.2.1", + "sensor_index": "psShuntCurrent.1", + "sensor_type": "netsure", + "sensor_descr": "Shunt Current #1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 267, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "string_to_float", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.4.1.2.2", + "sensor_index": "psShuntCurrent.2", + "sensor_type": "netsure", + "sensor_descr": "Shunt Current #2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 447, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "string_to_float", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.4.1.2.3", + "sensor_index": "psShuntCurrent.3", + "sensor_type": "netsure", + "sensor_descr": "Shunt Current #3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 56, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "string_to_float", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.4.1.2.4", + "sensor_index": "psShuntCurrent.4", + "sensor_type": "netsure", + "sensor_descr": "Shunt Current #4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 40, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "string_to_float", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.4.1.2.5", + "sensor_index": "psShuntCurrent.5", + "sensor_type": "netsure", + "sensor_descr": "Shunt Current #5", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 325, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "string_to_float", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.4.1.2.6", + "sensor_index": "psShuntCurrent.6", + "sensor_type": "netsure", + "sensor_descr": "Shunt Current #6", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 286, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "string_to_float", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.4.1.2.7", + "sensor_index": "psShuntCurrent.7", + "sensor_type": "netsure", + "sensor_descr": "Shunt Current #7", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 98, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "string_to_float", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.4.1.2.8", + "sensor_index": "psShuntCurrent.8", + "sensor_type": "netsure", + "sensor_descr": "Shunt Current #8", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 63, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "string_to_float", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.1.2.0", + "sensor_index": "psSystemCurrent.0", + "sensor_type": "netsure", + "sensor_descr": "System Current", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1580, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.1.10.0", + "sensor_index": "0", + "sensor_type": "psHighestSeverityLevel", + "sensor_descr": "System Status", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": "psHighestSeverityLevel" + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.1.5.0", + "sensor_index": "psSenseVoltage.0", + "sensor_type": "netsure", + "sensor_descr": "Sense DC Voltage", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 54.01, + "sensor_limit": 58, + "sensor_limit_warn": 56.5, + "sensor_limit_low": 45, + "sensor_limit_low_warn": 50, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.885.3.2.1.1.0", + "sensor_index": "psSystemVoltage.0", + "sensor_type": "netsure", + "sensor_descr": "System DC Voltage", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 54.01, + "sensor_limit": 58, + "sensor_limit_warn": 56.5, + "sensor_limit_low": 45, + "sensor_limit_low_warn": 50, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "psHighestSeverityLevel", + "state_descr": "normal", + "state_draw_graph": 1, + "state_value": 0, + "state_generic_value": 0 + }, + { + "state_name": "psHighestSeverityLevel", + "state_descr": "minor", + "state_draw_graph": 1, + "state_value": 1, + "state_generic_value": 1 + }, + { + "state_name": "psHighestSeverityLevel", + "state_descr": "major", + "state_draw_graph": 1, + "state_value": 2, + "state_generic_value": 2 + } + ] + }, + "poller": "matches discovery" + } +} diff --git a/tests/snmpsim/netsure.snmprec b/tests/snmpsim/netsure.snmprec new file mode 100644 index 0000000000..7c2a45d633 --- /dev/null +++ b/tests/snmpsim/netsure.snmprec @@ -0,0 +1,249 @@ +1.3.6.1.2.1.1.1.0|4|Emerson Vortex Power System +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.885.3 +1.3.6.1.2.1.1.3.0|67|1576133521 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.2.1.2.2.1.1.1|2|1 +1.3.6.1.2.1.2.2.1.1.2|2|2 +1.3.6.1.2.1.2.2.1.2.1|4| +1.3.6.1.2.1.2.2.1.2.2|4| +1.3.6.1.2.1.2.2.1.3.1|2|24 +1.3.6.1.2.1.2.2.1.3.2|2|6 +1.3.6.1.2.1.2.2.1.4.1|2|65535 +1.3.6.1.2.1.2.2.1.4.2|2|1500 +1.3.6.1.2.1.2.2.1.5.1|66|0 +1.3.6.1.2.1.2.2.1.5.2|66|10000000 +1.3.6.1.2.1.2.2.1.6.1|4| +1.3.6.1.2.1.2.2.1.6.2|4x|00C09B60FCB0 +1.3.6.1.2.1.2.2.1.7.1|2|1 +1.3.6.1.2.1.2.2.1.7.2|2|1 +1.3.6.1.2.1.2.2.1.8.1|2|1 +1.3.6.1.2.1.2.2.1.8.2|2|1 +1.3.6.1.2.1.2.2.1.9.1|67|0 +1.3.6.1.2.1.2.2.1.9.2|67|0 +1.3.6.1.2.1.2.2.1.10.1|65|0 +1.3.6.1.2.1.2.2.1.10.2|65|3756866681 +1.3.6.1.2.1.2.2.1.11.1|65|0 +1.3.6.1.2.1.2.2.1.11.2|65|26682060 +1.3.6.1.2.1.2.2.1.12.1|65|0 +1.3.6.1.2.1.2.2.1.12.2|65|1362679 +1.3.6.1.2.1.2.2.1.13.1|65|0 +1.3.6.1.2.1.2.2.1.13.2|65|0 +1.3.6.1.2.1.2.2.1.14.1|65|0 +1.3.6.1.2.1.2.2.1.14.2|65|0 +1.3.6.1.2.1.2.2.1.15.1|65|0 +1.3.6.1.2.1.2.2.1.15.2|65|0 +1.3.6.1.2.1.2.2.1.16.1|65|0 +1.3.6.1.2.1.2.2.1.16.2|65|3624523089 +1.3.6.1.2.1.2.2.1.17.1|65|0 +1.3.6.1.2.1.2.2.1.17.2|65|23536097 +1.3.6.1.2.1.2.2.1.18.1|65|0 +1.3.6.1.2.1.2.2.1.18.2|65|14602 +1.3.6.1.2.1.2.2.1.19.1|65|0 +1.3.6.1.2.1.2.2.1.19.2|65|0 +1.3.6.1.2.1.2.2.1.20.1|65|0 +1.3.6.1.2.1.2.2.1.20.2|65|0 +1.3.6.1.2.1.2.2.1.21.1|66|0 +1.3.6.1.2.1.2.2.1.21.2|66|0 +1.3.6.1.2.1.2.2.1.22.1|6|0.0 +1.3.6.1.2.1.2.2.1.22.2|6|0.0 +1.3.6.1.2.1.4.3.0|65|26737904 +1.3.6.1.2.1.4.4.0|65|10 +1.3.6.1.2.1.4.5.0|65|702 +1.3.6.1.2.1.4.6.0|65|0 +1.3.6.1.2.1.4.7.0|65|0 +1.3.6.1.2.1.4.8.0|65|0 +1.3.6.1.2.1.4.9.0|65|26737191 +1.3.6.1.2.1.4.10.0|65|23534865 +1.3.6.1.2.1.4.11.0|65|0 +1.3.6.1.2.1.4.12.0|65|0 +1.3.6.1.2.1.4.14.0|65|0 +1.3.6.1.2.1.4.15.0|65|0 +1.3.6.1.2.1.4.16.0|65|0 +1.3.6.1.2.1.4.17.0|65|25 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|1125 +1.3.6.1.2.1.4.20.1.2.127.0.0.1|2|1 +1.3.6.1.2.1.4.20.1.2.192.168.19.6|2|2 +1.3.6.1.2.1.4.20.1.3.127.0.0.1|64|255.0.0.0 +1.3.6.1.2.1.4.20.1.3.192.168.19.6|64|255.255.255.0 +1.3.6.1.2.1.5.1.0|65|414973 +1.3.6.1.2.1.5.2.0|65|0 +1.3.6.1.2.1.5.3.0|65|3062 +1.3.6.1.2.1.5.4.0|65|0 +1.3.6.1.2.1.5.5.0|65|0 +1.3.6.1.2.1.5.6.0|65|0 +1.3.6.1.2.1.5.7.0|65|0 +1.3.6.1.2.1.5.8.0|65|411911 +1.3.6.1.2.1.5.9.0|65|0 +1.3.6.1.2.1.5.10.0|65|0 +1.3.6.1.2.1.5.11.0|65|0 +1.3.6.1.2.1.5.12.0|65|0 +1.3.6.1.2.1.5.13.0|65|0 +1.3.6.1.2.1.5.14.0|65|412484 +1.3.6.1.2.1.5.15.0|65|0 +1.3.6.1.2.1.5.16.0|65|573 +1.3.6.1.2.1.5.17.0|65|0 +1.3.6.1.2.1.5.18.0|65|0 +1.3.6.1.2.1.5.19.0|65|0 +1.3.6.1.2.1.5.20.0|65|0 +1.3.6.1.2.1.5.21.0|65|0 +1.3.6.1.2.1.5.22.0|65|411911 +1.3.6.1.2.1.5.23.0|65|0 +1.3.6.1.2.1.5.24.0|65|0 +1.3.6.1.2.1.5.25.0|65|0 +1.3.6.1.2.1.5.26.0|65|0 +1.3.6.1.2.1.6.5.0|65|0 +1.3.6.1.2.1.6.6.0|65|487646 +1.3.6.1.2.1.6.7.0|65|0 +1.3.6.1.2.1.6.8.0|65|0 +1.3.6.1.2.1.6.9.0|66|2 +1.3.6.1.2.1.6.10.0|65|23358754 +1.3.6.1.2.1.6.11.0|65|19553375 +1.3.6.1.2.1.6.12.0|65|668780 +1.3.6.1.2.1.6.14.0|65|0 +1.3.6.1.2.1.6.15.0|65|0 +1.3.6.1.2.1.7.1.0|65|2893056 +1.3.6.1.2.1.7.2.0|65|70441 +1.3.6.1.2.1.7.3.0|65|0 +1.3.6.1.2.1.7.4.0|65|2900256 +1.3.6.1.2.1.11.1.0|65|2893041 +1.3.6.1.2.1.11.2.0|65|2893040 +1.3.6.1.2.1.11.3.0|65|0 +1.3.6.1.2.1.11.4.0|65|0 +1.3.6.1.2.1.11.5.0|65|0 +1.3.6.1.2.1.11.6.0|65|0 +1.3.6.1.2.1.11.8.0|65|0 +1.3.6.1.2.1.11.9.0|65|0 +1.3.6.1.2.1.11.10.0|65|0 +1.3.6.1.2.1.11.11.0|65|0 +1.3.6.1.2.1.11.12.0|65|0 +1.3.6.1.2.1.11.13.0|65|19310259 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|1147036 +1.3.6.1.2.1.11.16.0|65|316012 +1.3.6.1.2.1.11.17.0|65|0 +1.3.6.1.2.1.11.18.0|65|0 +1.3.6.1.2.1.11.19.0|65|0 +1.3.6.1.2.1.11.20.0|65|0 +1.3.6.1.2.1.11.21.0|65|0 +1.3.6.1.2.1.11.22.0|65|0 +1.3.6.1.2.1.11.24.0|65|0 +1.3.6.1.2.1.11.25.0|65|0 +1.3.6.1.2.1.11.26.0|65|0 +1.3.6.1.2.1.11.27.0|65|0 +1.3.6.1.2.1.11.28.0|65|2893042 +1.3.6.1.2.1.11.29.0|65|3600 +1.3.6.1.2.1.11.30.0|2|2 +1.3.6.1.4.1.885.3.1.1.0|4|4.0.0.1 +1.3.6.1.4.1.885.3.2.1.1.0|4|54.01 +1.3.6.1.4.1.885.3.2.1.2.0|2|1580 +1.3.6.1.4.1.885.3.2.1.5.0|4|54.01 +1.3.6.1.4.1.885.3.2.1.6.0|4|1576 +1.3.6.1.4.1.885.3.2.1.7.0|4|0.00 +1.3.6.1.4.1.885.3.2.1.10.0|2|0 +1.3.6.1.4.1.885.3.2.4.1.1.1|2|1 +1.3.6.1.4.1.885.3.2.4.1.1.2|2|2 +1.3.6.1.4.1.885.3.2.4.1.1.3|2|3 +1.3.6.1.4.1.885.3.2.4.1.1.4|2|4 +1.3.6.1.4.1.885.3.2.4.1.1.5|2|5 +1.3.6.1.4.1.885.3.2.4.1.1.6|2|6 +1.3.6.1.4.1.885.3.2.4.1.1.7|2|7 +1.3.6.1.4.1.885.3.2.4.1.1.8|2|8 +1.3.6.1.4.1.885.3.2.4.1.2.1|4|267 +1.3.6.1.4.1.885.3.2.4.1.2.2|4|447 +1.3.6.1.4.1.885.3.2.4.1.2.3|4|56 +1.3.6.1.4.1.885.3.2.4.1.2.4|4|40 +1.3.6.1.4.1.885.3.2.4.1.2.5|4|325 +1.3.6.1.4.1.885.3.2.4.1.2.6|4|286 +1.3.6.1.4.1.885.3.2.4.1.2.7|4|98 +1.3.6.1.4.1.885.3.2.4.1.2.8|4|63 +1.3.6.1.4.1.885.3.2.4.1.3.1|2|2 +1.3.6.1.4.1.885.3.2.4.1.3.2|2|2 +1.3.6.1.4.1.885.3.2.4.1.3.3|2|2 +1.3.6.1.4.1.885.3.2.4.1.3.4|2|2 +1.3.6.1.4.1.885.3.2.4.1.3.5|2|2 +1.3.6.1.4.1.885.3.2.4.1.3.6|2|2 +1.3.6.1.4.1.885.3.2.4.1.3.7|2|2 +1.3.6.1.4.1.885.3.2.4.1.3.8|2|2 +1.3.6.1.4.1.885.3.2.4.1.4.1|2|1 +1.3.6.1.4.1.885.3.2.4.1.4.2|2|1 +1.3.6.1.4.1.885.3.2.4.1.4.3|2|1 +1.3.6.1.4.1.885.3.2.4.1.4.4|2|1 +1.3.6.1.4.1.885.3.2.4.1.4.5|2|1 +1.3.6.1.4.1.885.3.2.4.1.4.6|2|1 +1.3.6.1.4.1.885.3.2.4.1.4.7|2|1 +1.3.6.1.4.1.885.3.2.4.1.4.8|2|1 +1.3.6.1.4.1.885.3.2.5.1.3.1|2|20 +1.3.6.1.4.1.885.3.2.5.1.3.2|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.3|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.4|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.5|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.6|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.7|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.8|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.9|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.10|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.11|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.12|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.13|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.14|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.15|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.16|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.17|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.18|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.19|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.20|2|20 +1.3.6.1.4.1.885.3.2.5.1.3.21|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.22|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.23|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.24|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.25|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.26|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.27|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.28|2|23 +1.3.6.1.4.1.885.3.2.5.1.3.29|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.30|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.31|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.32|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.33|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.34|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.35|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.36|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.41|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.42|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.43|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.44|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.45|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.46|2|20 +1.3.6.1.4.1.885.3.2.5.1.3.47|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.48|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.49|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.50|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.51|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.52|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.53|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.54|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.55|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.56|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.57|2|20 +1.3.6.1.4.1.885.3.2.5.1.3.58|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.59|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.60|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.61|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.62|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.63|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.64|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.65|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.66|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.67|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.68|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.69|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.70|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.71|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.72|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.73|2|22 +1.3.6.1.4.1.885.3.2.5.1.3.74|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.75|2|21 +1.3.6.1.4.1.885.3.2.5.1.3.76|2|21