mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add WTI POWER os device (#12440)
* Add WTI-POWER-MIB for support WTI VMR, NPS, RPC and NBB Series Power Products - available from https://ftp.wti.com/download/files/WTI-POWER-MIB.txt * Created wti-power os definition together with discovery files. * Add test data for wti-power os, created from available VMR-8HD20 device. * Fixed typo in num_oid * Change os in definition, to match filename
This commit is contained in:
189
includes/definitions/discovery/wti-power.yaml
Normal file
189
includes/definitions/discovery/wti-power.yaml
Normal file
@@ -0,0 +1,189 @@
|
||||
mib: WTI-POWER-MIB
|
||||
modules:
|
||||
os:
|
||||
hardware:
|
||||
- WTI-POWER-MIB::environmentUnitName.1
|
||||
sensors:
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: plugTable
|
||||
value: plugStatus
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.100.200.1.3.{{ $index }}'
|
||||
index: 'plugStatus.{{ $index }}'
|
||||
descr: '{{ $plugName }} State'
|
||||
states:
|
||||
- { value: 1, generic: 0, graph: 0, descr: outletOn }
|
||||
- { value: 0, generic: 3, graph: 0, descr: outletOff }
|
||||
- { value: 2, generic: 1, graph: 0, descr: outletReboot }
|
||||
- { value: 4, generic: 2, graph: 0, descr: outletUnknown }
|
||||
temperature:
|
||||
data:
|
||||
-
|
||||
oid: environmentUnitTemperature
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.10.1.3.{{ $index }}'
|
||||
index: 'environmentUnitTemperature.{{ $index }}'
|
||||
descr: 'Unit temperature'
|
||||
voltage:
|
||||
data:
|
||||
-
|
||||
oid: environmentUnitVoltageA
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.10.1.5.{{ $index }}'
|
||||
index: 'environmentUnitVoltageA.{{ $index }}'
|
||||
descr: 'Branch A Voltage'
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageA.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
-
|
||||
oid: environmentUnitVoltageB
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.10.1.8.{{ $index }}'
|
||||
index: 'environmentUnitVoltageB.{{ $index }}'
|
||||
descr: 'Branch B Voltage'
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageB.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
-
|
||||
oid: environmentUnitVoltageC
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.10.1.11.{{ $index }}'
|
||||
index: 'environmentUnitVoltageC.{{ $index }}'
|
||||
descr: 'Branch C Voltage'
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageC.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
-
|
||||
oid: environmentUnitVoltageD
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.10.1.14.{{ $index }}'
|
||||
index: 'environmentUnitVoltageD.{{ $index }}'
|
||||
descr: 'Branch D Voltage'
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageD.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
current:
|
||||
data:
|
||||
-
|
||||
oid: plugTable
|
||||
value: plugCurrent
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.100.200.1.7.{{ $index }}'
|
||||
index: 'plugCurrent.{{ $index }}'
|
||||
descr: '{{ $plugName }} Current'
|
||||
divisor: 10
|
||||
-
|
||||
oid: environmentTables
|
||||
value: environmentSystemTotalCurrent
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.60.{{ $index }}'
|
||||
index: 'environmentSystemTotalCurrent.{{ $index }}'
|
||||
descr: 'Total Unit Current'
|
||||
divisor: 10
|
||||
-
|
||||
oid: environmentTables
|
||||
value: environmentBranchATotalCurrent
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.20.{{ $index }}'
|
||||
index: 'environmentBranchATotalCurrent.{{ $index }}'
|
||||
descr: 'Branch A Current'
|
||||
divisor: 10
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageA.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
-
|
||||
oid: environmentTables
|
||||
value: environmentBranchBTotalCurrent
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.40.{{ $index }}'
|
||||
index: 'environmentBranchBTotalCurrent.{{ $index }}'
|
||||
descr: 'Branch B Current'
|
||||
divisor: 10
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageB.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
-
|
||||
oid: environmentTables
|
||||
value: environmentBranchCTotalCurrent
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.51.{{ $index }}'
|
||||
index: 'environmentBranchCTotalCurrent.{{ $index }}'
|
||||
descr: 'Branch C Current'
|
||||
divisor: 10
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageC.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
-
|
||||
oid: environmentTables
|
||||
value: environmentBranchDTotalCurrent
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.53.{{ $index }}'
|
||||
index: 'environmentBranchDTotalCurrent.{{ $index }}'
|
||||
descr: 'Branch D Current'
|
||||
divisor: 10
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageD.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
power:
|
||||
data:
|
||||
-
|
||||
oid: plugTable
|
||||
value: plugPower
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.100.200.1.8.{{ $index }}'
|
||||
index: 'plugPower.{{ $index }}'
|
||||
descr: '{{ $plugName }} Power'
|
||||
-
|
||||
oid: environmentSystemTotalPower
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.70.{{ $index }}'
|
||||
index: 'environmentSystemTotalPower.{{ $index }}'
|
||||
descr: 'Total Unit Power'
|
||||
-
|
||||
oid: environmentTables
|
||||
value: environmentBranchATotalPower
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.30.{{ $index }}'
|
||||
index: 'environmentBranchATotalPower.{{ $index }}'
|
||||
descr: 'Branch A Power'
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageA.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
-
|
||||
oid: environmentTables
|
||||
value: environmentBranchBTotalPower
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.50.{{ $index }}'
|
||||
index: 'environmentBranchBTotalPower.{{ $index }}'
|
||||
descr: 'Branch B Power'
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageB.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
-
|
||||
oid: environmentTables
|
||||
value: environmentBranchCTotalPower
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.52.{{ $index }}'
|
||||
index: 'environmentBranchCTotalPower.{{ $index }}'
|
||||
descr: 'Branch C Power'
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageC.1
|
||||
op: '=='
|
||||
value: "0"
|
||||
-
|
||||
oid: environmentTables
|
||||
value: environmentBranchDTotalPower
|
||||
num_oid: '.1.3.6.1.4.1.2634.3.200.54.{{ $index }}'
|
||||
index: 'environmentBranchDTotalPower.{{ $index }}'
|
||||
descr: 'Branch D Power'
|
||||
skip_values:
|
||||
-
|
||||
oid: environmentUnitVoltageD.1
|
||||
op: '=='
|
||||
value: "0"
|
12
includes/definitions/wti-power.yaml
Normal file
12
includes/definitions/wti-power.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
os: wti-power
|
||||
text: 'WTI POWER'
|
||||
type: power
|
||||
icon: wti
|
||||
group: wti
|
||||
mib_dir: wti
|
||||
over:
|
||||
- { graph: device_current, text: Current }
|
||||
- { graph: device_power, text: Power }
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.2634.6
|
950
mibs/wti/WTI-POWER-MIB
Normal file
950
mibs/wti/WTI-POWER-MIB
Normal file
@@ -0,0 +1,950 @@
|
||||
--
|
||||
-- Copyright(C) 2016 Western Telematic, Inc.
|
||||
--
|
||||
|
||||
WTI-POWER-MIB DEFINITIONS ::= BEGIN
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, NOTIFICATION-TYPE,
|
||||
OBJECT-TYPE, enterprises FROM SNMPv2-SMI
|
||||
DisplayString FROM SNMPv2-TC;
|
||||
westernTelematic OBJECT IDENTIFIER ::= { enterprises 2634 }
|
||||
power MODULE-IDENTITY
|
||||
LAST-UPDATED "201604011600Z" -- 01 Apr 2016
|
||||
ORGANIZATION "Western Telematic, Inc."
|
||||
CONTACT-INFO
|
||||
"Western Telematic, Inc.
|
||||
5 Sterling
|
||||
Irvine, Ca 92618
|
||||
Email: anthonyb@wti.com"
|
||||
DESCRIPTION
|
||||
"This is the MIB module for power products"
|
||||
REVISION "201604011600Z" -- 01 Apr 2016
|
||||
DESCRIPTION
|
||||
"V6.00 for power products "
|
||||
::= { westernTelematic 3 }
|
||||
--
|
||||
-- System Tables
|
||||
--
|
||||
systemTables OBJECT IDENTIFIER ::= { power 100 }
|
||||
--
|
||||
-- Plug Table
|
||||
--
|
||||
plugTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF PlugEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table of plugs."
|
||||
::= { systemTables 200 }
|
||||
plugEntry OBJECT-TYPE
|
||||
SYNTAX PlugEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Row definition for the plug table."
|
||||
INDEX { plugIndex }
|
||||
::= { plugTable 1 }
|
||||
PlugEntry ::= SEQUENCE {
|
||||
plugIndex INTEGER,
|
||||
plugID DisplayString,
|
||||
plugStatus INTEGER,
|
||||
plugAction INTEGER,
|
||||
plugName DisplayString,
|
||||
plugCurrent INTEGER,
|
||||
plugPower INTEGER
|
||||
}
|
||||
plugIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..80)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Index for the plug table."
|
||||
::= { plugEntry 1 }
|
||||
plugID OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(9..11))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The ID of the plug."
|
||||
::= { plugEntry 2 }
|
||||
plugStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..1)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Plug status"
|
||||
::= { plugEntry 3 }
|
||||
plugAction OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..8)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Plug action"
|
||||
::= { plugEntry 4 }
|
||||
plugName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The Name of the plug."
|
||||
::= { plugEntry 5 }
|
||||
plugCurrent OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Plug current (In tenths of amps, divide by 10 for value in amps)"
|
||||
::= { plugEntry 7 }
|
||||
plugPower OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Plug power (Watts)"
|
||||
::= { plugEntry 8 }
|
||||
--
|
||||
-- Plug Group Table
|
||||
--
|
||||
plugGroupTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF PlugGroupEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table of plug groups."
|
||||
::= { systemTables 300 }
|
||||
plugGroupEntry OBJECT-TYPE
|
||||
SYNTAX PlugGroupEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Row definition for the plug group table."
|
||||
INDEX { plugGroupIndex }
|
||||
::= { plugGroupTable 1 }
|
||||
PlugGroupEntry ::= SEQUENCE {
|
||||
plugGroupIndex INTEGER,
|
||||
plugGroupName DisplayString,
|
||||
plugGroupAction INTEGER,
|
||||
plugGroupCurrent INTEGER,
|
||||
plugGroupPower INTEGER
|
||||
}
|
||||
plugGroupIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..54)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Index for the plug group table."
|
||||
::= { plugGroupEntry 1 }
|
||||
plugGroupName OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(1..24))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the plug group."
|
||||
::= { plugGroupEntry 2 }
|
||||
plugGroupAction OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..8)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Plug group action"
|
||||
::= { plugGroupEntry 3 }
|
||||
plugGroupCurrent OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Plug group current (In tenths of amps, divide by 10 for value in amps)"
|
||||
::= { plugGroupEntry 4 }
|
||||
plugGroupPower OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Plug group power (Watts)"
|
||||
::= { plugGroupEntry 5 }
|
||||
--
|
||||
-- User Table
|
||||
--
|
||||
userTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF UserEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table of users."
|
||||
::= { systemTables 400 }
|
||||
userEntry OBJECT-TYPE
|
||||
SYNTAX UserEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Row definition for the user table."
|
||||
INDEX { userIndex }
|
||||
::= { userTable 1 }
|
||||
UserEntry ::= SEQUENCE {
|
||||
userIndex INTEGER,
|
||||
userName DisplayString,
|
||||
userPasswd DisplayString,
|
||||
userAccessLevel INTEGER,
|
||||
userPortAccess DisplayString,
|
||||
userLocalAccess DisplayString,
|
||||
userGroupAccess DisplayString,
|
||||
userSerialAccess INTEGER,
|
||||
userTelnetSshAccess INTEGER,
|
||||
userWebAccess INTEGER,
|
||||
userCurrentPowerMetering INTEGER,
|
||||
userCallbackNum DisplayString,
|
||||
userSubmit INTEGER
|
||||
}
|
||||
userIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..128)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Index for the user table."
|
||||
::= { userEntry 1 }
|
||||
userName OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..32))
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the user."
|
||||
::= { userEntry 2 }
|
||||
userPasswd OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(1..16))
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The password of the user."
|
||||
::= { userEntry 3 }
|
||||
userAccessLevel OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..3)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Users access level"
|
||||
::= { userEntry 4 }
|
||||
userPortAccess OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(1..5))
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access to ports."
|
||||
::= { userEntry 5 }
|
||||
userLocalAccess OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(1..20))
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access to LOCAL plugs."
|
||||
::= { userEntry 6 }
|
||||
userGroupAccess OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(1..54))
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access to plug groups."
|
||||
::= { userEntry 10 }
|
||||
userSerialAccess OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..1)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access to serial interface."
|
||||
::= { userEntry 11 }
|
||||
userTelnetSshAccess OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..1)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access to Telnet/SSH interface."
|
||||
::= { userEntry 12 }
|
||||
userWebAccess OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..1)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access to web interface."
|
||||
::= { userEntry 13 }
|
||||
userCurrentPowerMetering OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..1)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access to Current/Power Metering."
|
||||
::= { userEntry 15 }
|
||||
userCallbackNum OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..32))
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Callback number."
|
||||
::= { userEntry 16 }
|
||||
userSubmit OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..1)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Submit changes to user."
|
||||
::= { userEntry 31 }
|
||||
--
|
||||
-- Environment Tables
|
||||
--
|
||||
environmentTables OBJECT IDENTIFIER ::= { power 200 }
|
||||
environmentUnitTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF EnvironmentUnitEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table of environment status for units."
|
||||
::= { environmentTables 10 }
|
||||
environmentUnitEntry OBJECT-TYPE
|
||||
SYNTAX EnvironmentUnitEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Row definition for the environment unit table."
|
||||
INDEX { environmentUnitIndex }
|
||||
::= { environmentUnitTable 1 }
|
||||
EnvironmentUnitEntry ::= SEQUENCE {
|
||||
environmentUnitIndex INTEGER,
|
||||
environmentUnitName DisplayString,
|
||||
environmentUnitTemperature INTEGER,
|
||||
environmentUnitCurrentA INTEGER,
|
||||
environmentUnitVoltageA INTEGER,
|
||||
environmentUnitPowerA INTEGER,
|
||||
environmentUnitCurrentB INTEGER,
|
||||
environmentUnitVoltageB INTEGER,
|
||||
environmentUnitPowerB INTEGER,
|
||||
environmentUnitCurrentC INTEGER,
|
||||
environmentUnitVoltageC INTEGER,
|
||||
environmentUnitPowerC INTEGER,
|
||||
environmentUnitCurrentD INTEGER,
|
||||
environmentUnitVoltageD INTEGER,
|
||||
environmentUnitPowerD INTEGER,
|
||||
environmentSysRAM INTEGER,
|
||||
environmentSysFlash INTEGER,
|
||||
environmentMacEth0 DisplayString,
|
||||
environmentMacEth1 DisplayString,
|
||||
environmentInputPower1 INTEGER,
|
||||
environmentInputPower2 INTEGER,
|
||||
environmentInputPower3 INTEGER,
|
||||
environmentInputPower4 INTEGER
|
||||
}
|
||||
environmentUnitIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..3)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Index for the environment unit table."
|
||||
::= { environmentUnitEntry 1 }
|
||||
environmentUnitName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the unit."
|
||||
::= { environmentUnitEntry 2 }
|
||||
environmentUnitTemperature OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The temperature of the unit."
|
||||
::= { environmentUnitEntry 3 }
|
||||
environmentUnitCurrentA OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of amps in branch A for unit (In tenths of amps, divide by 10 for value in amps)."
|
||||
::= { environmentUnitEntry 4 }
|
||||
environmentUnitVoltageA OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The voltage of branch A for unit."
|
||||
::= { environmentUnitEntry 5 }
|
||||
environmentUnitPowerA OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of watts used by branch A for unit."
|
||||
::= { environmentUnitEntry 6 }
|
||||
environmentUnitCurrentB OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of amps in branch B for unit (In tenths of amps, divide by 10 for value in amps)."
|
||||
::= { environmentUnitEntry 7 }
|
||||
environmentUnitVoltageB OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The voltage of branch B for unit."
|
||||
::= { environmentUnitEntry 8 }
|
||||
environmentUnitPowerB OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of watts used by branch b for unit."
|
||||
::= { environmentUnitEntry 9 }
|
||||
environmentUnitCurrentC OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of amps in branch C for unit (In tenths of amps, divide by 10 for value in amps)."
|
||||
::= { environmentUnitEntry 10 }
|
||||
environmentUnitVoltageC OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The voltage of branch C for unit."
|
||||
::= { environmentUnitEntry 11 }
|
||||
environmentUnitPowerC OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of watts used by branch c for unit."
|
||||
::= { environmentUnitEntry 12 }
|
||||
environmentUnitCurrentD OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of amps in branch D for unit (In tenths of amps, divide by 10 for value in amps)."
|
||||
::= { environmentUnitEntry 13 }
|
||||
environmentUnitVoltageD OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The voltage of branch D for unit."
|
||||
::= { environmentUnitEntry 14 }
|
||||
environmentUnitPowerD OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of watts used by branch d for unit."
|
||||
::= { environmentUnitEntry 15 }
|
||||
environmentSysRAM OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total system RAM."
|
||||
::= { environmentUnitEntry 18 }
|
||||
environmentSysFlash OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total system Flash."
|
||||
::= { environmentUnitEntry 19 }
|
||||
environmentMacEth0 OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"MAC Address Eth0"
|
||||
::= { environmentUnitEntry 20 }
|
||||
environmentMacEth1 OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"MAC Address Eth1"
|
||||
::= { environmentUnitEntry 21 }
|
||||
environmentInputPower1 OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Status of first power input."
|
||||
::= { environmentUnitEntry 22 }
|
||||
environmentInputPower2 OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Status of second power input."
|
||||
::= { environmentUnitEntry 23 }
|
||||
environmentInputPower3 OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Status of third power input."
|
||||
::= { environmentUnitEntry 24 }
|
||||
environmentInputPower4 OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Status of fourth power input."
|
||||
::= { environmentUnitEntry 25 }
|
||||
environmentBranchATotalCurrent OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total Current on BRANCH A (In tenths of amps, divide by 10 for value in amps)."
|
||||
::= { environmentTables 20 }
|
||||
environmentBranchATotalPower OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total Power on BRANCH A."
|
||||
::= { environmentTables 30 }
|
||||
environmentBranchBTotalCurrent OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total Current on BRANCH B (In tenths of amps, divide by 10 for value in amps)."
|
||||
::= { environmentTables 40 }
|
||||
environmentBranchBTotalPower OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total Power on BRANCH B."
|
||||
::= { environmentTables 50 }
|
||||
environmentBranchCTotalCurrent OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total Current on BRANCH C (In tenths of amps, divide by 10 for value in amps)."
|
||||
::= { environmentTables 51 }
|
||||
environmentBranchCTotalPower OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total Power on BRANCH C."
|
||||
::= { environmentTables 52 }
|
||||
environmentBranchDTotalCurrent OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total Current on BRANCH D (In tenths of amps, divide by 10 for value in amps)."
|
||||
::= { environmentTables 53 }
|
||||
environmentBranchDTotalPower OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total Power on BRANCH D."
|
||||
::= { environmentTables 54 }
|
||||
environmentSystemTotalCurrent OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total current for system (In tenths of amps, divide by 10 for value in amps)."
|
||||
::= { environmentTables 60 }
|
||||
environmentSystemTotalPower OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total power on system."
|
||||
::= { environmentTables 70 }
|
||||
environmentMonthlyPowerLog OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The monthly power usage log"
|
||||
::= { environmentTables 80 }
|
||||
--
|
||||
-- Alarm Tables
|
||||
--
|
||||
alarmTables OBJECT IDENTIFIER ::= { power 280 }
|
||||
alarmOverCurrentInitial OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Over Current Initial Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 1 }
|
||||
alarmOverCurrentCritical OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Over Current Critical Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 2 }
|
||||
alarmOverTemperatureInitial OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Over Temperature Initial Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 3 }
|
||||
alarmOverTemperatureCritical OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Over Temperature Critical Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 4 }
|
||||
alarmCircuitBreakerOpen OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Circuit Breaker Open Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 5 }
|
||||
alarmCommLoss OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Communication Loss Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 6 }
|
||||
alarmLostVoltage OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Lost Voltage (Line Input) Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 7 }
|
||||
alarmPingNoAnswer OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Ping No Answer Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 8 }
|
||||
alarmInvalidAccessLockout OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Invalid Access Lockout Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 9 }
|
||||
alarmPowerCycle OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Power Cycle Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 10 }
|
||||
alarmAlarmInput OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Alarm Input Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 12 }
|
||||
alarmPlugCurrent OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Plug Current Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 13 }
|
||||
alarmLostOptoVoltage OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Lost Voltage (Line Input) Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 14 }
|
||||
alarmEmergencyShutoff OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the Emergency Shutoff Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 15 }
|
||||
alarmNoDialtone OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"State of the No Dialtone Alarm (0 = Inactive, 1 = Active)"
|
||||
::= { alarmTables 16 }
|
||||
--
|
||||
-- Traps
|
||||
--
|
||||
wtiTraps OBJECT IDENTIFIER ::= { power 300 }
|
||||
-- Trap Info
|
||||
trapInfo OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Alarm information"
|
||||
::= { wtiTraps 1 }
|
||||
-- Test Traps
|
||||
testTraps OBJECT IDENTIFIER ::= { wtiTraps 2}
|
||||
testTrap TRAP-TYPE
|
||||
ENTERPRISE testTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"A test trap"
|
||||
::= 1
|
||||
-- Alarm Traps
|
||||
overCurrentInitialTraps OBJECT IDENTIFIER ::= { wtiTraps 4}
|
||||
overCurrentInitialSetTrap TRAP-TYPE
|
||||
ENTERPRISE overCurrentInitialTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Over Current Initial Alarm"
|
||||
::= 1
|
||||
overCurrentInitialClearTrap TRAP-TYPE
|
||||
ENTERPRISE overCurrentInitialTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Over Current Initial Alarm (Clear)"
|
||||
::= 2
|
||||
overCurrentCriticalTraps OBJECT IDENTIFIER ::= { wtiTraps 5}
|
||||
overCurrentCriticalSetTrap TRAP-TYPE
|
||||
ENTERPRISE overCurrentCriticalTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Over Current Critical Alarm"
|
||||
::= 1
|
||||
overCurrentCriticalClearTrap TRAP-TYPE
|
||||
ENTERPRISE overCurrentCriticalTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Over Current Critical Alarm (Clear)"
|
||||
::= 2
|
||||
overTemperatureInitialTraps OBJECT IDENTIFIER ::= { wtiTraps 6}
|
||||
overTemperatureInitialSetTrap TRAP-TYPE
|
||||
ENTERPRISE overTemperatureInitialTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Over Temperature Initial Alarm"
|
||||
::= 1
|
||||
overTemperatureInitialClearTrap TRAP-TYPE
|
||||
ENTERPRISE overTemperatureInitialTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Over Temperature Initial Alarm (Clear)"
|
||||
::= 2
|
||||
overTemperatureCriticalTraps OBJECT IDENTIFIER ::= { wtiTraps 7}
|
||||
overTemperatureCriticalSetTrap TRAP-TYPE
|
||||
ENTERPRISE overTemperatureCriticalTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Over Temperature Critical Alarm"
|
||||
::= 1
|
||||
overTemperatureCriticalClearTrap TRAP-TYPE
|
||||
ENTERPRISE overTemperatureCriticalTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Over Temperature Critical Alarm (Clear)"
|
||||
::= 2
|
||||
circuitBreakerOpenTraps OBJECT IDENTIFIER ::= { wtiTraps 8}
|
||||
circuitBreakerOpenSetTrap TRAP-TYPE
|
||||
ENTERPRISE circuitBreakerOpenTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Circuit Breaker Open Alarm"
|
||||
::= 1
|
||||
circuitBreakerOpenClearTrap TRAP-TYPE
|
||||
ENTERPRISE circuitBreakerOpenTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Circuit Breaker Open Alarm (Clear)"
|
||||
::= 2
|
||||
lostCommTraps OBJECT IDENTIFIER ::= { wtiTraps 9}
|
||||
lostCommSetTrap TRAP-TYPE
|
||||
ENTERPRISE lostCommTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Lost Communication with AUX Unit"
|
||||
::= 1
|
||||
lostCommClearTrap TRAP-TYPE
|
||||
ENTERPRISE lostCommTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Lost Communication with AUX Unit (Clear)"
|
||||
::= 2
|
||||
lostVoltageTraps OBJECT IDENTIFIER ::= { wtiTraps 10}
|
||||
lostVoltageSetTrap TRAP-TYPE
|
||||
ENTERPRISE lostVoltageTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Lost Voltage (Line In)"
|
||||
::= 1
|
||||
lostVoltageClearTrap TRAP-TYPE
|
||||
ENTERPRISE lostVoltageTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Lost Voltage (Line In) (Clear)"
|
||||
::= 2
|
||||
pingNoAnswerTraps OBJECT IDENTIFIER ::= { wtiTraps 11}
|
||||
pingNoAnswerSetTrap TRAP-TYPE
|
||||
ENTERPRISE pingNoAnswerTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Ping No Answer"
|
||||
::= 1
|
||||
pingNoAnswerClearTrap TRAP-TYPE
|
||||
ENTERPRISE pingNoAnswerTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Ping No Answer (Clear)"
|
||||
::= 2
|
||||
lockoutTraps OBJECT IDENTIFIER ::= { wtiTraps 12}
|
||||
lockoutSetTrap TRAP-TYPE
|
||||
ENTERPRISE lockoutTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Invalid Access Lockout"
|
||||
::= 1
|
||||
lockoutClearTrap TRAP-TYPE
|
||||
ENTERPRISE lockoutTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Invalid Access Lockout (Clear)"
|
||||
::= 2
|
||||
powercycleTraps OBJECT IDENTIFIER ::= { wtiTraps 13}
|
||||
powercycleSetTrap TRAP-TYPE
|
||||
ENTERPRISE powercycleTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Power Cycle"
|
||||
::= 1
|
||||
alarmInputTraps OBJECT IDENTIFIER ::= { wtiTraps 14}
|
||||
alarmInputSetTrap TRAP-TYPE
|
||||
ENTERPRISE alarmInputTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Alarm Input"
|
||||
::= 1
|
||||
alarmInputClearTrap TRAP-TYPE
|
||||
ENTERPRISE alarmInputTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Alarm Input (Clear)"
|
||||
::= 2
|
||||
plugCurrentTraps OBJECT IDENTIFIER ::= { wtiTraps 15}
|
||||
plugCurrentSetTrap TRAP-TYPE
|
||||
ENTERPRISE plugCurrentTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Plug Current"
|
||||
::= 1
|
||||
plugCurrentClearTrap TRAP-TYPE
|
||||
ENTERPRISE plugCurrentTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Plug Current (Clear)"
|
||||
::= 2
|
||||
lostOptoVoltageTraps OBJECT IDENTIFIER ::= { wtiTraps 16}
|
||||
lostOptoVoltageSetTrap TRAP-TYPE
|
||||
ENTERPRISE lostOptoVoltageTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Lost Voltage"
|
||||
::= 1
|
||||
lostOptoVoltageClearTrap TRAP-TYPE
|
||||
ENTERPRISE lostOptoVoltageTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Lost Voltage (Clear)"
|
||||
::= 2
|
||||
emergencyShutoffTraps OBJECT IDENTIFIER ::= { wtiTraps 17}
|
||||
emergencyShutoffSetTrap TRAP-TYPE
|
||||
ENTERPRISE emergencyShutoffTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Emergency Shutoff"
|
||||
::= 1
|
||||
emergencyShutoffClearTrap TRAP-TYPE
|
||||
ENTERPRISE emergencyShutoffTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"Emergency Shutoff (Clear)"
|
||||
::= 2
|
||||
noDialtoneTraps OBJECT IDENTIFIER ::= { wtiTraps 18}
|
||||
noDialtoneSetTrap TRAP-TYPE
|
||||
ENTERPRISE noDialtoneTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"No Dialtone"
|
||||
::= 1
|
||||
noDialtoneClearTrap TRAP-TYPE
|
||||
ENTERPRISE noDialtoneTraps
|
||||
VARIABLES {
|
||||
trapInfo
|
||||
}
|
||||
DESCRIPTION
|
||||
"No Dialtone (Clear)"
|
||||
::= 2
|
||||
END
|
869
tests/data/wti-power.json
Normal file
869
tests/data/wti-power.json
Normal file
@@ -0,0 +1,869 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1.2634.6.8",
|
||||
"sysDescr": "Linux 10.40.254.74 2.6.33-ts-powerpc #478 Mon Jun 27 16:48:56 PDT 2011 ppc",
|
||||
"sysContact": null,
|
||||
"version": null,
|
||||
"hardware": "VMR-8HD20",
|
||||
"features": null,
|
||||
"os": "wti-power",
|
||||
"type": "power",
|
||||
"serial": null,
|
||||
"icon": "wti.svg",
|
||||
"location": "<private>"
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1.2634.6.8",
|
||||
"sysDescr": "Linux 10.40.254.74 2.6.33-ts-powerpc #478 Mon Jun 27 16:48:56 PDT 2011 ppc",
|
||||
"sysContact": "<private>",
|
||||
"version": null,
|
||||
"hardware": "VMR-8HD20",
|
||||
"features": null,
|
||||
"os": "wti-power",
|
||||
"type": "power",
|
||||
"serial": null,
|
||||
"icon": "wti.svg",
|
||||
"location": "<private>"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"sensors": {
|
||||
"discovery": {
|
||||
"sensors": [
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.200.20.0",
|
||||
"sensor_index": "environmentBranchATotalCurrent.0",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Branch A Current",
|
||||
"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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.200.40.0",
|
||||
"sensor_index": "environmentBranchBTotalCurrent.0",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Branch B Current",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1.1,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.200.60.0",
|
||||
"sensor_index": "environmentSystemTotalCurrent.0",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Total Unit Current",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1.1,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.7.1",
|
||||
"sensor_index": "plugCurrent.1",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-A1 Current",
|
||||
"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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.7.2",
|
||||
"sensor_index": "plugCurrent.2",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-A2 Current",
|
||||
"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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.7.3",
|
||||
"sensor_index": "plugCurrent.3",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-A3 Current",
|
||||
"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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.7.4",
|
||||
"sensor_index": "plugCurrent.4",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-A4 Current",
|
||||
"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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.7.5",
|
||||
"sensor_index": "plugCurrent.5",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-B1 Current",
|
||||
"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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.7.6",
|
||||
"sensor_index": "plugCurrent.6",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-B2 Current",
|
||||
"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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.7.7",
|
||||
"sensor_index": "plugCurrent.7",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-B3 Current",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0.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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.7.8",
|
||||
"sensor_index": "plugCurrent.8",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-B4 Current",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0.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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.200.30.0",
|
||||
"sensor_index": "environmentBranchATotalPower.0",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Branch A Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.200.50.0",
|
||||
"sensor_index": "environmentBranchBTotalPower.0",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Branch B Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 256,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.200.70.0",
|
||||
"sensor_index": "environmentSystemTotalPower.0",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Total Unit Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 256,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.8.1",
|
||||
"sensor_index": "plugPower.1",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-A1 Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.8.2",
|
||||
"sensor_index": "plugPower.2",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-A2 Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.8.3",
|
||||
"sensor_index": "plugPower.3",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-A3 Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.8.4",
|
||||
"sensor_index": "plugPower.4",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-A4 Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.8.5",
|
||||
"sensor_index": "plugPower.5",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-B1 Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.8.6",
|
||||
"sensor_index": "plugPower.6",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-B2 Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.8.7",
|
||||
"sensor_index": "plugPower.7",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-B3 Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"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,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.8.8",
|
||||
"sensor_index": "plugPower.8",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Outlet-B4 Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 93,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.3.1",
|
||||
"sensor_index": "plugStatus.1",
|
||||
"sensor_type": "plugTable",
|
||||
"sensor_descr": "Outlet-A1 State",
|
||||
"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": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": "plugTable"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.3.2",
|
||||
"sensor_index": "plugStatus.2",
|
||||
"sensor_type": "plugTable",
|
||||
"sensor_descr": "Outlet-A2 State",
|
||||
"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": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": "plugTable"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.3.3",
|
||||
"sensor_index": "plugStatus.3",
|
||||
"sensor_type": "plugTable",
|
||||
"sensor_descr": "Outlet-A3 State",
|
||||
"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": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": "plugTable"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.3.4",
|
||||
"sensor_index": "plugStatus.4",
|
||||
"sensor_type": "plugTable",
|
||||
"sensor_descr": "Outlet-A4 State",
|
||||
"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": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": "plugTable"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.3.5",
|
||||
"sensor_index": "plugStatus.5",
|
||||
"sensor_type": "plugTable",
|
||||
"sensor_descr": "Outlet-B1 State",
|
||||
"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": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": "plugTable"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.3.6",
|
||||
"sensor_index": "plugStatus.6",
|
||||
"sensor_type": "plugTable",
|
||||
"sensor_descr": "Outlet-B2 State",
|
||||
"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": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": "plugTable"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.3.7",
|
||||
"sensor_index": "plugStatus.7",
|
||||
"sensor_type": "plugTable",
|
||||
"sensor_descr": "Outlet-B3 State",
|
||||
"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": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": "plugTable"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.100.200.1.3.8",
|
||||
"sensor_index": "plugStatus.8",
|
||||
"sensor_type": "plugTable",
|
||||
"sensor_descr": "Outlet-B4 State",
|
||||
"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": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": "plugTable"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "temperature",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.200.10.1.3.1",
|
||||
"sensor_index": "environmentUnitTemperature.1",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Unit temperature",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 28,
|
||||
"sensor_limit": 48,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 18,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "voltage",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.200.10.1.5.1",
|
||||
"sensor_index": "environmentUnitVoltageA.1",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Branch A Voltage",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 234,
|
||||
"sensor_limit": 269.1,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 198.9,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "voltage",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.2634.3.200.10.1.8.1",
|
||||
"sensor_index": "environmentUnitVoltageB.1",
|
||||
"sensor_type": "wti-power",
|
||||
"sensor_descr": "Branch B Voltage",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 233,
|
||||
"sensor_limit": 267.95,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 198.05,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
}
|
||||
],
|
||||
"state_indexes": [
|
||||
{
|
||||
"state_name": "plugTable",
|
||||
"state_descr": "outletOff",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 0,
|
||||
"state_generic_value": 3
|
||||
},
|
||||
{
|
||||
"state_name": "plugTable",
|
||||
"state_descr": "outletOn",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "plugTable",
|
||||
"state_descr": "outletReboot",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 1
|
||||
},
|
||||
{
|
||||
"state_name": "plugTable",
|
||||
"state_descr": "outletUnknown",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 4,
|
||||
"state_generic_value": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
}
|
122
tests/snmpsim/wti-power.snmprec
Normal file
122
tests/snmpsim/wti-power.snmprec
Normal file
@@ -0,0 +1,122 @@
|
||||
1.3.6.1.2.1.1.1.0|4|Linux 10.40.254.74 2.6.33-ts-powerpc #478 Mon Jun 27 16:48:56 PDT 2011 ppc
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.2634.6.8
|
||||
1.3.6.1.2.1.1.3.0|67|1010889
|
||||
1.3.6.1.2.1.1.4.0|4|<private>
|
||||
1.3.6.1.2.1.1.5.0|4|<private>
|
||||
1.3.6.1.2.1.1.6.0|4|<private>
|
||||
1.3.6.1.2.1.11.1.0|65|3549
|
||||
1.3.6.1.2.1.11.2.0|65|3529
|
||||
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|19214
|
||||
1.3.6.1.2.1.11.14.0|65|0
|
||||
1.3.6.1.2.1.11.15.0|65|1780
|
||||
1.3.6.1.2.1.11.16.0|65|404
|
||||
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|3531
|
||||
1.3.6.1.2.1.11.29.0|65|0
|
||||
1.3.6.1.2.1.11.30.0|2|2
|
||||
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.2634.3.100.100.1.2.1|4x|504F52543100AD
|
||||
1.3.6.1.4.1.2634.3.100.200.1.2.1|4|LOCAL - A1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.2.2|4|LOCAL - A2
|
||||
1.3.6.1.4.1.2634.3.100.200.1.2.3|4|LOCAL - A3
|
||||
1.3.6.1.4.1.2634.3.100.200.1.2.4|4|LOCAL - A4
|
||||
1.3.6.1.4.1.2634.3.100.200.1.2.5|4|LOCAL - B1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.2.6|4|LOCAL - B2
|
||||
1.3.6.1.4.1.2634.3.100.200.1.2.7|4|LOCAL - B3
|
||||
1.3.6.1.4.1.2634.3.100.200.1.2.8|4|LOCAL - B4
|
||||
1.3.6.1.4.1.2634.3.100.200.1.3.1|2|1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.3.2|2|1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.3.3|2|1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.3.4|2|1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.3.5|2|1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.3.6|2|1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.3.7|2|1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.3.8|2|1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.4.1|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.4.2|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.4.3|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.4.4|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.4.5|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.4.6|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.4.7|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.4.8|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.5.1|4|Outlet-A1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.5.2|4|Outlet-A2
|
||||
1.3.6.1.4.1.2634.3.100.200.1.5.3|4|Outlet-A3
|
||||
1.3.6.1.4.1.2634.3.100.200.1.5.4|4|Outlet-A4
|
||||
1.3.6.1.4.1.2634.3.100.200.1.5.5|4|Outlet-B1
|
||||
1.3.6.1.4.1.2634.3.100.200.1.5.6|4|Outlet-B2
|
||||
1.3.6.1.4.1.2634.3.100.200.1.5.7|4|Outlet-B3
|
||||
1.3.6.1.4.1.2634.3.100.200.1.5.8|4|Outlet-B4
|
||||
1.3.6.1.4.1.2634.3.100.200.1.6.1|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.6.2|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.6.3|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.6.4|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.6.5|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.6.6|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.6.7|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.6.8|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.7.1|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.7.2|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.7.3|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.7.4|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.7.5|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.7.6|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.7.7|2|7
|
||||
1.3.6.1.4.1.2634.3.100.200.1.7.8|2|4
|
||||
1.3.6.1.4.1.2634.3.100.200.1.8.1|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.8.2|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.8.3|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.8.4|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.8.5|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.8.6|2|0
|
||||
1.3.6.1.4.1.2634.3.100.200.1.8.7|2|163
|
||||
1.3.6.1.4.1.2634.3.100.200.1.8.8|2|93
|
||||
1.3.6.1.4.1.2634.3.200.10.1.2.1|4|VMR-8HD20
|
||||
1.3.6.1.4.1.2634.3.200.10.1.3.1|2|28
|
||||
1.3.6.1.4.1.2634.3.200.10.1.4.1|2|0
|
||||
1.3.6.1.4.1.2634.3.200.10.1.5.1|2|234
|
||||
1.3.6.1.4.1.2634.3.200.10.1.6.1|2|0
|
||||
1.3.6.1.4.1.2634.3.200.10.1.7.1|2|11
|
||||
1.3.6.1.4.1.2634.3.200.10.1.8.1|2|233
|
||||
1.3.6.1.4.1.2634.3.200.10.1.9.1|2|256
|
||||
1.3.6.1.4.1.2634.3.200.10.1.10.1|2|0
|
||||
1.3.6.1.4.1.2634.3.200.10.1.11.1|2|0
|
||||
1.3.6.1.4.1.2634.3.200.10.1.12.1|2|0
|
||||
1.3.6.1.4.1.2634.3.200.10.1.13.1|2|0
|
||||
1.3.6.1.4.1.2634.3.200.10.1.14.1|2|0
|
||||
1.3.6.1.4.1.2634.3.200.10.1.15.1|2|0
|
||||
1.3.6.1.4.1.2634.3.200.10.1.17.1|2|1
|
||||
1.3.6.1.4.1.2634.3.200.10.1.18.1|2|128
|
||||
1.3.6.1.4.1.2634.3.200.10.1.19.1|2|32
|
||||
1.3.6.1.4.1.2634.3.200.20.0|2|0
|
||||
1.3.6.1.4.1.2634.3.200.30.0|2|0
|
||||
1.3.6.1.4.1.2634.3.200.40.0|2|11
|
||||
1.3.6.1.4.1.2634.3.200.50.0|2|256
|
||||
1.3.6.1.4.1.2634.3.200.51.0|2|0
|
||||
1.3.6.1.4.1.2634.3.200.52.0|2|0
|
||||
1.3.6.1.4.1.2634.3.200.53.0|2|0
|
||||
1.3.6.1.4.1.2634.3.200.54.0|2|0
|
||||
1.3.6.1.4.1.2634.3.200.60.0|2|11
|
||||
1.3.6.1.4.1.2634.3.200.70.0|2|256
|
||||
1.3.6.1.4.1.2634.3.200.80.0|4|01/2021 - 92.9kWh
|
||||
1.3.6.1.6.3.10.2.1.3.0|2|10108
|
Reference in New Issue
Block a user