From 137bd231f971202bbbd99c4986763589391602dd Mon Sep 17 00:00:00 2001 From: Nicolas Berens Date: Tue, 25 Jun 2024 02:50:05 +0200 Subject: [PATCH] Update axis detection (#16130) * add PTZ and Dome Cameras * remove default temperature limits * set temperature limit per device type * fix linting * add test data * set original limits as default and use integers instead of strings --- includes/definitions/axiscam.yaml | 2 +- .../sensors/temperature/axiscam.inc.php | 35 +- tests/data/axiscam_p1425-le-mk-ii.json | 1017 +++++++++++++++ tests/data/axiscam_p1435-le.json | 1017 +++++++++++++++ tests/data/axiscam_p1455-le.json | 989 +++++++++++++++ tests/data/axiscam_p5676-le.json | 1117 +++++++++++++++++ tests/snmpsim/axiscam_p1425-le-mk-ii.snmprec | 139 ++ tests/snmpsim/axiscam_p1435-le.snmprec | 139 ++ tests/snmpsim/axiscam_p1455-le.snmprec | 115 ++ tests/snmpsim/axiscam_p5676-le.snmprec | 117 ++ 10 files changed, 4685 insertions(+), 2 deletions(-) create mode 100644 tests/data/axiscam_p1425-le-mk-ii.json create mode 100644 tests/data/axiscam_p1435-le.json create mode 100644 tests/data/axiscam_p1455-le.json create mode 100644 tests/data/axiscam_p5676-le.json create mode 100644 tests/snmpsim/axiscam_p1425-le-mk-ii.snmprec create mode 100644 tests/snmpsim/axiscam_p1435-le.snmprec create mode 100644 tests/snmpsim/axiscam_p1455-le.snmprec create mode 100644 tests/snmpsim/axiscam_p5676-le.snmprec diff --git a/includes/definitions/axiscam.yaml b/includes/definitions/axiscam.yaml index 5b08298628..bc4e75e123 100644 --- a/includes/definitions/axiscam.yaml +++ b/includes/definitions/axiscam.yaml @@ -5,7 +5,7 @@ icon: axis mib_dir: axis discovery: - - sysDescr_regex: '/AXIS .* ((Network|Bullet) Camera|Security Radar|Video Server|Network Video Encoder)/' + sysDescr_regex: '/AXIS .* ((Network|Bullet|PTZ|Dome) Camera|Security Radar|Video Server|Network Video Encoder)/' over: - { graph: device_bits, text: Traffic } - { graph: device_temperature, text: 'Device Temperature' } diff --git a/includes/discovery/sensors/temperature/axiscam.inc.php b/includes/discovery/sensors/temperature/axiscam.inc.php index 5d7036f10b..82fe465615 100644 --- a/includes/discovery/sensors/temperature/axiscam.inc.php +++ b/includes/discovery/sensors/temperature/axiscam.inc.php @@ -2,6 +2,39 @@ echo 'AXIS Temperatures '; +// Set Temp Limits based on Device Description +switch (true) { + case stristr($device['sysDescr'], 'P1425-LE'): + $high_limit = 50; + $high_warn_limit = 40; + $low_warn_limit = -20; + $low_limit = -30; + break; + case stristr($device['sysDescr'], 'P1435-LE'): + $high_limit = 60; + $high_warn_limit = 50; + $low_warn_limit = -20; + $low_limit = -30; + break; + case stristr($device['sysDescr'], 'P1455-LE'): + $high_limit = 60; + $high_warn_limit = 50; + $low_warn_limit = -30; + $low_limit = -40; + break; + case stristr($device['sysDescr'], 'P5676-LE'): + $high_limit = 50; + $high_warn_limit = 40; + $low_warn_limit = -20; + $low_limit = -30; + break; + default: + $high_limit = 5; + $high_warn_limit = 10; + $low_warn_limit = 30; + $low_limit = 35; +} + // Temp Sensor Status $oids_tmp = snmpwalk_cache_multi_oid($device, 'tempSensorTable', [], 'AXIS-VIDEO-MIB'); $cur_oid = '.1.3.6.1.4.1.368.4.1.3.1.4.1.'; @@ -16,5 +49,5 @@ foreach (array_keys($oids) as $index) { $current = $oids[$index]['tempSensorValue']; $oid = $cur_oid . $index; - discover_sensor($valid['sensor'], 'temperature', $device, $oid, $index, 'axiscam', 'Temperature Sensor ' . $index, '1', '1', '5', '10', '30', '35', $current); + discover_sensor($valid['sensor'], 'temperature', $device, $oid, $index, 'axiscam', 'Temperature Sensor ' . $index, '1', '1', $low_limit, $low_warn_limit, $high_warn_limit, $high_limit, $current); } diff --git a/tests/data/axiscam_p1425-le-mk-ii.json b/tests/data/axiscam_p1425-le-mk-ii.json new file mode 100644 index 0000000000..f964c03ac1 --- /dev/null +++ b/tests/data/axiscam_p1425-le-mk-ii.json @@ -0,0 +1,1017 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.368.1.1", + "sysDescr": "; AXIS P1425-LE Mk II; Network Camera; 8.40.43; Feb 14 2024 15:34; 741; 1;", + "sysContact": "", + "version": "8.40.43", + "hardware": "AXIS P1425-LE Mk II", + "features": null, + "location": "", + "os": "axiscam", + "type": "appliance", + "serial": "ac:cc:8e:c0:ff:ee", + "icon": "axis.svg" + } + ] + }, + "poller": "matches discovery" + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "lo", + "ifName": "lo", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "softwareLoopback", + "ifAlias": "lo", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth0", + "ifName": "eth0", + "portName": null, + "ifIndex": 2, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "eth0", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "lo", + "ifName": "lo", + "portName": null, + "ifIndex": 1, + "ifSpeed": 10000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 65536, + "ifType": "softwareLoopback", + "ifAlias": "lo", + "ifPhysAddress": "000000000000", + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 125364, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 125364, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 10411998, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 10411998, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth0", + "ifName": "eth0", + "portName": null, + "ifIndex": 2, + "ifSpeed": 100000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "eth0", + "ifPhysAddress": "accc8ec0ffee", + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 27268653, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 22931065, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 1823383547, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 1466270359, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.1", + "sensor_index": "1", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage Status: SD_DISK", + "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": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.2", + "sensor_index": "2", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage Status: NetworkShare", + "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": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.1", + "sensor_index": "1", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 1", + "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": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.2", + "sensor_index": "2", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 2", + "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": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.3", + "sensor_index": "3", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 3", + "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": "3", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.4", + "sensor_index": "4", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 4", + "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": "4", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.1", + "sensor_index": "1", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.2", + "sensor_index": "2", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 12, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.3", + "sensor_index": "3", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 12, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.4", + "sensor_index": "4", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 12, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Out Of Boundary", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + } + ] + }, + "poller": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.1", + "sensor_index": "1", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage Status: SD_DISK", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.2", + "sensor_index": "2", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage Status: NetworkShare", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.1", + "sensor_index": "1", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.2", + "sensor_index": "2", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.3", + "sensor_index": "3", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "3", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.4", + "sensor_index": "4", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "4", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.1", + "sensor_index": "1", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.2", + "sensor_index": "2", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 12, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.3", + "sensor_index": "3", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 12, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.4", + "sensor_index": "4", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 12, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Out Of Boundary", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + } + ] + } + } +} diff --git a/tests/data/axiscam_p1435-le.json b/tests/data/axiscam_p1435-le.json new file mode 100644 index 0000000000..b53ac7a0de --- /dev/null +++ b/tests/data/axiscam_p1435-le.json @@ -0,0 +1,1017 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.368.1.1", + "sysDescr": "; AXIS P1435-LE; Network Camera; 9.80.69; May 13 2024 09:11; 70D; 1;", + "sysContact": "", + "version": "9.80.69", + "hardware": "AXIS P1435-LE", + "features": null, + "location": "", + "os": "axiscam", + "type": "appliance", + "serial": "ac:cc:8e:c0:ff:ee", + "icon": "axis.svg" + } + ] + }, + "poller": "matches discovery" + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "lo", + "ifName": "lo", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "softwareLoopback", + "ifAlias": "lo", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth0", + "ifName": "eth0", + "portName": null, + "ifIndex": 2, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "eth0", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "lo", + "ifName": "lo", + "portName": null, + "ifIndex": 1, + "ifSpeed": 10000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 65536, + "ifType": "softwareLoopback", + "ifAlias": "lo", + "ifPhysAddress": "000000000000", + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 473456, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 473456, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 42774300, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 42774300, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth0", + "ifName": "eth0", + "portName": null, + "ifIndex": 2, + "ifSpeed": 100000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "eth0", + "ifPhysAddress": "accc8ec0ffee", + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 41607404, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 45226734, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 2796787726, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 130770549, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.1", + "sensor_index": "1", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage Status: SD_DISK", + "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": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.2", + "sensor_index": "2", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage Status: NetworkShare", + "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": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.1", + "sensor_index": "1", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 1", + "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": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.2", + "sensor_index": "2", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 2", + "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": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.3", + "sensor_index": "3", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 3", + "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": "3", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.4", + "sensor_index": "4", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 4", + "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": "4", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.1", + "sensor_index": "1", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 24, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.2", + "sensor_index": "2", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 29, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.3", + "sensor_index": "3", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 31, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.4", + "sensor_index": "4", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 28, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Out Of Boundary", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + } + ] + }, + "poller": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.1", + "sensor_index": "1", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage Status: SD_DISK", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.2", + "sensor_index": "2", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage Status: NetworkShare", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.1", + "sensor_index": "1", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.2", + "sensor_index": "2", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.3", + "sensor_index": "3", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "3", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.4", + "sensor_index": "4", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "4", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.1", + "sensor_index": "1", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 24, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.2", + "sensor_index": "2", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 29, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.3", + "sensor_index": "3", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 31, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.4", + "sensor_index": "4", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 28, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Out Of Boundary", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + } + ] + } + } +} diff --git a/tests/data/axiscam_p1455-le.json b/tests/data/axiscam_p1455-le.json new file mode 100644 index 0000000000..7667409d43 --- /dev/null +++ b/tests/data/axiscam_p1455-le.json @@ -0,0 +1,989 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.368.1.1", + "sysDescr": "; AXIS P1455-LE; Network Camera; 11.10.61; Apr 18 2024 18:48; 951.2; 1", + "sysContact": "", + "version": "11.10.61", + "hardware": "AXIS P1455-LE", + "features": null, + "location": "", + "os": "axiscam", + "type": "appliance", + "serial": "b8:a4:4f:c0:ff:ee", + "icon": "axis.svg" + } + ] + }, + "poller": "matches discovery" + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "lo", + "ifName": "lo", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "softwareLoopback", + "ifAlias": "lo", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth0", + "ifName": "eth0", + "portName": null, + "ifIndex": 2, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "eth0", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "lo", + "ifName": "lo", + "portName": null, + "ifIndex": 1, + "ifSpeed": 10000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 65536, + "ifType": "softwareLoopback", + "ifAlias": "lo", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 198902, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 198902, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 18397843, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 18397843, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth0", + "ifName": "eth0", + "portName": null, + "ifIndex": 2, + "ifSpeed": 1000000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "eth0", + "ifPhysAddress": "b8a44fc0ffee", + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 8073128, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 7978233, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 561938854, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 3356159640, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.3", + "sensor_index": "3", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 3", + "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": "3", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.4", + "sensor_index": "4", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 4", + "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": "4", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.5", + "sensor_index": "5", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 5", + "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": "5", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.6", + "sensor_index": "6", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 6", + "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": "6", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.7", + "sensor_index": "7", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 7", + "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": "7", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.3", + "sensor_index": "3", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 32, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.4", + "sensor_index": "4", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 23, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.5", + "sensor_index": "5", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 5", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.6", + "sensor_index": "6", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 6", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.7", + "sensor_index": "7", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 7", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "tempSensorStatusState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Out Of Boundary", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + } + ] + }, + "poller": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.3", + "sensor_index": "3", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "3", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.4", + "sensor_index": "4", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "4", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.5", + "sensor_index": "5", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 5", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "5", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.6", + "sensor_index": "6", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 6", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "6", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.7", + "sensor_index": "7", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 7", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "7", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.3", + "sensor_index": "3", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 32, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.4", + "sensor_index": "4", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 23, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.5", + "sensor_index": "5", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 5", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.6", + "sensor_index": "6", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 6", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.7", + "sensor_index": "7", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 7", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": 60, + "sensor_limit_warn": 50, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "tempSensorStatusState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Out Of Boundary", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + } + ] + } + } +} diff --git a/tests/data/axiscam_p5676-le.json b/tests/data/axiscam_p5676-le.json new file mode 100644 index 0000000000..f77a89e32c --- /dev/null +++ b/tests/data/axiscam_p5676-le.json @@ -0,0 +1,1117 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.368.1.1", + "sysDescr": "; AXIS P5676-LE; PTZ Camera; 11.10.61; Apr 18 2024 18:14; 919.2; 1", + "sysContact": "", + "version": "11.10.61", + "hardware": "AXIS P5676-LE", + "features": null, + "location": "", + "os": "axiscam", + "type": "appliance", + "serial": "b8:a4:4f:c0:ff:ee", + "icon": "axis.svg" + } + ] + }, + "poller": "matches discovery" + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "lo", + "ifName": "lo", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "softwareLoopback", + "ifAlias": "lo", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth0", + "ifName": "eth0", + "portName": null, + "ifIndex": 2, + "ifSpeed": null, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "eth0", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "lo", + "ifName": "lo", + "portName": null, + "ifIndex": 1, + "ifSpeed": 10000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 65536, + "ifType": "softwareLoopback", + "ifAlias": "lo", + "ifPhysAddress": null, + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 42282, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 42282, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 4491304, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 4491304, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth0", + "ifName": "eth0", + "portName": null, + "ifIndex": 2, + "ifSpeed": 100000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "eth0", + "ifPhysAddress": "b8a44fc0ffee", + "ifLastChange": 0, + "ifVlan": null, + "ifTrunk": null, + "ignore": 0, + "disabled": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 6607698, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 3354715, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 441816856, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 3044706137, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.1", + "sensor_index": "1", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage 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": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.2", + "sensor_index": "2", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage 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": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.1", + "sensor_index": "1", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 1", + "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": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.2", + "sensor_index": "2", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 2", + "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": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.3", + "sensor_index": "3", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 3", + "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": "3", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.4", + "sensor_index": "4", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 4", + "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": "4", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.5", + "sensor_index": "5", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 5", + "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": "5", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.1", + "sensor_index": "1", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.2", + "sensor_index": "2", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.3", + "sensor_index": "3", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 17, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.4", + "sensor_index": "4", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 19, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.5", + "sensor_index": "5", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 5", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 19, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Out Of Boundary", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + } + ] + }, + "poller": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.1", + "sensor_index": "1", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage Status: ", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.8.1.3.2", + "sensor_index": "2", + "sensor_type": "storageDisruptionDetectedState", + "sensor_descr": "Storage Status: ", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "storageDisruptionDetectedState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.1", + "sensor_index": "1", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.2", + "sensor_index": "2", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "2", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.3", + "sensor_index": "3", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "3", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.4", + "sensor_index": "4", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "4", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.3.1.5", + "sensor_index": "5", + "sensor_type": "tempSensorStatusState", + "sensor_descr": "Temperature Sensor 5", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "5", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "tempSensorStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.1", + "sensor_index": "1", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.2", + "sensor_index": "2", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 22, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.3", + "sensor_index": "3", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 17, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.4", + "sensor_index": "4", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 4", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 19, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.368.4.1.3.1.4.1.5", + "sensor_index": "5", + "sensor_type": "axiscam", + "sensor_descr": "Temperature Sensor 5", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 19, + "sensor_limit": 50, + "sensor_limit_warn": 40, + "sensor_limit_low": -30, + "sensor_limit_low_warn": -20, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "storageDisruptionDetectedState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "tempSensorStatusState", + "state_descr": "Out Of Boundary", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + } + ] + } + } +} diff --git a/tests/snmpsim/axiscam_p1425-le-mk-ii.snmprec b/tests/snmpsim/axiscam_p1425-le-mk-ii.snmprec new file mode 100644 index 0000000000..9f20d8c858 --- /dev/null +++ b/tests/snmpsim/axiscam_p1425-le-mk-ii.snmprec @@ -0,0 +1,139 @@ +1.3.6.1.2.1.1.1.0|4| ; AXIS P1425-LE Mk II; Network Camera; 8.40.43; Feb 14 2024 15:34; 741; 1; +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.368.1.1 +1.3.6.1.2.1.1.3.0|67|56773200 +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|lo +1.3.6.1.2.1.2.2.1.2.2|4|eth0 +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|65536 +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|10000000 +1.3.6.1.2.1.2.2.1.5.2|66|100000000 +1.3.6.1.2.1.2.2.1.6.1|4x|000000000000 +1.3.6.1.2.1.2.2.1.6.2|4x|accc8ec0ffee +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|10411998 +1.3.6.1.2.1.2.2.1.10.2|65|1823383547 +1.3.6.1.2.1.2.2.1.11.1|65|125364 +1.3.6.1.2.1.2.2.1.11.2|65|27268653 +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|10411998 +1.3.6.1.2.1.2.2.1.16.2|65|1466270359 +1.3.6.1.2.1.2.2.1.17.1|65|125364 +1.3.6.1.2.1.2.2.1.17.2|65|22931065 +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.4.3.0|65|26919263 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +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|26919251 +1.3.6.1.2.1.4.10.0|65|23019649 +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|0 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|0 +1.3.6.1.2.1.5.1.0|65|64877 +1.3.6.1.2.1.5.2.0|65|14908 +1.3.6.1.2.1.5.3.0|65|0 +1.3.6.1.2.1.5.4.0|65|15836 +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|0 +1.3.6.1.2.1.5.9.0|65|49041 +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|0 +1.3.6.1.2.1.5.15.0|65|57439 +1.3.6.1.2.1.5.16.0|65|0 +1.3.6.1.2.1.5.17.0|65|8399 +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|0 +1.3.6.1.2.1.5.23.0|65|49041 +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|9534 +1.3.6.1.2.1.6.6.0|65|19501 +1.3.6.1.2.1.6.7.0|65|1 +1.3.6.1.2.1.6.8.0|65|10 +1.3.6.1.2.1.6.9.0|66|1 +1.3.6.1.2.1.6.10.0|65|26822130 +1.3.6.1.2.1.6.11.0|65|49943194 +1.3.6.1.2.1.6.12.0|65|250 +1.3.6.1.2.1.6.14.0|65|0 +1.3.6.1.2.1.6.15.0|65|14909 +1.3.6.1.2.1.7.1.0|65|24532 +1.3.6.1.2.1.7.2.0|65|8399 +1.3.6.1.2.1.7.3.0|65|0 +1.3.6.1.2.1.7.4.0|65|16607 +1.3.6.1.2.1.11.1.0|65|16258 +1.3.6.1.2.1.11.2.0|65|0 +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|0 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|0 +1.3.6.1.2.1.11.16.0|65|0 +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|0 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.31.0|65|0 +1.3.6.1.2.1.11.32.0|65|0 +1.3.6.1.4.1.368.4.1.3.1.3.1.1|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.2|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.3|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.4|2|1 +1.3.6.1.4.1.368.4.1.3.1.4.1.1|2|21 +1.3.6.1.4.1.368.4.1.3.1.4.1.2|2|12 +1.3.6.1.4.1.368.4.1.3.1.4.1.3|2|12 +1.3.6.1.4.1.368.4.1.3.1.4.1.4|2|12 +1.3.6.1.4.1.368.4.1.8.1.2.1|4|SD_DISK +1.3.6.1.4.1.368.4.1.8.1.2.2|4|NetworkShare +1.3.6.1.4.1.368.4.1.8.1.3.1|2|2 +1.3.6.1.4.1.368.4.1.8.1.3.2|2|2 diff --git a/tests/snmpsim/axiscam_p1435-le.snmprec b/tests/snmpsim/axiscam_p1435-le.snmprec new file mode 100644 index 0000000000..aa40d1eb7c --- /dev/null +++ b/tests/snmpsim/axiscam_p1435-le.snmprec @@ -0,0 +1,139 @@ +1.3.6.1.2.1.1.1.0|4| ; AXIS P1435-LE; Network Camera; 9.80.69; May 13 2024 09:11; 70D; 1; +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.368.1.1 +1.3.6.1.2.1.1.3.0|67|118911300 +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|lo +1.3.6.1.2.1.2.2.1.2.2|4|eth0 +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|65536 +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|10000000 +1.3.6.1.2.1.2.2.1.5.2|66|100000000 +1.3.6.1.2.1.2.2.1.6.1|4x|000000000000 +1.3.6.1.2.1.2.2.1.6.2|4x|accc8ec0ffee +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|42774300 +1.3.6.1.2.1.2.2.1.10.2|65|2796787726 +1.3.6.1.2.1.2.2.1.11.1|65|473456 +1.3.6.1.2.1.2.2.1.11.2|65|41607404 +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|42774300 +1.3.6.1.2.1.2.2.1.16.2|65|130770549 +1.3.6.1.2.1.2.2.1.17.1|65|473456 +1.3.6.1.2.1.2.2.1.17.2|65|45226734 +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.4.3.0|65|40997920 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +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|40997902 +1.3.6.1.2.1.4.10.0|65|45622163 +1.3.6.1.2.1.4.11.0|65|0 +1.3.6.1.2.1.4.12.0|65|1 +1.3.6.1.2.1.4.14.0|65|8 +1.3.6.1.2.1.4.15.0|65|4 +1.3.6.1.2.1.4.16.0|65|0 +1.3.6.1.2.1.4.17.0|65|0 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|0 +1.3.6.1.2.1.5.1.0|65|133669 +1.3.6.1.2.1.5.2.0|65|31340 +1.3.6.1.2.1.5.3.0|65|0 +1.3.6.1.2.1.5.4.0|65|32955 +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|0 +1.3.6.1.2.1.5.9.0|65|100718 +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|0 +1.3.6.1.2.1.5.15.0|65|134950 +1.3.6.1.2.1.5.16.0|65|0 +1.3.6.1.2.1.5.17.0|65|34235 +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|0 +1.3.6.1.2.1.5.23.0|65|100719 +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|37304 +1.3.6.1.2.1.6.6.0|65|57940 +1.3.6.1.2.1.6.7.0|65|2 +1.3.6.1.2.1.6.8.0|65|15 +1.3.6.1.2.1.6.9.0|66|1 +1.3.6.1.2.1.6.10.0|65|40808119 +1.3.6.1.2.1.6.11.0|65|84283902 +1.3.6.1.2.1.6.12.0|65|49462 +1.3.6.1.2.1.6.14.0|65|0 +1.3.6.1.2.1.6.15.0|65|31353 +1.3.6.1.2.1.7.1.0|65|17340 +1.3.6.1.2.1.7.2.0|65|34235 +1.3.6.1.2.1.7.3.0|65|0 +1.3.6.1.2.1.7.4.0|65|17332 +1.3.6.1.2.1.11.1.0|65|16228 +1.3.6.1.2.1.11.2.0|65|0 +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|0 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|0 +1.3.6.1.2.1.11.16.0|65|0 +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|0 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.31.0|65|0 +1.3.6.1.2.1.11.32.0|65|0 +1.3.6.1.4.1.368.4.1.3.1.3.1.1|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.2|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.3|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.4|2|1 +1.3.6.1.4.1.368.4.1.3.1.4.1.1|2|24 +1.3.6.1.4.1.368.4.1.3.1.4.1.2|2|29 +1.3.6.1.4.1.368.4.1.3.1.4.1.3|2|31 +1.3.6.1.4.1.368.4.1.3.1.4.1.4|2|28 +1.3.6.1.4.1.368.4.1.8.1.2.1|4|SD_DISK +1.3.6.1.4.1.368.4.1.8.1.2.2|4|NetworkShare +1.3.6.1.4.1.368.4.1.8.1.3.1|2|2 +1.3.6.1.4.1.368.4.1.8.1.3.2|2|2 diff --git a/tests/snmpsim/axiscam_p1455-le.snmprec b/tests/snmpsim/axiscam_p1455-le.snmprec new file mode 100644 index 0000000000..1408eeabb6 --- /dev/null +++ b/tests/snmpsim/axiscam_p1455-le.snmprec @@ -0,0 +1,115 @@ +1.3.6.1.2.1.1.1.0|4|; AXIS P1455-LE; Network Camera; 11.10.61; Apr 18 2024 18:48; 951.2; 1 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.368.1.1 +1.3.6.1.2.1.1.3.0|67|50047075 +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|lo +1.3.6.1.2.1.2.2.1.2.2|4|eth0 +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|65536 +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|10000000 +1.3.6.1.2.1.2.2.1.5.2|66|1000000000 +1.3.6.1.2.1.2.2.1.6.1|4| +1.3.6.1.2.1.2.2.1.6.2|4x|b8a44fc0ffee +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|18397843 +1.3.6.1.2.1.2.2.1.10.2|65|561938854 +1.3.6.1.2.1.2.2.1.11.1|65|198902 +1.3.6.1.2.1.2.2.1.11.2|65|8073128 +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|0 +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|18397843 +1.3.6.1.2.1.2.2.1.16.2|65|3356159640 +1.3.6.1.2.1.2.2.1.17.1|65|198902 +1.3.6.1.2.1.2.2.1.17.2|65|7978233 +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|0 +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|0 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +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|0 +1.3.6.1.2.1.4.10.0|65|0 +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|0 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|0 +1.3.6.1.2.1.6.5.0|65|15719 +1.3.6.1.2.1.6.6.0|65|24527 +1.3.6.1.2.1.6.7.0|65|4 +1.3.6.1.2.1.6.8.0|65|7 +1.3.6.1.2.1.6.9.0|66|3 +1.3.6.1.2.1.6.10.0|65|7632037 +1.3.6.1.2.1.6.11.0|65|13068421 +1.3.6.1.2.1.6.12.0|65|122 +1.3.6.1.2.1.6.14.0|65|0 +1.3.6.1.2.1.6.15.0|65|7878 +1.3.6.1.2.1.11.1.0|65|78617 +1.3.6.1.2.1.11.2.0|65|78617 +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|50394 +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|488822 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|39424 +1.3.6.1.2.1.11.16.0|65|25026 +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|78641 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.31.0|65|0 +1.3.6.1.2.1.11.32.0|65|0 +1.3.6.1.4.1.368.4.1.3.1.3.1.3|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.4|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.5|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.6|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.7|2|1 +1.3.6.1.4.1.368.4.1.3.1.4.1.3|2|32 +1.3.6.1.4.1.368.4.1.3.1.4.1.4|2|23 +1.3.6.1.4.1.368.4.1.3.1.4.1.5|2|22 +1.3.6.1.4.1.368.4.1.3.1.4.1.6|2|22 +1.3.6.1.4.1.368.4.1.3.1.4.1.7|2|22 diff --git a/tests/snmpsim/axiscam_p5676-le.snmprec b/tests/snmpsim/axiscam_p5676-le.snmprec new file mode 100644 index 0000000000..6536da2958 --- /dev/null +++ b/tests/snmpsim/axiscam_p5676-le.snmprec @@ -0,0 +1,117 @@ +1.3.6.1.2.1.1.1.0|4|; AXIS P5676-LE; PTZ Camera; 11.10.61; Apr 18 2024 18:14; 919.2; 1 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.368.1.1 +1.3.6.1.2.1.1.3.0|67|10414138 +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|lo +1.3.6.1.2.1.2.2.1.2.2|4|eth0 +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|65536 +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|10000000 +1.3.6.1.2.1.2.2.1.5.2|66|100000000 +1.3.6.1.2.1.2.2.1.6.1|4| +1.3.6.1.2.1.2.2.1.6.2|4x|b8a44fc0ffee +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|4491304 +1.3.6.1.2.1.2.2.1.10.2|65|441816856 +1.3.6.1.2.1.2.2.1.11.1|65|42282 +1.3.6.1.2.1.2.2.1.11.2|65|6607698 +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|0 +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|4491304 +1.3.6.1.2.1.2.2.1.16.2|65|3044706137 +1.3.6.1.2.1.2.2.1.17.1|65|42282 +1.3.6.1.2.1.2.2.1.17.2|65|3354715 +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|0 +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|6531638 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +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|6531570 +1.3.6.1.2.1.4.10.0|65|3387214 +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|4 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|8 +1.3.6.1.2.1.6.5.0|65|3316 +1.3.6.1.2.1.6.6.0|65|6391 +1.3.6.1.2.1.6.7.0|65|1 +1.3.6.1.2.1.6.8.0|65|4 +1.3.6.1.2.1.6.9.0|66|1 +1.3.6.1.2.1.6.10.0|65|6510944 +1.3.6.1.2.1.6.11.0|65|9951009 +1.3.6.1.2.1.6.12.0|65|380 +1.3.6.1.2.1.6.14.0|65|0 +1.3.6.1.2.1.6.15.0|65|1 +1.3.6.1.2.1.11.1.0|65|16290 +1.3.6.1.2.1.11.2.0|65|16290 +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|11025 +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|108496 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|7968 +1.3.6.1.2.1.11.16.0|65|5208 +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|16314 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.31.0|65|0 +1.3.6.1.2.1.11.32.0|65|0 +1.3.6.1.4.1.368.4.1.3.1.3.1.1|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.2|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.3|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.4|2|1 +1.3.6.1.4.1.368.4.1.3.1.3.1.5|2|1 +1.3.6.1.4.1.368.4.1.3.1.4.1.1|2|22 +1.3.6.1.4.1.368.4.1.3.1.4.1.2|2|22 +1.3.6.1.4.1.368.4.1.3.1.4.1.3|2|17 +1.3.6.1.4.1.368.4.1.3.1.4.1.4|2|19 +1.3.6.1.4.1.368.4.1.3.1.4.1.5|2|19 +1.3.6.1.4.1.368.4.1.8.1.3.1|2|2 +1.3.6.1.4.1.368.4.1.8.1.3.2|2|2