From ca03d2fbfa883cbf102d3feacd9c322aa18c4e90 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Wed, 4 Dec 2024 22:39:23 -0600 Subject: [PATCH] Sinetica UPS convert to yaml --- includes/definitions/discovery/sinetica.yaml | 116 ++ includes/definitions/sinetica.yaml | 1 + .../discovery/sensors/charge/sinetica.inc.php | 52 - .../sensors/current/sinetica.inc.php | 72 -- .../sensors/frequency/sinetica.inc.php | 67 - .../discovery/sensors/load/sinetica.inc.php | 40 - .../discovery/sensors/power/sinetica.inc.php | 41 - .../sensors/runtime/sinetica.inc.php | 35 - .../sensors/voltage/sinetica.inc.php | 70 - mibs/mitsubishi/NET-SNMP-MIB | 67 - mibs/mitsubishi/UPS-MIB | 76 +- tests/data/sinetica.json | 1145 +++++++++++++++++ tests/snmpsim/sinetica.snmprec | 310 ++++- 13 files changed, 1610 insertions(+), 482 deletions(-) delete mode 100644 includes/discovery/sensors/charge/sinetica.inc.php delete mode 100644 includes/discovery/sensors/current/sinetica.inc.php delete mode 100644 includes/discovery/sensors/frequency/sinetica.inc.php delete mode 100644 includes/discovery/sensors/load/sinetica.inc.php delete mode 100644 includes/discovery/sensors/power/sinetica.inc.php delete mode 100644 includes/discovery/sensors/runtime/sinetica.inc.php delete mode 100644 includes/discovery/sensors/voltage/sinetica.inc.php delete mode 100644 mibs/mitsubishi/NET-SNMP-MIB create mode 100644 tests/data/sinetica.json diff --git a/includes/definitions/discovery/sinetica.yaml b/includes/definitions/discovery/sinetica.yaml index b41ff00b43a7..0a0ca1b6b1d3 100644 --- a/includes/definitions/discovery/sinetica.yaml +++ b/includes/definitions/discovery/sinetica.yaml @@ -1,3 +1,119 @@ modules: os: sysDescr_regex: '/OS (?\S+), .*H\/w (?\S+)/' + sensors: + charge: + data: + - + oid: UPS-MIB::upsEstimatedChargeRemaining + num_oid: '.1.3.6.1.4.1.13891.101.2.4.{{ $index }}' + index: 'upsEstimatedChargeRemaining.{{ $index }}' + descr: Battery Charge + low_limit: 0 + low_warn_limit: 10 + current: + data: + - + oid: UPS-MIB::upsInputTable + value: UPS-MIB::upsInputCurrent + num_oid: '.1.3.6.1.4.1.13891.101.3.3.1.4.{{ $index }}' + index: 'upsInputCurrent.{{ $index }}' + descr: 'Input #{{ $index }}' + divisor: 10 + - + oid: UPS-MIB::upsOutputTable + value: UPS-MIB::upsOutputCurrent + num_oid: '.1.3.6.1.4.1.13891.101.4.4.1.3.{{ $index }}' + index: 'upsOutputCurrent.{{ $index }}' + descr: 'Output #{{ $index }}' + divisor: 10 + - + oid: UPS-MIB::upsBatteryCurrent + num_oid: '.1.3.6.1.4.1.13891.101.2.6.{{ $index }}' + index: 'upsBatteryCurrent.{{ $index }}' + descr: 'Battery' + divisor: 10 + + frequency: + data: + - + oid: UPS-MIB::upsInputTable + value: UPS-MIB::upsInputFrequency + num_oid: '.1.3.6.1.4.1.13891.101.3.3.1.2.{{ $index }}' + index: 'upsInputFrequency.{{ $index }}' + descr: 'Input #{{ $index }}' + divisor: 10 + - + oid: UPS-MIB::upsOutputTable + value: UPS-MIB::upsOutputFrequency + num_oid: '.1.3.6.1.4.1.13891.101.4.2.{{ $index }}' + index: 'upsOutputFrequency.{{ $index }}' + descr: 'Output #{{ $index }}' + divisor: 10 + - + oid: UPS-MIB::upsBypassFrequency + num_oid: '.1.3.6.1.4.1.13891.101.5.1.{{ $index }}' + index: 'upsBypassFrequency.{{ $index }}' + descr: Bypass + divisor: 10 + load: + data: + - + oid: UPS-MIB::upsOutputTable + value: UPS-MIB::upsOutputPercentLoad + num_oid: '.1.3.6.1.4.1.13891.101.4.4.1.5.{{ $index }}' + index: 'upsOutputPercentLoad.{{ $index }}' + descr: 'Output #{{ $index }}' + power: + data: + - + oid: UPS-MIB::upsOutputTable + value: UPS-MIB::upsOutputPower + num_oid: '.1.3.6.1.4.1.13891.101.4.4.1.4.{{ $index }}' + index: 'upsOutputPower.{{ $index }}' + descr: 'Output #{{ $index }}' + divisor: 10 + runtime: + data: + - + oid: UPS-MIB::upsEstimatedMinutesRemaining + num_oid: '.1.3.6.1.4.1.13891.101.2.3.{{ $index }}' + index: 'upsEstimatedMinutesRemaining.{{ $index }}' + descr: 'Battery Runtime' + low_limit: 5 + low_warn_limit: 10 + state: + data: + - + oid: UPS-MIB::upsBatteryStatus + num_oid: '.1.3.6.1.4.1.13891.101.2.1.{{ $index }}' + descr: Battery Status + index: 'upsBatteryStatus.{{ $index }}' + state_name: upsBatteryStatus + states: + - { value: 1, generic: 3, graph: 1, descr: unknown } + - { value: 2, generic: 0, graph: 1, descr: batteryNormal } + - { value: 3, generic: 1, graph: 1, descr: batteryLow } + - { value: 4, generic: 2, graph: 1, descr: batteryDepleted } + voltage: + data: + - + oid: UPS-MIB::upsInputTable + value: UPS-MIB::upsInputVoltage + num_oid: '.1.3.6.1.4.1.13891.101.3.3.1.3.{{ $index }}' + index: 'upsInputVoltage.{{ $index }}' + descr: 'Input #{{ $index }}' + divisor: 10 + - + oid: UPS-MIB::upsOutputVoltage + value: UPS-MIB::upsOutputVoltage + num_oid: '.1.3.6.1.4.1.13891.101.4.4.1.2.{{ $index }}' + index: 'upsOutputVoltage.{{ $index }}' + descr: 'Output #{{ $index }}' + divisor: 10 + - + oid: UPS-MIB::upsBatteryVoltage + num_oid: '.1.3.6.1.4.1.13891.101.2.5.{{ $index }}' + index: 'upsBatteryVoltage.{{ $index }}' + descr: Battery + divisor: 10 diff --git a/includes/definitions/sinetica.yaml b/includes/definitions/sinetica.yaml index 4ee9e29c9f94..32caa3c7dd2d 100644 --- a/includes/definitions/sinetica.yaml +++ b/includes/definitions/sinetica.yaml @@ -3,6 +3,7 @@ text: 'Sinetica UPS' group: ups type: power icon: mitsubishi +mib_dir: mitsubishi over: - { graph: device_current, text: Current } discovery: diff --git a/includes/discovery/sensors/charge/sinetica.inc.php b/includes/discovery/sensors/charge/sinetica.inc.php deleted file mode 100644 index 9bdb2a9a63d8..000000000000 --- a/includes/discovery/sensors/charge/sinetica.inc.php +++ /dev/null @@ -1,52 +0,0 @@ -. - * - * @link https://www.librenms.org - * - * @copyright 2016 Tony Murray - * @author Tony Murray - */ -$charge_oid = '.1.3.6.1.4.1.13891.101.2.4.0'; -$charge = snmp_get($device, $charge_oid, '-Osqnv'); - -if (! empty($charge)) { - $type = 'sinetica'; - $index = 0; - $limit = 100; - $lowlimit = 0; - $lowwarnlimit = 10; - $descr = 'Battery Charge'; - - discover_sensor( - null, - 'charge', - $device, - $charge_oid, - $index, - $type, - $descr, - 1, - 1, - $lowlimit, - $lowwarnlimit, - null, - $limit, - $charge - ); -} diff --git a/includes/discovery/sensors/current/sinetica.inc.php b/includes/discovery/sensors/current/sinetica.inc.php deleted file mode 100644 index b34d1452e02e..000000000000 --- a/includes/discovery/sensors/current/sinetica.inc.php +++ /dev/null @@ -1,72 +0,0 @@ -. - * - * @link https://www.librenms.org - * - * @copyright 2016 Tony Murray - * @author Tony Murray - */ -$battery_oid = '.1.3.6.1.4.1.13891.101.2.6.0'; -$battery_current = snmp_get($device, $battery_oid, '-Oqv'); - -if (! empty($battery_current) || $battery_current == 0) { - $divisor = 10; - $current = $battery_current / $divisor; - $descr = 'Battery'; - $type = 'sinetica'; - $index = '2.6.0'; - - discover_sensor(null, 'current', $device, $battery_oid, $index, $type, $descr, $divisor, '1', null, null, null, null, $current); -} - -$oids = snmpwalk_cache_oid_num($device, '.1.3.6.1.4.1.13891.101.4.4.1.3', []); - -foreach ($oids as $oid => $data) { - $current_id = substr($oid, strrpos($oid, '.') + 1); - - $current_oid = ".$oid"; - $descr = 'Output'; - if (count($oids) > 1) { - $descr .= " Phase $current_id"; - } - $divisor = 100; - $current = current($data) / $divisor; - $type = 'sinetica'; - $index = '4.4.1.3.' . $current_id; - - discover_sensor(null, 'current', $device, $current_oid, $index, $type, $descr, $divisor, '1', null, null, null, null, $current); -} - -$oids = snmpwalk_cache_oid_num($device, '.1.3.6.1.4.1.13891.101.3.3.1.4', []); - -foreach ($oids as $oid => $data) { - $current_id = substr($oid, strrpos($oid, '.') + 1); - - $current_oid = ".$oid"; - $descr = 'Input'; - if (count($oids) > 1) { - $descr .= " Phase $current_id"; - } - $divisor = 10; - $current = current($data) / $divisor; - $type = 'sinetica'; - $index = '3.3.1.3.' . $current_id; - - discover_sensor(null, 'current', $device, $current_oid, $index, $type, $descr, $divisor, '1', null, null, null, null, $current); -} diff --git a/includes/discovery/sensors/frequency/sinetica.inc.php b/includes/discovery/sensors/frequency/sinetica.inc.php deleted file mode 100644 index 6a866d9e0227..000000000000 --- a/includes/discovery/sensors/frequency/sinetica.inc.php +++ /dev/null @@ -1,67 +0,0 @@ -. - * - * @link https://www.librenms.org - * - * @copyright 2016 Tony Murray - * @author Tony Murray - */ -$output_oid = '.1.3.6.1.4.1.13891.101.4.2.0'; -$output_current = snmp_get($device, $output_oid, '-Oqv'); - -if (! empty($output_current) || $output_current == 0) { - $divisor = 10; - $current = $output_current / $divisor; - $descr = 'Output'; - $type = 'sinetica'; - $index = '4.2.0'; - - discover_sensor(null, 'frequency', $device, $output_oid, $index, $type, $descr, $divisor, '1', null, null, null, null, $current); -} - -$bypass_oid = '.1.3.6.1.4.1.13891.101.5.1.0'; -$bypass_current = snmp_get($device, $bypass_oid, '-Oqv'); - -if (! empty($bypass_current) || $bypass_current == 0) { - $divisor = 10; - $current = $bypass_current / $divisor; - $descr = 'Bypass'; - $type = 'sinetica'; - $index = '5.1.0'; - - discover_sensor(null, 'frequency', $device, $bypass_oid, $index, $type, $descr, $divisor, '1', null, null, null, null, $current); -} - -$oids = snmpwalk_cache_oid_num($device, '.1.3.6.1.4.1.13891.101.3.3.1.2', []); - -foreach ($oids as $oid => $data) { - $current_id = substr($oid, strrpos($oid, '.') + 1); - - $current_oid = ".$oid"; - $descr = 'Input'; - if (count($oids) > 1) { - $descr .= " Phase $current_id"; - } - $divisor = 10; - $current = current($data) / $divisor; - $type = 'sinetica'; - $index = '3.3.1.2.' . $current_id; - - discover_sensor(null, 'frequency', $device, $current_oid, $index, $type, $descr, $divisor, '1', null, null, null, null, $current); -} diff --git a/includes/discovery/sensors/load/sinetica.inc.php b/includes/discovery/sensors/load/sinetica.inc.php deleted file mode 100644 index 405f71cb0561..000000000000 --- a/includes/discovery/sensors/load/sinetica.inc.php +++ /dev/null @@ -1,40 +0,0 @@ -. - * - * @link https://www.librenms.org - * - * @copyright 2016 Tony Murray - * @author Tony Murray - */ -$oids = snmpwalk_cache_oid_num($device, '.1.3.6.1.4.1.13891.101.4.4.1.5', []); - -foreach ($oids as $oid => $data) { - $current_id = substr($oid, strrpos($oid, '.') + 1); - - $current_oid = ".$oid"; - $descr = 'Output'; - if (count($oids) > 1) { - $descr .= " $current_id"; - } - $current = current($data); - $type = 'sinetica'; - $index = '4.4.1.5.' . $current_id; - - discover_sensor(null, 'load', $device, $current_oid, $index, $type, $descr, 1, 1, null, null, null, null, $current); -} diff --git a/includes/discovery/sensors/power/sinetica.inc.php b/includes/discovery/sensors/power/sinetica.inc.php deleted file mode 100644 index 1949d3bf6709..000000000000 --- a/includes/discovery/sensors/power/sinetica.inc.php +++ /dev/null @@ -1,41 +0,0 @@ -. - * - * @link https://www.librenms.org - * - * @copyright 2016 Tony Murray - * @author Tony Murray - */ -$oids = snmpwalk_cache_oid_num($device, '.1.3.6.1.4.1.13891.101.4.4.1.4', []); - -foreach ($oids as $oid => $data) { - $current_id = substr($oid, strrpos($oid, '.') + 1); - - $current_oid = ".$oid"; - $descr = 'Output'; - if (count($oids) > 1) { - $descr .= " Phase $current_id"; - } - $divisor = 10; - $current = current($data) / $divisor; - $type = 'sinetica'; - $index = '4.4.1.4.' . $current_id; - - discover_sensor(null, 'power', $device, $current_oid, $index, $type, $descr, $divisor, 1, null, null, null, null, $current); -} diff --git a/includes/discovery/sensors/runtime/sinetica.inc.php b/includes/discovery/sensors/runtime/sinetica.inc.php deleted file mode 100644 index abe1845bdc37..000000000000 --- a/includes/discovery/sensors/runtime/sinetica.inc.php +++ /dev/null @@ -1,35 +0,0 @@ -. - * - * @link https://www.librenms.org - * - * @copyright 2016 Tony Murray - * @author Tony Murray - */ -$runtime_oid = '.1.3.6.1.4.1.13891.101.2.3.0'; -$runtime = snmp_get($device, $runtime_oid, '-Osqvt'); - -if (! empty($runtime)) { - $type = 'sinetcia'; - $index = '2.3.0'; - $descr = 'Runtime'; - $low_limit = 5; - $low_limit_warn = 10; - discover_sensor(null, 'runtime', $device, $runtime_oid, $index, $type, $descr, 1, 1, $low_limit, $low_limit_warn, null, null, $runtime); -} diff --git a/includes/discovery/sensors/voltage/sinetica.inc.php b/includes/discovery/sensors/voltage/sinetica.inc.php deleted file mode 100644 index 7775bf9d3127..000000000000 --- a/includes/discovery/sensors/voltage/sinetica.inc.php +++ /dev/null @@ -1,70 +0,0 @@ -. - * - * @link https://www.librenms.org - * - * @copyright 2016 Tony Murray - * @author Tony Murray - */ -$battery_oid = '.1.3.6.1.4.1.13891.101.2.5.0'; -$battery_current = snmp_get($device, $battery_oid, '-Oqv'); - -if (! empty($battery_current) || $battery_current == 0) { - $divisor = 10; - $current = $battery_current / $divisor; - $descr = 'Battery'; - $type = 'sinetica'; - $index = '2.5.0'; - - discover_sensor(null, 'voltage', $device, $battery_oid, $index, $type, $descr, $divisor, '1', null, null, null, null, $current); -} - -$oids = snmpwalk_cache_oid_num($device, '.1.3.6.1.4.1.13891.101.3.3.1.3', []); - -foreach ($oids as $oid => $data) { - $current_id = substr($oid, strrpos($oid, '.') + 1); - - $current_oid = ".$oid"; - $descr = 'Output'; - if (count($oids) > 1) { - $descr .= " Phase $current_id"; - } - $current = current($data); - $type = 'sinetica'; - $index = '3.3.1.3.' . $current_id; - - discover_sensor(null, 'voltage', $device, $current_oid, $index, $type, $descr, 1, 1, null, null, null, null, $current); -} - -$oids = snmpwalk_cache_oid_num($device, '.1.3.6.1.4.1.13891.101.4.4.1.2', []); - -foreach ($oids as $oid => $data) { - $current_id = substr($oid, strrpos($oid, '.') + 1); - - $current_oid = ".$oid"; - $descr = 'Input'; - if (count($oids) > 1) { - $descr .= " Phase $current_id"; - } - $current = current($data); - $type = 'sinetica'; - $index = '4.4.1.2.' . $current_id; - - discover_sensor(null, 'voltage', $device, $current_oid, $index, $type, $descr, 1, '1', null, null, null, null, $current); -} diff --git a/mibs/mitsubishi/NET-SNMP-MIB b/mibs/mitsubishi/NET-SNMP-MIB deleted file mode 100644 index f7b0fbae5d8f..000000000000 --- a/mibs/mitsubishi/NET-SNMP-MIB +++ /dev/null @@ -1,67 +0,0 @@ -NET-SNMP-MIB DEFINITIONS ::= BEGIN - --- --- Top-level infrastructure of the Net-SNMP project enterprise MIB tree --- - -IMPORTS - MODULE-IDENTITY, enterprises FROM SNMPv2-SMI; - -netSnmp MODULE-IDENTITY - LAST-UPDATED "200201300000Z" - ORGANIZATION "www.net-snmp.org" - CONTACT-INFO - "postal: Wes Hardaker - P.O. Box 382 - Davis CA 95617 - - email: net-snmp-coders@lists.sourceforge.net" - DESCRIPTION - "Top-level infrastructure of the Net-SNMP project enterprise MIB tree" - REVISION "200201300000Z" - DESCRIPTION - "First draft" - ::= { enterprises 8072} - - --- --- Net-SNMP enterprise-specific management objects --- - -netSnmpObjects OBJECT IDENTIFIER ::= {netSnmp 1} --- netSnmpExamples OBJECT IDENTIFIER ::= {netSnmp 2} -netSnmpEnumerations OBJECT IDENTIFIER ::= {netSnmp 3} -netSnmpModuleIDs OBJECT IDENTIFIER ::= {netSnmpEnumerations 1} -netSnmpAgentOIDs OBJECT IDENTIFIER ::= {netSnmpEnumerations 2} -netSnmpDomains OBJECT IDENTIFIER ::= {netSnmpEnumerations 3} -netSnmpExperimental OBJECT IDENTIFIER ::= {netSnmp 9999} - --- --- A subtree specifically designed for private testing purposes. --- No "public" management objects should ever be defined within this tree. --- --- It is provided for private experimentation, prior to transferring a MIB --- structure to another part of the overall OID tree --- -netSnmpPlaypen OBJECT IDENTIFIER ::= {netSnmpExperimental 9999} - - --- --- Notifications --- - -netSnmpNotificationPrefix OBJECT IDENTIFIER ::= {netSnmp 4} -netSnmpNotifications OBJECT IDENTIFIER ::= {netSnmpNotificationPrefix 0} -netSnmpNotificationObjects OBJECT IDENTIFIER ::= {netSnmpNotificationPrefix 1} - - --- --- Conformance --- (No laughing at the back!) --- - -netSnmpConformance OBJECT IDENTIFIER ::= {netSnmp 5} -netSnmpCompliances OBJECT IDENTIFIER ::= {netSnmpConformance 1} -netSnmpGroups OBJECT IDENTIFIER ::= {netSnmpConformance 2} - -END diff --git a/mibs/mitsubishi/UPS-MIB b/mibs/mitsubishi/UPS-MIB index f1c84ee6bfe2..279c23207fa0 100644 --- a/mibs/mitsubishi/UPS-MIB +++ b/mibs/mitsubishi/UPS-MIB @@ -3,6 +3,8 @@ UPS-MIB DEFINITIONS ::= BEGIN IMPORTS + enterprises + FROM RFC1155-SMI TRAP-TYPE FROM RFC-1215 DisplayString @@ -57,7 +59,7 @@ upsIdentAgentSoftwareVersion OBJECT-TYPE STATUS mandatory DESCRIPTION "The UPS agent software version. This variable may or may - not have the same value as upsIdentUPSSoftwareVersion in + not have the same value as upsIdentUPSSoftwareVersion in some implementations." ::= { upsIdent 4 } @@ -82,7 +84,7 @@ upsIdentAttachedDevices OBJECT-TYPE upsBattery OBJECT IDENTIFIER ::= { MitsubishiUPS 2 } upsBatteryStatus OBJECT-TYPE - SYNTAX INTEGER + SYNTAX INTEGER { unknown(1), batteryNormal(2), @@ -92,12 +94,12 @@ upsBatteryStatus OBJECT-TYPE ACCESS read-only STATUS mandatory DESCRIPTION - "The indication of the capacity remaining in the UPS batteries. - A value of batteryNormal indicates a normal battery condition. - A value of batteryLow indicates the remaining battery run-time + "The indication of the capacity remaining in the UPS batteries. + A value of batteryNormal indicates a normal battery condition. + A value of batteryLow indicates the remaining battery run-time will not maintain the output load for an extended period of time. A value of batteryDepleted indicates that the UPS will be unable - to sustain the present load when and if the utility power is lost." + to sustain the present load when and if the utility power is lost." ::= { upsBattery 1 } upsSecondsOnBattery OBJECT-TYPE @@ -106,8 +108,8 @@ upsSecondsOnBattery OBJECT-TYPE STATUS mandatory DESCRIPTION "If the unit is on battery power, the elapsed time in seconds - since the UPS last switched to battery power, or the time since - the network management system was last restarted, whichever is less. + since the UPS last switched to battery power, or the time since + the network management system was last restarted, whichever is less. Zero shall be returned if the unit is not on battery power." ::= { upsBattery 2 } @@ -117,7 +119,7 @@ upsEstimatedMinutesRemaining OBJECT-TYPE STATUS mandatory DESCRIPTION "An estimate of the time in minutes until the battery is depleted - under the present load conditions if the utility power is off and + under the present load conditions if the utility power is off and remains off, or if it were to be lost and remain off." ::= { upsBattery 3 } @@ -126,7 +128,7 @@ upsEstimatedChargeRemaining OBJECT-TYPE ACCESS read-only STATUS mandatory DESCRIPTION - "An estimate of the battery charge remaining expressed as a + "An estimate of the battery charge remaining expressed as a percent of full charge." ::= { upsBattery 4 } @@ -162,9 +164,9 @@ upsInputLineBads OBJECT-TYPE STATUS mandatory DESCRIPTION "A count of the number of times the input entered an - out-of-tolerance condition as defined by the manufacturer. - This count is incremented by one each time the input - transitions from zero out-of-tolerance lines to one or more + out-of-tolerance condition as defined by the manufacturer. + This count is incremented by one each time the input + transitions from zero out-of-tolerance lines to one or more input lines out-of-tolerance." ::= { upsInput 1 } @@ -197,7 +199,7 @@ upsInputEntry OBJECT-TYPE ::= { upsInputTable 1 } UpsInputEntry ::= - SEQUENCE + SEQUENCE { upsInputLineIndex PositiveInteger, upsInputFrequency NonNegativeInteger, @@ -249,7 +251,7 @@ upsInputTruePower OBJECT-TYPE upsOutput OBJECT IDENTIFIER ::= { MitsubishiUPS 4 } upsOutputSource OBJECT-TYPE - SYNTAX INTEGER + SYNTAX INTEGER { other(1), none(2), @@ -263,7 +265,7 @@ upsOutputSource OBJECT-TYPE STATUS mandatory DESCRIPTION "The present source of output power. A value of none (2) indicates - there is no source of output power (and therefore no output power), + there is no source of output power (and therefore no output power), for example, the system has opened the output breaker." ::= { upsOutput 1 } @@ -304,7 +306,7 @@ upsOutputEntry OBJECT-TYPE ::= { upsOutputTable 1 } UpsOutputEntry ::= - SEQUENCE + SEQUENCE { upsOutputLineIndex PositiveInteger, upsOutputVoltage NonNegativeInteger, @@ -350,8 +352,8 @@ upsOutputPercentLoad OBJECT-TYPE ACCESS read-only STATUS mandatory DESCRIPTION - "The percentage of the UPS power capacity presently being - used on this output line (the greater of the percent load + "The percentage of the UPS power capacity presently being + used on this output line (the greater of the percent load of true power capacity and the percent load of VA." ::= { upsOutputEntry 5 } @@ -394,7 +396,7 @@ upsBypassEntry OBJECT-TYPE ::= { upsBypassTable 1 } UpsBypassEntry ::= - SEQUENCE + SEQUENCE { upsBypassLineIndex PositiveInteger, upsBypassVoltage NonNegativeInteger, @@ -449,11 +451,11 @@ upsAlarmTable OBJECT-TYPE ACCESS not-accessible STATUS mandatory DESCRIPTION - "A list of alarm table entries. Alarms are named by - an OBJECT IDENTIFIER, upsAlarmDescr, to allow a single - table to reflect well known alarms plus alarms defined + "A list of alarm table entries. Alarms are named by + an OBJECT IDENTIFIER, upsAlarmDescr, to allow a single + table to reflect well known alarms plus alarms defined by a particular implementation, i.e., as documented in - the private enterprise MIB definition for the device. + the private enterprise MIB definition for the device. No two rows will have the same value of upsAlarmDescr, since alarms define conditions. In order to meet this requirement, care should be taken in the definition of @@ -475,7 +477,7 @@ upsAlarmEntry OBJECT-TYPE ::= { upsAlarmTable 1 } UpsAlarmEntry ::= - SEQUENCE + SEQUENCE { upsAlarmId PositiveInteger, upsAlarmDescr AutonomousType, @@ -746,7 +748,7 @@ upsAlarmAwaitingPower OBJECT-TYPE upsTest OBJECT IDENTIFIER ::= { MitsubishiUPS 7 } upsTestId OBJECT-TYPE - SYNTAX OBJECT IDENTIFIER + SYNTAX OBJECT IDENTIFIER ACCESS read-write STATUS mandatory DESCRIPTION @@ -765,7 +767,7 @@ upsTestSpinLock OBJECT-TYPE ::= { upsTest 2 } upsTestResultsSummary OBJECT-TYPE - SYNTAX INTEGER + SYNTAX INTEGER { donePass(1), doneWarning(2), @@ -880,7 +882,7 @@ upsTestDeepBatteryCalibration OBJECT-TYPE upsControl OBJECT IDENTIFIER ::= { MitsubishiUPS 8 } upsShutdownType OBJECT-TYPE - SYNTAX INTEGER + SYNTAX INTEGER { output(1), system(2) @@ -976,7 +978,7 @@ upsRebootWithDuration OBJECT-TYPE ::= { upsControl 4 } upsAutoRestart OBJECT-TYPE - SYNTAX INTEGER + SYNTAX INTEGER { on(1), off(2) @@ -1003,7 +1005,7 @@ upsConfigInputVoltage OBJECT-TYPE ACCESS read-write STATUS mandatory DESCRIPTION - "The magnitude of the nominal input voltage (RMS Volts). + "The magnitude of the nominal input voltage (RMS Volts). On those systems which support read-write access to this object, if there is an attempt to set this variable to a value that is not supported, the request must be @@ -1030,7 +1032,7 @@ upsConfigOutputVoltage OBJECT-TYPE ACCESS read-write STATUS mandatory DESCRIPTION - "The magnitude of the nominal output voltage (RMS Volts). + "The magnitude of the nominal output voltage (RMS Volts). On those systems which support read-write access to this object, if there is an attempt to set this variable to a value that is not supported, the request must be @@ -1044,7 +1046,7 @@ upsConfigOutputFreq OBJECT-TYPE ACCESS read-write STATUS mandatory DESCRIPTION - "The nominal output frequency (0.1 Hertz). On those systems + "The nominal output frequency (0.1 Hertz). On those systems which support read-write access to this object, if there is an attempt to set this variable to a value that is not supported, the request must be rejected and the agent @@ -1083,7 +1085,7 @@ upsConfigLowBattTime OBJECT-TYPE ::= { upsConfig 7 } upsConfigAudibleStatus OBJECT-TYPE - SYNTAX INTEGER + SYNTAX INTEGER { disabled(1), enabled(2), @@ -1111,7 +1113,7 @@ upsConfigLowVoltageTransferPoint OBJECT-TYPE ACCESS read-write STATUS mandatory DESCRIPTION - "The minimum input line voltage (RMS Volts) allowed before + "The minimum input line voltage (RMS Volts) allowed before the UPS system transfers to battery backup." ::= { upsConfig 9 } @@ -1147,7 +1149,7 @@ trapDescription OBJECT-TYPE -- upsTraps OBJECT IDENTIFIER ::= { Tag 101 } alarmCritical TRAP-TYPE - ENTERPRISE MitsubishiUPS + ENTERPRISE MitsubishiUPS VARIABLES { trapCode, trapDescription } DESCRIPTION "Critical alarm." @@ -1161,7 +1163,7 @@ alarmWarning TRAP-TYPE ::= 2 alarmInformation TRAP-TYPE - ENTERPRISE MitsubishiUPS + ENTERPRISE MitsubishiUPS VARIABLES { trapCode, trapDescription } DESCRIPTION "Information alarm." @@ -1175,7 +1177,7 @@ upsAlarmCleared TRAP-TYPE ::= 4 upsTrapInitialization TRAP-TYPE - ENTERPRISE MitsubishiUPS + ENTERPRISE MitsubishiUPS VARIABLES { upsIdentName } DESCRIPTION "This trap is sent each time a NetCom device is initialized." diff --git a/tests/data/sinetica.json b/tests/data/sinetica.json new file mode 100644 index 000000000000..78cbee948737 --- /dev/null +++ b/tests/data/sinetica.json @@ -0,0 +1,1145 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "sysname", + "sysObjectID": ".1.3.6.1.4.1.13891.101", + "sysDescr": "Sinetica UPSController. Versions: App. 6.04.03, OS 6.3, Btldr 1.06.09, H/w ZBBNC2 Rev 1.01.06", + "sysContact": "sysContact", + "version": "6.3", + "hardware": "ZBBNC2", + "features": null, + "location": "sysLocation", + "os": "sinetica", + "type": "power", + "serial": null, + "icon": "mitsubishi.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": "other", + "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": "iso88023Csmacd", + "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": 0, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "other", + "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": 0, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 0, + "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": 0, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 0, + "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": 10000000, + "ifSpeed_prev": null, + "ifConnectorPresent": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "iso88023Csmacd", + "ifAlias": "eth0", + "ifPhysAddress": "00076e031c49", + "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": 6352314, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 7848540, + "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": 1736049599, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 921491973, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 5810102, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 22, + "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": "charge", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.2.4.0", + "sensor_index": "upsEstimatedChargeRemaining.0", + "sensor_type": "sinetica", + "sensor_descr": "Battery Charge", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 100, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": 0, + "sensor_limit_low_warn": 10, + "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": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.2.6.0", + "sensor_index": "upsBatteryCurrent.0", + "sensor_type": "sinetica", + "sensor_descr": "Battery", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.3.3.1.4.1", + "sensor_index": "upsInputCurrent.1", + "sensor_type": "sinetica", + "sensor_descr": "Input #1", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 17.7, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.3.3.1.4.2", + "sensor_index": "upsInputCurrent.2", + "sensor_type": "sinetica", + "sensor_descr": "Input #2", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 17.6, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.3.3.1.4.3", + "sensor_index": "upsInputCurrent.3", + "sensor_type": "sinetica", + "sensor_descr": "Input #3", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 17.4, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.3.1", + "sensor_index": "upsOutputCurrent.1", + "sensor_type": "sinetica", + "sensor_descr": "Output #1", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 178, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.3.2", + "sensor_index": "upsOutputCurrent.2", + "sensor_type": "sinetica", + "sensor_descr": "Output #2", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 154, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.3.3", + "sensor_index": "upsOutputCurrent.3", + "sensor_type": "sinetica", + "sensor_descr": "Output #3", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 163, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.5.1.0", + "sensor_index": "upsBypassFrequency.0", + "sensor_type": "sinetica", + "sensor_descr": "Bypass", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 60, + "sensor_limit": 63, + "sensor_limit_warn": null, + "sensor_limit_low": 57, + "sensor_limit_low_warn": null, + "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": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.3.3.1.2.1", + "sensor_index": "upsInputFrequency.1", + "sensor_type": "sinetica", + "sensor_descr": "Input #1", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 60, + "sensor_limit": 63, + "sensor_limit_warn": null, + "sensor_limit_low": 57, + "sensor_limit_low_warn": null, + "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": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.3.3.1.2.2", + "sensor_index": "upsInputFrequency.2", + "sensor_type": "sinetica", + "sensor_descr": "Input #2", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": 0, + "sensor_limit_warn": null, + "sensor_limit_low": 0, + "sensor_limit_low_warn": null, + "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": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.3.3.1.2.3", + "sensor_index": "upsInputFrequency.3", + "sensor_type": "sinetica", + "sensor_descr": "Input #3", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": 0, + "sensor_limit_warn": null, + "sensor_limit_low": 0, + "sensor_limit_low_warn": null, + "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": "load", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.5.1", + "sensor_index": "upsOutputPercentLoad.1", + "sensor_type": "sinetica", + "sensor_descr": "Output #1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 39, + "sensor_limit": 80, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "load", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.5.2", + "sensor_index": "upsOutputPercentLoad.2", + "sensor_type": "sinetica", + "sensor_descr": "Output #2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": 80, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "load", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.5.3", + "sensor_index": "upsOutputPercentLoad.3", + "sensor_type": "sinetica", + "sensor_descr": "Output #3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": 80, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "power", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.4.1", + "sensor_index": "upsOutputPower.1", + "sensor_type": "sinetica", + "sensor_descr": "Output #1", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 5850, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "power", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.4.2", + "sensor_index": "upsOutputPower.2", + "sensor_type": "sinetica", + "sensor_descr": "Output #2", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "power", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.4.3", + "sensor_index": "upsOutputPower.3", + "sensor_type": "sinetica", + "sensor_descr": "Output #3", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "runtime", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.2.3.0", + "sensor_index": "upsEstimatedMinutesRemaining.0", + "sensor_type": "sinetica", + "sensor_descr": "Battery Runtime", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": 5, + "sensor_limit_low_warn": 10, + "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": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.2.1.0", + "sensor_index": "upsBatteryStatus.0", + "sensor_type": "upsBatteryStatus", + "sensor_descr": "Battery 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": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "upsBatteryStatus" + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.2.5.0", + "sensor_index": "upsBatteryVoltage.0", + "sensor_type": "sinetica", + "sensor_descr": "Battery", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 409.9, + "sensor_limit": 471.385, + "sensor_limit_warn": null, + "sensor_limit_low": 348.415, + "sensor_limit_low_warn": null, + "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": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.3.3.1.3.1", + "sensor_index": "upsInputVoltage.1", + "sensor_type": "sinetica", + "sensor_descr": "Input #1", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 20.6, + "sensor_limit": 23.69, + "sensor_limit_warn": null, + "sensor_limit_low": 17.51, + "sensor_limit_low_warn": null, + "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": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.3.3.1.3.2", + "sensor_index": "upsInputVoltage.2", + "sensor_type": "sinetica", + "sensor_descr": "Input #2", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 20.6, + "sensor_limit": 23.69, + "sensor_limit_warn": null, + "sensor_limit_low": 17.51, + "sensor_limit_low_warn": null, + "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": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.3.3.1.3.3", + "sensor_index": "upsInputVoltage.3", + "sensor_type": "sinetica", + "sensor_descr": "Input #3", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 20.6, + "sensor_limit": 23.69, + "sensor_limit_warn": null, + "sensor_limit_low": 17.51, + "sensor_limit_low_warn": null, + "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": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.2.1", + "sensor_index": "upsOutputVoltage.1", + "sensor_type": "sinetica", + "sensor_descr": "Output #1", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 20.8, + "sensor_limit": 23.92, + "sensor_limit_warn": null, + "sensor_limit_low": 17.68, + "sensor_limit_low_warn": null, + "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": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.2.2", + "sensor_index": "upsOutputVoltage.2", + "sensor_type": "sinetica", + "sensor_descr": "Output #2", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 20.8, + "sensor_limit": 23.92, + "sensor_limit_warn": null, + "sensor_limit_low": 17.68, + "sensor_limit_low_warn": null, + "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": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.13891.101.4.4.1.2.3", + "sensor_index": "upsOutputVoltage.3", + "sensor_type": "sinetica", + "sensor_descr": "Output #3", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 20.9, + "sensor_limit": 24.035, + "sensor_limit_warn": null, + "sensor_limit_low": 17.765, + "sensor_limit_low_warn": null, + "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": "upsBatteryStatus", + "state_descr": "unknown", + "state_draw_graph": 1, + "state_value": 1, + "state_generic_value": 3 + }, + { + "state_name": "upsBatteryStatus", + "state_descr": "batteryNormal", + "state_draw_graph": 1, + "state_value": 2, + "state_generic_value": 0 + }, + { + "state_name": "upsBatteryStatus", + "state_descr": "batteryLow", + "state_draw_graph": 1, + "state_value": 3, + "state_generic_value": 1 + }, + { + "state_name": "upsBatteryStatus", + "state_descr": "batteryDepleted", + "state_draw_graph": 1, + "state_value": 4, + "state_generic_value": 2 + } + ] + }, + "poller": "matches discovery" + } +} diff --git a/tests/snmpsim/sinetica.snmprec b/tests/snmpsim/sinetica.snmprec index 2732f07e8c8e..383e97a49a85 100644 --- a/tests/snmpsim/sinetica.snmprec +++ b/tests/snmpsim/sinetica.snmprec @@ -1,2 +1,310 @@ 1.3.6.1.2.1.1.1.0|4|Sinetica UPSController. Versions: App. 6.04.03, OS 6.3, Btldr 1.06.09, H/w ZBBNC2 Rev 1.01.06 -1.3.6.1.2.1.1.2.0|6|.1.3.6.1.4.1.13891.101 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.13891.101 +1.3.6.1.2.1.1.3.0|67|4287756949 +1.3.6.1.2.1.1.4.0|4|sysContact +1.3.6.1.2.1.1.5.0|4|sysName +1.3.6.1.2.1.1.6.0|4|sysLocation +1.3.6.1.2.1.1.7.0|2|72 +1.3.6.1.2.1.1.8.0|67|1382 +1.3.6.1.2.1.1.9.1.2.1|6|1.3.6.1.2.1.1.9.1 +1.3.6.1.2.1.1.9.1.3.1|4|The sysORTable capabilities are still being explored. It appears that the AGENT-CAPABILITIES macro in the MIB definitions should be used to generate these table entries. See RFC2580 +1.3.6.1.2.1.1.9.1.4.1|67|1382 +1.3.6.1.2.1.2.1.0|2|2 +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|1 +1.3.6.1.2.1.2.2.1.3.2|2|7 +1.3.6.1.2.1.2.2.1.4.1|2|1500 +1.3.6.1.2.1.2.2.1.4.2|2|1500 +1.3.6.1.2.1.2.2.1.5.1|66|0 +1.3.6.1.2.1.2.2.1.5.2|66|10000000 +1.3.6.1.2.1.2.2.1.6.1|4x|00 +1.3.6.1.2.1.2.2.1.6.2|4x|00076E031C49 +1.3.6.1.2.1.2.2.1.7.1|2|1 +1.3.6.1.2.1.2.2.1.7.2|2|1 +1.3.6.1.2.1.2.2.1.8.1|2|1 +1.3.6.1.2.1.2.2.1.8.2|2|1 +1.3.6.1.2.1.2.2.1.9.1|67|0 +1.3.6.1.2.1.2.2.1.9.2|67|0 +1.3.6.1.2.1.2.2.1.10.1|65|0 +1.3.6.1.2.1.2.2.1.10.2|65|1736049599 +1.3.6.1.2.1.2.2.1.11.1|65|0 +1.3.6.1.2.1.2.2.1.11.2|65|6352314 +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|5810102 +1.3.6.1.2.1.2.2.1.13.1|65|0 +1.3.6.1.2.1.2.2.1.13.2|65|0 +1.3.6.1.2.1.2.2.1.14.1|65|0 +1.3.6.1.2.1.2.2.1.14.2|65|0 +1.3.6.1.2.1.2.2.1.15.1|65|0 +1.3.6.1.2.1.2.2.1.15.2|65|0 +1.3.6.1.2.1.2.2.1.16.1|65|0 +1.3.6.1.2.1.2.2.1.16.2|65|921491973 +1.3.6.1.2.1.2.2.1.17.1|65|0 +1.3.6.1.2.1.2.2.1.17.2|65|7848540 +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|22 +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.3.1.1.1.2.1.10.10.11.1|2|2 +1.3.6.1.2.1.3.1.1.2.2.1.10.10.11.1|4x|0007B34E6F0A +1.3.6.1.2.1.3.1.1.3.2.1.10.10.11.1|64|10.10.11.1 +1.3.6.1.2.1.4.1.0|2|2 +1.3.6.1.2.1.4.2.0|2|60 +1.3.6.1.2.1.4.3.0|65|9161020 +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|9161020 +1.3.6.1.2.1.4.10.0|65|7845557 +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.13.0|2|60 +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.4.20.1.1.10.10.11.84|64|10.10.11.84 +1.3.6.1.2.1.4.20.1.1.127.0.0.1|64|127.0.0.1 +1.3.6.1.2.1.4.20.1.2.10.10.11.84|2|2 +1.3.6.1.2.1.4.20.1.2.127.0.0.1|2|1 +1.3.6.1.2.1.4.20.1.3.10.10.11.84|64|255.255.255.0 +1.3.6.1.2.1.4.20.1.3.127.0.0.1|64|255.0.0.0 +1.3.6.1.2.1.4.20.1.4.10.10.11.84|2|1 +1.3.6.1.2.1.4.20.1.4.127.0.0.1|2|1 +1.3.6.1.2.1.4.20.1.5.10.10.11.84|2|65535 +1.3.6.1.2.1.4.20.1.5.127.0.0.1|2|65535 +1.3.6.1.2.1.4.21.1.1.0.0.0.0|64|0.0.0.0 +1.3.6.1.2.1.4.21.1.1.10.10.11.0|64|10.10.11.0 +1.3.6.1.2.1.4.21.1.1.127.0.0.0|64|127.0.0.0 +1.3.6.1.2.1.4.21.1.2.0.0.0.0|2|2 +1.3.6.1.2.1.4.21.1.2.10.10.11.0|2|2 +1.3.6.1.2.1.4.21.1.2.127.0.0.0|2|1 +1.3.6.1.2.1.4.21.1.3.0.0.0.0|2|1 +1.3.6.1.2.1.4.21.1.3.10.10.11.0|2|1 +1.3.6.1.2.1.4.21.1.3.127.0.0.0|2|1 +1.3.6.1.2.1.4.21.1.4.0.0.0.0|2|-1 +1.3.6.1.2.1.4.21.1.4.10.10.11.0|2|-1 +1.3.6.1.2.1.4.21.1.4.127.0.0.0|2|-1 +1.3.6.1.2.1.4.21.1.5.0.0.0.0|2|-1 +1.3.6.1.2.1.4.21.1.5.10.10.11.0|2|-1 +1.3.6.1.2.1.4.21.1.5.127.0.0.0|2|-1 +1.3.6.1.2.1.4.21.1.6.0.0.0.0|2|-1 +1.3.6.1.2.1.4.21.1.6.10.10.11.0|2|-1 +1.3.6.1.2.1.4.21.1.6.127.0.0.0|2|-1 +1.3.6.1.2.1.4.21.1.7.0.0.0.0|64|10.10.11.1 +1.3.6.1.2.1.4.21.1.7.10.10.11.0|64|10.10.11.84 +1.3.6.1.2.1.4.21.1.7.127.0.0.0|64|127.0.0.1 +1.3.6.1.2.1.4.21.1.8.0.0.0.0|2|4 +1.3.6.1.2.1.4.21.1.8.10.10.11.0|2|3 +1.3.6.1.2.1.4.21.1.8.127.0.0.0|2|3 +1.3.6.1.2.1.4.21.1.9.0.0.0.0|2|2 +1.3.6.1.2.1.4.21.1.9.10.10.11.0|2|2 +1.3.6.1.2.1.4.21.1.9.127.0.0.0|2|2 +1.3.6.1.2.1.4.21.1.10.0.0.0.0|2|23168 +1.3.6.1.2.1.4.21.1.10.10.10.11.0|2|23168 +1.3.6.1.2.1.4.21.1.10.127.0.0.0|2|23169 +1.3.6.1.2.1.4.21.1.11.0.0.0.0|64|0.0.0.0 +1.3.6.1.2.1.4.21.1.11.10.10.11.0|64|255.255.255.0 +1.3.6.1.2.1.4.21.1.11.127.0.0.0|64|255.0.0.0 +1.3.6.1.2.1.4.21.1.12.0.0.0.0|2|-1 +1.3.6.1.2.1.4.21.1.12.10.10.11.0|2|-1 +1.3.6.1.2.1.4.21.1.12.127.0.0.0|2|-1 +1.3.6.1.2.1.4.21.1.13.0.0.0.0|6|0.0 +1.3.6.1.2.1.4.21.1.13.10.10.11.0|6|0.0 +1.3.6.1.2.1.4.21.1.13.127.0.0.0|6|0.0 +1.3.6.1.2.1.4.22.1.1.2.10.10.11.1|2|2 +1.3.6.1.2.1.4.22.1.2.2.10.10.11.1|4x|0007B34E6F0A +1.3.6.1.2.1.4.22.1.3.2.10.10.11.1|64|10.10.11.1 +1.3.6.1.2.1.4.22.1.4.2.10.10.11.1|2|3 +1.3.6.1.2.1.4.23.0|65|0 +1.3.6.1.2.1.5.1.0|65|847309 +1.3.6.1.2.1.5.2.0|65|0 +1.3.6.1.2.1.5.3.0|65|42 +1.3.6.1.2.1.5.4.0|65|0 +1.3.6.1.2.1.5.5.0|65|0 +1.3.6.1.2.1.5.6.0|65|0 +1.3.6.1.2.1.5.7.0|65|0 +1.3.6.1.2.1.5.8.0|65|847244 +1.3.6.1.2.1.5.9.0|65|21 +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|847363 +1.3.6.1.2.1.5.15.0|65|0 +1.3.6.1.2.1.5.16.0|65|119 +1.3.6.1.2.1.5.17.0|65|0 +1.3.6.1.2.1.5.18.0|65|0 +1.3.6.1.2.1.5.19.0|65|0 +1.3.6.1.2.1.5.20.0|65|0 +1.3.6.1.2.1.5.21.0|65|0 +1.3.6.1.2.1.5.22.0|65|847244 +1.3.6.1.2.1.5.23.0|65|0 +1.3.6.1.2.1.5.24.0|65|0 +1.3.6.1.2.1.5.25.0|65|0 +1.3.6.1.2.1.5.26.0|65|0 +1.3.6.1.2.1.6.1.0|2|1 +1.3.6.1.2.1.6.2.0|2|1000 +1.3.6.1.2.1.6.3.0|2|10000 +1.3.6.1.2.1.6.4.0|2|-1 +1.3.6.1.2.1.6.5.0|65|2 +1.3.6.1.2.1.6.6.0|65|38 +1.3.6.1.2.1.6.7.0|65|14 +1.3.6.1.2.1.6.8.0|65|0 +1.3.6.1.2.1.6.9.0|66|0 +1.3.6.1.2.1.6.10.0|65|5593 +1.3.6.1.2.1.6.11.0|65|1023 +1.3.6.1.2.1.6.12.0|65|13 +1.3.6.1.2.1.6.13.1.1.0.0.0.0.80.0.0.0.0.0|2|2 +1.3.6.1.2.1.6.13.1.1.0.0.0.0.443.0.0.0.0.0|2|2 +1.3.6.1.2.1.6.13.1.1.0.0.0.0.5769.0.0.0.0.0|2|2 +1.3.6.1.2.1.6.13.1.1.127.0.0.1.7134.0.0.0.0.0|2|2 +1.3.6.1.2.1.6.13.1.2.0.0.0.0.80.0.0.0.0.0|64|0.0.0.0 +1.3.6.1.2.1.6.13.1.2.0.0.0.0.443.0.0.0.0.0|64|0.0.0.0 +1.3.6.1.2.1.6.13.1.2.0.0.0.0.5769.0.0.0.0.0|64|0.0.0.0 +1.3.6.1.2.1.6.13.1.2.127.0.0.1.7134.0.0.0.0.0|64|127.0.0.1 +1.3.6.1.2.1.6.13.1.3.0.0.0.0.80.0.0.0.0.0|2|80 +1.3.6.1.2.1.6.13.1.3.0.0.0.0.443.0.0.0.0.0|2|443 +1.3.6.1.2.1.6.13.1.3.0.0.0.0.5769.0.0.0.0.0|2|5769 +1.3.6.1.2.1.6.13.1.3.127.0.0.1.7134.0.0.0.0.0|2|7134 +1.3.6.1.2.1.6.13.1.4.0.0.0.0.80.0.0.0.0.0|64|0.0.0.0 +1.3.6.1.2.1.6.13.1.4.0.0.0.0.443.0.0.0.0.0|64|0.0.0.0 +1.3.6.1.2.1.6.13.1.4.0.0.0.0.5769.0.0.0.0.0|64|0.0.0.0 +1.3.6.1.2.1.6.13.1.4.127.0.0.1.7134.0.0.0.0.0|64|0.0.0.0 +1.3.6.1.2.1.6.13.1.5.0.0.0.0.80.0.0.0.0.0|2|0 +1.3.6.1.2.1.6.13.1.5.0.0.0.0.443.0.0.0.0.0|2|0 +1.3.6.1.2.1.6.13.1.5.0.0.0.0.5769.0.0.0.0.0|2|0 +1.3.6.1.2.1.6.13.1.5.127.0.0.1.7134.0.0.0.0.0|2|0 +1.3.6.1.2.1.6.14.0|65|0 +1.3.6.1.2.1.6.15.0|65|673 +1.3.6.1.2.1.7.1.0|65|8308131 +1.3.6.1.2.1.7.2.0|65|2811819 +1.3.6.1.2.1.7.3.0|65|0 +1.3.6.1.2.1.7.4.0|65|6997185 +1.3.6.1.2.1.7.5.1.1.0.0.0.0.69|64|0.0.0.0 +1.3.6.1.2.1.7.5.1.1.0.0.0.0.123|64|0.0.0.0 +1.3.6.1.2.1.7.5.1.1.0.0.0.0.161|64|0.0.0.0 +1.3.6.1.2.1.7.5.1.1.0.0.0.0.1027|64|0.0.0.0 +1.3.6.1.2.1.7.5.1.2.0.0.0.0.69|2|69 +1.3.6.1.2.1.7.5.1.2.0.0.0.0.123|2|123 +1.3.6.1.2.1.7.5.1.2.0.0.0.0.161|2|161 +1.3.6.1.2.1.7.5.1.2.0.0.0.0.1027|2|1027 +1.3.6.1.2.1.8.1.0|65|0 +1.3.6.1.2.1.8.2.0|65|0 +1.3.6.1.2.1.8.3.0|65|0 +1.3.6.1.2.1.8.4.0|65|0 +1.3.6.1.2.1.8.6.0|2|0 +1.3.6.1.2.1.11.1.0|65|5496312 +1.3.6.1.2.1.11.2.0|65|2913945 +1.3.6.1.2.1.11.3.0|65|9768 +1.3.6.1.2.1.11.4.0|65|2572599 +1.3.6.1.2.1.11.5.0|65|2572599 +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|14115395 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|4387243 +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|2913947 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.30.0|2|1 +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.13891.101.1.1.0|4| +1.3.6.1.4.1.13891.101.1.2.0|4| +1.3.6.1.4.1.13891.101.1.3.0|4| +1.3.6.1.4.1.13891.101.1.4.0|4|6.04.03 +1.3.6.1.4.1.13891.101.1.5.0|4| +1.3.6.1.4.1.13891.101.1.6.0|4|ATT. DEVS. +1.3.6.1.4.1.13891.101.2.1.0|2|2 +1.3.6.1.4.1.13891.101.2.2.0|2|0 +1.3.6.1.4.1.13891.101.2.3.0|2|0 +1.3.6.1.4.1.13891.101.2.4.0|2|100 +1.3.6.1.4.1.13891.101.2.5.0|2|4099 +1.3.6.1.4.1.13891.101.2.6.0|2|0 +1.3.6.1.4.1.13891.101.2.7.0|2|0 +1.3.6.1.4.1.13891.101.3.1.0|65|0 +1.3.6.1.4.1.13891.101.3.2.0|2|3 +1.3.6.1.4.1.13891.101.3.3.1.2.1|2|600 +1.3.6.1.4.1.13891.101.3.3.1.2.2|2|0 +1.3.6.1.4.1.13891.101.3.3.1.2.3|2|0 +1.3.6.1.4.1.13891.101.3.3.1.3.1|2|206 +1.3.6.1.4.1.13891.101.3.3.1.3.2|2|206 +1.3.6.1.4.1.13891.101.3.3.1.3.3|2|206 +1.3.6.1.4.1.13891.101.3.3.1.4.1|2|177 +1.3.6.1.4.1.13891.101.3.3.1.4.2|2|176 +1.3.6.1.4.1.13891.101.3.3.1.4.3|2|174 +1.3.6.1.4.1.13891.101.3.3.1.5.1|2|0 +1.3.6.1.4.1.13891.101.3.3.1.5.2|2|0 +1.3.6.1.4.1.13891.101.3.3.1.5.3|2|0 +1.3.6.1.4.1.13891.101.4.1.0|2|3 +1.3.6.1.4.1.13891.101.4.2.0|2|600 +1.3.6.1.4.1.13891.101.4.3.0|2|3 +1.3.6.1.4.1.13891.101.4.4.1.2.1|2|208 +1.3.6.1.4.1.13891.101.4.4.1.2.2|2|208 +1.3.6.1.4.1.13891.101.4.4.1.2.3|2|209 +1.3.6.1.4.1.13891.101.4.4.1.3.1|2|1780 +1.3.6.1.4.1.13891.101.4.4.1.3.2|2|1540 +1.3.6.1.4.1.13891.101.4.4.1.3.3|2|1630 +1.3.6.1.4.1.13891.101.4.4.1.4.1|2|58500 +1.3.6.1.4.1.13891.101.4.4.1.4.2|2|0 +1.3.6.1.4.1.13891.101.4.4.1.4.3|2|0 +1.3.6.1.4.1.13891.101.4.4.1.5.1|2|39 +1.3.6.1.4.1.13891.101.4.4.1.5.2|2|0 +1.3.6.1.4.1.13891.101.4.4.1.5.3|2|0 +1.3.6.1.4.1.13891.101.5.1.0|2|600 +1.3.6.1.4.1.13891.101.5.2.0|2|0 +1.3.6.1.4.1.13891.101.6.1.0|66|0 +1.3.6.1.4.1.13891.101.7.1.0|6|1.3.6.1.4.1.13891.101.7.7.1 +1.3.6.1.4.1.13891.101.7.3.0|2|6 +1.3.6.1.4.1.13891.101.7.4.0|4| +1.3.6.1.4.1.13891.101.7.5.0|67|2147483648 +1.3.6.1.4.1.13891.101.7.6.0|2|0 +1.3.6.1.4.1.13891.101.8.1.0|2|-1 +1.3.6.1.4.1.13891.101.8.2.0|2|-1 +1.3.6.1.4.1.13891.101.8.3.0|2|-1 +1.3.6.1.4.1.13891.101.8.4.0|2|-1 +1.3.6.1.4.1.13891.101.8.5.0|2|-1 +1.3.6.1.4.1.13891.101.9.1.0|2|208 +1.3.6.1.4.1.13891.101.9.2.0|2|600 +1.3.6.1.4.1.13891.101.9.3.0|2|208 +1.3.6.1.4.1.13891.101.9.4.0|2|600 +1.3.6.1.4.1.13891.101.9.5.0|2|150000 +1.3.6.1.4.1.13891.101.9.6.0|2|0 +1.3.6.1.4.1.13891.101.9.7.0|2|0 +1.3.6.1.4.1.13891.101.9.8.0|2|-1 +1.3.6.1.4.1.13891.101.9.9.0|2|0 +1.3.6.1.4.1.13891.101.9.10.0|2|0 +1.3.6.1.4.1.13891.101.10.1.0|66|0 +1.3.6.1.4.1.13891.101.10.2.0|4| +1.3.6.1.6.3.1.1.6.1.0|2|0 +1.3.6.1.6.3.11.2.1.1.0|65|0 +1.3.6.1.6.3.11.2.1.2.0|65|0 +1.3.6.1.6.3.11.2.1.3.0|65|0