mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Added iBoot PDU (dataprobe) support (#10898)
* os-recognition iboot * tests * MIB * skip_values
This commit is contained in:
parent
cd044addc4
commit
f4fbdfad80
BIN
html/images/logos/dataprobe.png
Normal file
BIN
html/images/logos/dataprobe.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
66
includes/definitions/discovery/iboot.yaml
Normal file
66
includes/definitions/discovery/iboot.yaml
Normal file
@ -0,0 +1,66 @@
|
||||
mib: IBOOTPDU-MIB
|
||||
modules:
|
||||
sensors:
|
||||
pre-cache:
|
||||
data:
|
||||
- oid:
|
||||
- outletTable
|
||||
temperature:
|
||||
options:
|
||||
skip_values: [999, 99999]
|
||||
data:
|
||||
-
|
||||
oid: temperature1
|
||||
value: temperature1
|
||||
num_oid: '.1.3.6.1.4.1.1418.6.6.5.{{ $index }}'
|
||||
index: 'temp1.{{ $index }}'
|
||||
descr: 'Temperature 1'
|
||||
-
|
||||
oid: temperature2
|
||||
value: temperature2
|
||||
num_oid: '.1.3.6.1.4.1.1418.6.6.6.{{ $index }}'
|
||||
index: 'temp2.{{ $index }}'
|
||||
descr: 'Temperature 2'
|
||||
current:
|
||||
data:
|
||||
-
|
||||
oid: currentLC1
|
||||
value: currentLC1
|
||||
num_oid: '.1.3.6.1.4.1.1418.6.6.2.{{ $index }}'
|
||||
index: 'currentLC1.{{ $index }}'
|
||||
descr: 'Current LC1'
|
||||
divisor: 100
|
||||
-
|
||||
oid: currentLC2
|
||||
value: currentLC2
|
||||
num_oid: '.1.3.6.1.4.1.1418.6.6.4.{{ $index }}'
|
||||
index: 'currentLC2.{{ $index }}'
|
||||
descr: 'Current LC2'
|
||||
divisor: 100
|
||||
voltage:
|
||||
data:
|
||||
-
|
||||
oid: voltageLC1
|
||||
value: voltageLC1
|
||||
num_oid: '.1.3.6.1.4.1.1418.6.6.1.{{ $index }}'
|
||||
index: 'voltageLC1.{{ $index }}'
|
||||
descr: 'Voltage LC1'
|
||||
divisor: 100
|
||||
-
|
||||
oid: voltageLC2
|
||||
value: voltageLC2
|
||||
num_oid: '.1.3.6.1.4.1.1418.6.6.3.{{ $index }}'
|
||||
index: 'voltageLC2.{{ $index }}'
|
||||
descr: 'Voltage LC2'
|
||||
divisor: 100
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: outletTable
|
||||
value: outletActualStatus
|
||||
num_oid: '.1.3.6.1.4.1.1418.6.5.1.7.{{ $index }}'
|
||||
descr: '{{ $outletName }} (ID {{ $index }})'
|
||||
group: 'Actual Status'
|
||||
states:
|
||||
- { value: 1, generic: 0, descr: on, graph: 0 }
|
||||
- { value: 0, generic: 3, descr: off, graph: 0 }
|
16
includes/definitions/iboot.yaml
Normal file
16
includes/definitions/iboot.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
os: iboot
|
||||
text: 'iBoot PDU'
|
||||
type: power
|
||||
icon: dataprobe
|
||||
rfc1628_compat: true
|
||||
mib_dir:
|
||||
- dataprobe
|
||||
over:
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
- { graph: device_current, text: Current }
|
||||
- { graph: device_voltage, text: Voltage }
|
||||
discovery:
|
||||
-
|
||||
sysObjectID: .1.3.6.1.4.1.8072.3.2.10
|
||||
sysDescr_regex:
|
||||
- '/ibootpdu/'
|
7
includes/polling/os/iboot.inc.php
Normal file
7
includes/polling/os/iboot.inc.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
$tmp_iboot = snmp_get_multi($device, ['IBOOTPDU-MIB::firmwareVersion.0', 'IBOOTPDU-MIB::deviceModelName.0'], '-OQUs');
|
||||
|
||||
$version = trim($tmp_iboot[0]['firmwareVersion'], '"');
|
||||
$hardware = trim($tmp_iboot[0]['deviceModelName'], '"');
|
||||
|
||||
unset($tmp_iboot);
|
669
mibs/dataprobe/IBOOTPDU-MIB
Normal file
669
mibs/dataprobe/IBOOTPDU-MIB
Normal file
@ -0,0 +1,669 @@
|
||||
IBOOTPDU-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
NOTIFICATION-TYPE, OBJECT-TYPE, MODULE-IDENTITY,
|
||||
enterprises, IpAddress, Integer32
|
||||
FROM SNMPv2-SMI
|
||||
TEXTUAL-CONVENTION, MacAddress, DisplayString
|
||||
FROM SNMPv2-TC;
|
||||
|
||||
iBoot-PDU-Agent MODULE-IDENTITY
|
||||
LAST-UPDATED "201710251323Z"
|
||||
ORGANIZATION
|
||||
""
|
||||
CONTACT-INFO
|
||||
""
|
||||
DESCRIPTION
|
||||
"iBoot-PDU Agent
|
||||
Version 1.1"
|
||||
|
||||
REVISION "201710251323Z"
|
||||
DESCRIPTION
|
||||
"New Version"
|
||||
::= { dataprobe 6 }
|
||||
|
||||
|
||||
TC1 ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
SYNTAX Integer32
|
||||
|
||||
dataprobe OBJECT IDENTIFIER ::= { enterprises 1418 }
|
||||
|
||||
-- System Information
|
||||
|
||||
device OBJECT IDENTIFIER ::= { iBoot-PDU-Agent 1 }
|
||||
console OBJECT IDENTIFIER ::= { iBoot-PDU-Agent 2 }
|
||||
network OBJECT IDENTIFIER ::= { iBoot-PDU-Agent 3 }
|
||||
snmp OBJECT IDENTIFIER ::= { iBoot-PDU-Agent 4 }
|
||||
sensors OBJECT IDENTIFIER ::= { iBoot-PDU-Agent 6 }
|
||||
notifications OBJECT IDENTIFIER ::= { iBoot-PDU-Agent 7 }
|
||||
|
||||
firmwareVersion OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 1 }
|
||||
|
||||
deviceName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This is a 20 character string that contains the name of the iBootBar."
|
||||
::= { device 2 }
|
||||
|
||||
deviceFamily OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 3 }
|
||||
|
||||
deviceModelName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 4 }
|
||||
|
||||
deviceConnector OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
nema (0),
|
||||
iec (1)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 5 }
|
||||
|
||||
deviceNumberOfOutlets OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 6 }
|
||||
|
||||
deviceNumberOfLineCords OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
one (0),
|
||||
two (1)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 7 }
|
||||
|
||||
deviceMaxCurrent OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 8 }
|
||||
|
||||
-- Changing the temperature unit requires a reboot.
|
||||
|
||||
deviceTemperatureUnit OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
fahrenheit (0),
|
||||
celsius (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"fahrenheit (0)
|
||||
celsius (1)"
|
||||
::= { device 9 }
|
||||
|
||||
deviceTimeZone OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 10 }
|
||||
|
||||
deviceCalibrated OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 11 }
|
||||
|
||||
modemCountryCode OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 12 }
|
||||
|
||||
outletDelayTime OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 13 }
|
||||
|
||||
cloudServiceEnabled OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 14 }
|
||||
|
||||
cloudServerAddress OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(128))
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 15 }
|
||||
|
||||
cloudActivationCode OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 16 }
|
||||
|
||||
cloudUUID OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 17 }
|
||||
|
||||
-- Setting this to true requires a reboot
|
||||
|
||||
setFactoryDefaults OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"true(1)
|
||||
false(0)"
|
||||
::= { device 18 }
|
||||
|
||||
rebootSystem OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"true(1)
|
||||
false(0)"
|
||||
::= { device 19 }
|
||||
|
||||
rebootRequired OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { device 20 }
|
||||
|
||||
-- Chaning this setting requires a reboot.
|
||||
|
||||
serialPortEnabled OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { console 1 }
|
||||
|
||||
-- Range is 0-60.
|
||||
|
||||
consoleTimeout OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..60)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { console 2 }
|
||||
|
||||
-- Reboot required to take effect.
|
||||
|
||||
telnetEnabled OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Eanlbe the telnet server."
|
||||
::= { console 3 }
|
||||
|
||||
-- Reboot required for this change to take effect
|
||||
|
||||
telnetPort OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..65535)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The port for the telnet server to use."
|
||||
::= { console 4 }
|
||||
|
||||
sshEnabled OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { console 5 }
|
||||
|
||||
sshPort OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..65535)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { console 6 }
|
||||
|
||||
macAddress OBJECT-TYPE
|
||||
SYNTAX MacAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { network 1 }
|
||||
|
||||
ipMode OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
static (0),
|
||||
dhcp (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"static(0)
|
||||
dhcp(1)
|
||||
"
|
||||
::= { network 2 }
|
||||
|
||||
ipAddress OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The IP Address of the device"
|
||||
::= { network 3 }
|
||||
|
||||
subnetMask OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { network 4 }
|
||||
|
||||
gateway OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Address of the default gateway"
|
||||
::= { network 5 }
|
||||
|
||||
dnsServer1 OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { network 6 }
|
||||
|
||||
dnsServer2 OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { network 7 }
|
||||
|
||||
-- reboot required to active this change.
|
||||
-- To access the webserver https://<ipAddress>:<webPort>
|
||||
|
||||
sslEnabled OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Enable secure sockest layer on the web server."
|
||||
::= { network 8 }
|
||||
|
||||
sslPort OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..65535)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { network 9 }
|
||||
|
||||
webEnabled OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Use this variable to enable/disable the web server"
|
||||
::= { network 10 }
|
||||
|
||||
-- Reset or Power cycle required
|
||||
|
||||
webPort OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..65535)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The port number that the web server will use. Changing this var will not take effect until
|
||||
the unit has be reset."
|
||||
::= { network 11 }
|
||||
|
||||
snmpEnabled OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
false (0),
|
||||
true (1)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { snmp 1 }
|
||||
|
||||
snmpReadCommunity OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { snmp 2 }
|
||||
|
||||
snmpWriteCommunity OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { snmp 3 }
|
||||
|
||||
snmpManagerTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF SnmpManagerEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { snmp 4 }
|
||||
|
||||
snmpManagerEntry OBJECT-TYPE
|
||||
SYNTAX SnmpManagerEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
INDEX { snmpManagerIndex }
|
||||
::= { snmpManagerTable 1 }
|
||||
|
||||
SnmpManagerEntry ::= SEQUENCE {
|
||||
snmpManagerIndex
|
||||
Integer32,
|
||||
snmpManagerAddress
|
||||
DisplayString,
|
||||
snmpManagerName
|
||||
DisplayString,
|
||||
snmpTrapCommunity
|
||||
DisplayString
|
||||
}
|
||||
|
||||
snmpManagerIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..255)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The table index"
|
||||
::= { snmpManagerEntry 1 }
|
||||
|
||||
snmpManagerAddress OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(16))
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { snmpManagerEntry 2 }
|
||||
|
||||
snmpManagerName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { snmpManagerEntry 3 }
|
||||
|
||||
snmpTrapCommunity OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { snmpManagerEntry 4 }
|
||||
|
||||
outletTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF OutletEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { iBoot-PDU-Agent 5 }
|
||||
|
||||
outletEntry OBJECT-TYPE
|
||||
SYNTAX OutletEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
INDEX { outletIndex }
|
||||
::= { outletTable 1 }
|
||||
|
||||
OutletEntry ::= SEQUENCE {
|
||||
outletIndex
|
||||
Integer32,
|
||||
outletName
|
||||
DisplayString,
|
||||
outletInitialState
|
||||
INTEGER,
|
||||
outletCycleTime
|
||||
Integer32,
|
||||
outletControl
|
||||
INTEGER,
|
||||
outletStatus
|
||||
INTEGER,
|
||||
outletActualStatus
|
||||
INTEGER
|
||||
}
|
||||
|
||||
outletIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..64)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { outletEntry 1 }
|
||||
|
||||
outletName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the outlet up to 20 characters"
|
||||
::= { outletEntry 2 }
|
||||
|
||||
outletInitialState OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
off (0),
|
||||
on (1),
|
||||
last (2)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { outletEntry 3 }
|
||||
|
||||
-- This variable sets the cycle time for reboots and power cycles.
|
||||
|
||||
outletCycleTime OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { outletEntry 4 }
|
||||
|
||||
outletControl OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
off (0),
|
||||
on (1),
|
||||
cycle (2)
|
||||
}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Use this a a write only variable. It is used to change the outlets status"
|
||||
::= { outletEntry 5 }
|
||||
|
||||
outletStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
off (0),
|
||||
on (1),
|
||||
cycle (2),
|
||||
reboot (3),
|
||||
pend-on (4)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { outletEntry 6 }
|
||||
|
||||
outletActualStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
off (0),
|
||||
on (1)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Status of the physical outlet"
|
||||
::= { outletEntry 7 }
|
||||
|
||||
-- divide by 100 to convert to floating point
|
||||
--
|
||||
|
||||
voltageLC1 OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { sensors 1 }
|
||||
|
||||
-- divide by 100 to convert to floating point
|
||||
|
||||
currentLC1 OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { sensors 2 }
|
||||
|
||||
-- divide by 100 to convert to floating point
|
||||
|
||||
voltageLC2 OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { sensors 3 }
|
||||
|
||||
-- divide by 100 to convert to floating point
|
||||
|
||||
currentLC2 OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { sensors 4 }
|
||||
|
||||
-- This variable display 999 when no temperature is present
|
||||
|
||||
temperature1 OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { sensors 5 }
|
||||
|
||||
-- This variable display 999 when no temperature is present
|
||||
|
||||
temperature2 OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { sensors 6 }
|
||||
|
||||
outletChange NOTIFICATION-TYPE
|
||||
OBJECTS { outletIndex,
|
||||
outletName,
|
||||
outletStatus }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This trap is sent when ever an outlet changes state. It contains the name of the outlet."
|
||||
::= { notifications 1 }
|
||||
END
|
1045
tests/data/iboot_pdu8-2n15.json
Normal file
1045
tests/data/iboot_pdu8-2n15.json
Normal file
File diff suppressed because it is too large
Load Diff
239
tests/snmpsim/iboot_pdu8-2n15.snmprec
Normal file
239
tests/snmpsim/iboot_pdu8-2n15.snmprec
Normal file
@ -0,0 +1,239 @@
|
||||
1.3.6.1.2.1.1.1.0|4|Linux ibootpdu 4.4.9 #6 SMP Thu Apr 27 15:48:52 EDT 2017 armv7l
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.8072.3.2.10
|
||||
1.3.6.1.2.1.1.3.0|67|18172320
|
||||
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.2.2.1.1.1|2|1
|
||||
1.3.6.1.2.1.2.2.1.1.2|2|2
|
||||
1.3.6.1.2.1.2.2.1.2.1|4|lo
|
||||
1.3.6.1.2.1.2.2.1.2.2|4|eth0
|
||||
1.3.6.1.2.1.2.2.1.3.1|2|24
|
||||
1.3.6.1.2.1.2.2.1.3.2|2|6
|
||||
1.3.6.1.2.1.2.2.1.4.1|2|65536
|
||||
1.3.6.1.2.1.2.2.1.4.2|2|1500
|
||||
1.3.6.1.2.1.2.2.1.5.1|66|10000000
|
||||
1.3.6.1.2.1.2.2.1.5.2|66|100000000
|
||||
1.3.6.1.2.1.2.2.1.6.1|4|
|
||||
1.3.6.1.2.1.2.2.1.6.2|4|c8:fd:19:ec:56:e0
|
||||
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|303
|
||||
1.3.6.1.2.1.2.2.1.10.1|65|2437820791
|
||||
1.3.6.1.2.1.2.2.1.10.2|65|3543477154
|
||||
1.3.6.1.2.1.2.2.1.11.1|65|29104628
|
||||
1.3.6.1.2.1.2.2.1.11.2|65|14975312
|
||||
1.3.6.1.2.1.2.2.1.12.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.12.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.13.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.13.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.14.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.14.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.15.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.15.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.16.1|65|2437820791
|
||||
1.3.6.1.2.1.2.2.1.16.2|65|2748852154
|
||||
1.3.6.1.2.1.2.2.1.17.1|65|29104628
|
||||
1.3.6.1.2.1.2.2.1.17.2|65|16769729
|
||||
1.3.6.1.2.1.2.2.1.18.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.18.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.19.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.19.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.20.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.20.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.21.1|66|0
|
||||
1.3.6.1.2.1.2.2.1.21.2|66|0
|
||||
1.3.6.1.2.1.2.2.1.22.1|6|0.0
|
||||
1.3.6.1.2.1.2.2.1.22.2|6|0.0
|
||||
1.3.6.1.2.1.11.1.0|65|31567
|
||||
1.3.6.1.2.1.11.2.0|65|31626
|
||||
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|184301
|
||||
1.3.6.1.2.1.11.14.0|65|0
|
||||
1.3.6.1.2.1.11.15.0|65|17634
|
||||
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|31569
|
||||
1.3.6.1.2.1.11.29.0|65|60
|
||||
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.2.1.25.1.1.0|67|18173032
|
||||
1.3.6.1.2.1.25.1.4.0|4|console=ttyS1,115200n8 user_debug=30 coherent_pool=1M root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait
|
||||
1.3.6.1.2.1.25.1.5.0|66|0
|
||||
1.3.6.1.2.1.25.1.6.0|66|75
|
||||
1.3.6.1.2.1.25.2.2.0|2|509036
|
||||
1.3.6.1.2.1.25.2.3.1.1.1|2|1
|
||||
1.3.6.1.2.1.25.2.3.1.1.3|2|3
|
||||
1.3.6.1.2.1.25.2.3.1.1.6|2|6
|
||||
1.3.6.1.2.1.25.2.3.1.1.7|2|7
|
||||
1.3.6.1.2.1.25.2.3.1.1.8|2|8
|
||||
1.3.6.1.2.1.25.2.3.1.1.10|2|10
|
||||
1.3.6.1.2.1.25.2.3.1.1.31|2|31
|
||||
1.3.6.1.2.1.25.2.3.1.1.35|2|35
|
||||
1.3.6.1.2.1.25.2.3.1.1.36|2|36
|
||||
1.3.6.1.2.1.25.2.3.1.1.37|2|37
|
||||
1.3.6.1.2.1.25.2.3.1.1.40|2|40
|
||||
1.3.6.1.2.1.25.2.3.1.2.1|6|1.3.6.1.2.1.25.2.1.2
|
||||
1.3.6.1.2.1.25.2.3.1.2.3|6|1.3.6.1.2.1.25.2.1.3
|
||||
1.3.6.1.2.1.25.2.3.1.2.6|6|1.3.6.1.2.1.25.2.1.1
|
||||
1.3.6.1.2.1.25.2.3.1.2.7|6|1.3.6.1.2.1.25.2.1.1
|
||||
1.3.6.1.2.1.25.2.3.1.2.8|6|1.3.6.1.2.1.25.2.1.1
|
||||
1.3.6.1.2.1.25.2.3.1.2.10|6|1.3.6.1.2.1.25.2.1.3
|
||||
1.3.6.1.2.1.25.2.3.1.2.31|6|1.3.6.1.2.1.25.2.1.4
|
||||
1.3.6.1.2.1.25.2.3.1.2.35|6|1.3.6.1.2.1.25.2.1.4
|
||||
1.3.6.1.2.1.25.2.3.1.2.36|6|1.3.6.1.2.1.25.2.1.4
|
||||
1.3.6.1.2.1.25.2.3.1.2.37|6|1.3.6.1.2.1.25.2.1.4
|
||||
1.3.6.1.2.1.25.2.3.1.2.40|6|1.3.6.1.2.1.25.2.1.4
|
||||
1.3.6.1.2.1.25.2.3.1.3.1|4|Physical memory
|
||||
1.3.6.1.2.1.25.2.3.1.3.3|4|Virtual memory
|
||||
1.3.6.1.2.1.25.2.3.1.3.6|4|Memory buffers
|
||||
1.3.6.1.2.1.25.2.3.1.3.7|4|Cached memory
|
||||
1.3.6.1.2.1.25.2.3.1.3.8|4|Shared memory
|
||||
1.3.6.1.2.1.25.2.3.1.3.10|4|Swap space
|
||||
1.3.6.1.2.1.25.2.3.1.3.31|4|/
|
||||
1.3.6.1.2.1.25.2.3.1.3.35|4|/dev/shm
|
||||
1.3.6.1.2.1.25.2.3.1.3.36|4|/tmp
|
||||
1.3.6.1.2.1.25.2.3.1.3.37|4|/run
|
||||
1.3.6.1.2.1.25.2.3.1.3.40|4|/data
|
||||
1.3.6.1.2.1.25.2.3.1.4.1|2|1024
|
||||
1.3.6.1.2.1.25.2.3.1.4.3|2|1024
|
||||
1.3.6.1.2.1.25.2.3.1.4.6|2|1024
|
||||
1.3.6.1.2.1.25.2.3.1.4.7|2|1024
|
||||
1.3.6.1.2.1.25.2.3.1.4.8|2|1024
|
||||
1.3.6.1.2.1.25.2.3.1.4.10|2|1024
|
||||
1.3.6.1.2.1.25.2.3.1.4.31|2|1024
|
||||
1.3.6.1.2.1.25.2.3.1.4.35|2|4096
|
||||
1.3.6.1.2.1.25.2.3.1.4.36|2|4096
|
||||
1.3.6.1.2.1.25.2.3.1.4.37|2|4096
|
||||
1.3.6.1.2.1.25.2.3.1.4.40|2|1024
|
||||
1.3.6.1.2.1.25.2.3.1.5.1|2|509036
|
||||
1.3.6.1.2.1.25.2.3.1.5.3|2|509036
|
||||
1.3.6.1.2.1.25.2.3.1.5.6|2|509036
|
||||
1.3.6.1.2.1.25.2.3.1.5.7|2|39408
|
||||
1.3.6.1.2.1.25.2.3.1.5.8|2|208
|
||||
1.3.6.1.2.1.25.2.3.1.5.10|2|0
|
||||
1.3.6.1.2.1.25.2.3.1.5.31|2|704143
|
||||
1.3.6.1.2.1.25.2.3.1.5.35|2|63629
|
||||
1.3.6.1.2.1.25.2.3.1.5.36|2|89600
|
||||
1.3.6.1.2.1.25.2.3.1.5.37|2|63629
|
||||
1.3.6.1.2.1.25.2.3.1.5.40|2|95054
|
||||
1.3.6.1.2.1.25.2.3.1.6.1|2|93788
|
||||
1.3.6.1.2.1.25.2.3.1.6.3|2|93788
|
||||
1.3.6.1.2.1.25.2.3.1.6.6|2|4448
|
||||
1.3.6.1.2.1.25.2.3.1.6.7|2|39408
|
||||
1.3.6.1.2.1.25.2.3.1.6.8|2|208
|
||||
1.3.6.1.2.1.25.2.3.1.6.10|2|0
|
||||
1.3.6.1.2.1.25.2.3.1.6.31|2|344869
|
||||
1.3.6.1.2.1.25.2.3.1.6.35|2|8
|
||||
1.3.6.1.2.1.25.2.3.1.6.36|2|33
|
||||
1.3.6.1.2.1.25.2.3.1.6.37|2|11
|
||||
1.3.6.1.2.1.25.2.3.1.6.40|2|1550
|
||||
1.3.6.1.2.1.25.3.2.1.1.196608|2|196608
|
||||
1.3.6.1.2.1.25.3.2.1.1.262145|2|262145
|
||||
1.3.6.1.2.1.25.3.2.1.1.262146|2|262146
|
||||
1.3.6.1.2.1.25.3.2.1.1.786432|2|786432
|
||||
1.3.6.1.2.1.25.3.2.1.2.196608|6|1.3.6.1.2.1.25.3.1.3
|
||||
1.3.6.1.2.1.25.3.2.1.2.262145|6|1.3.6.1.2.1.25.3.1.4
|
||||
1.3.6.1.2.1.25.3.2.1.2.262146|6|1.3.6.1.2.1.25.3.1.4
|
||||
1.3.6.1.2.1.25.3.2.1.2.786432|6|1.3.6.1.2.1.25.3.1.12
|
||||
1.3.6.1.2.1.25.3.2.1.3.196608|4|
|
||||
1.3.6.1.2.1.25.3.2.1.3.262145|4|network interface lo
|
||||
1.3.6.1.2.1.25.3.2.1.3.262146|4|network interface eth0
|
||||
1.3.6.1.2.1.25.3.2.1.3.786432|4|Guessing that there's a floating point co-processor
|
||||
1.3.6.1.2.1.25.3.2.1.4.196608|6|0.0
|
||||
1.3.6.1.2.1.25.3.2.1.4.262145|6|0.0
|
||||
1.3.6.1.2.1.25.3.2.1.4.262146|6|0.0
|
||||
1.3.6.1.2.1.25.3.2.1.4.786432|6|0.0
|
||||
1.3.6.1.2.1.25.3.2.1.5.196608|2|2
|
||||
1.3.6.1.2.1.25.3.2.1.5.262145|2|2
|
||||
1.3.6.1.2.1.25.3.2.1.5.262146|2|2
|
||||
1.3.6.1.2.1.25.3.2.1.6.262145|65|0
|
||||
1.3.6.1.2.1.25.3.2.1.6.262146|65|0
|
||||
1.3.6.1.2.1.25.3.3.1.1.196608|6|0.0
|
||||
1.3.6.1.2.1.25.3.3.1.2.196608|2|39
|
||||
1.3.6.1.4.1.1418.6.1.1.0|4|1.03.12212017
|
||||
1.3.6.1.4.1.1418.6.1.4.0|4|iBoot-PDU8-2N15
|
||||
1.3.6.1.4.1.1418.6.5.1.1.0|2|1
|
||||
1.3.6.1.4.1.1418.6.5.1.1.1|2|2
|
||||
1.3.6.1.4.1.1418.6.5.1.1.2|2|3
|
||||
1.3.6.1.4.1.1418.6.5.1.1.3|2|4
|
||||
1.3.6.1.4.1.1418.6.5.1.1.4|2|5
|
||||
1.3.6.1.4.1.1418.6.5.1.1.5|2|6
|
||||
1.3.6.1.4.1.1418.6.5.1.1.6|2|7
|
||||
1.3.6.1.4.1.1418.6.5.1.1.7|2|8
|
||||
1.3.6.1.4.1.1418.6.5.1.2.0|4|Outlet-1
|
||||
1.3.6.1.4.1.1418.6.5.1.2.1|4|Outlet-2
|
||||
1.3.6.1.4.1.1418.6.5.1.2.2|4|Outlet-3
|
||||
1.3.6.1.4.1.1418.6.5.1.2.3|4|Outlet-4
|
||||
1.3.6.1.4.1.1418.6.5.1.2.4|4|Outlet-5
|
||||
1.3.6.1.4.1.1418.6.5.1.2.5|4|Outlet-6
|
||||
1.3.6.1.4.1.1418.6.5.1.2.6|4|Outlet-7
|
||||
1.3.6.1.4.1.1418.6.5.1.2.7|4|Outlet-8
|
||||
1.3.6.1.4.1.1418.6.5.1.3.0|2|2
|
||||
1.3.6.1.4.1.1418.6.5.1.3.1|2|2
|
||||
1.3.6.1.4.1.1418.6.5.1.3.2|2|2
|
||||
1.3.6.1.4.1.1418.6.5.1.3.3|2|2
|
||||
1.3.6.1.4.1.1418.6.5.1.3.4|2|2
|
||||
1.3.6.1.4.1.1418.6.5.1.3.5|2|2
|
||||
1.3.6.1.4.1.1418.6.5.1.3.6|2|2
|
||||
1.3.6.1.4.1.1418.6.5.1.3.7|2|2
|
||||
1.3.6.1.4.1.1418.6.5.1.4.0|2|10
|
||||
1.3.6.1.4.1.1418.6.5.1.4.1|2|10
|
||||
1.3.6.1.4.1.1418.6.5.1.4.2|2|10
|
||||
1.3.6.1.4.1.1418.6.5.1.4.3|2|10
|
||||
1.3.6.1.4.1.1418.6.5.1.4.4|2|10
|
||||
1.3.6.1.4.1.1418.6.5.1.4.5|2|10
|
||||
1.3.6.1.4.1.1418.6.5.1.4.6|2|10
|
||||
1.3.6.1.4.1.1418.6.5.1.4.7|2|10
|
||||
1.3.6.1.4.1.1418.6.5.1.5.0|2|1
|
||||
1.3.6.1.4.1.1418.6.5.1.5.1|2|1
|
||||
1.3.6.1.4.1.1418.6.5.1.5.2|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.5.3|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.5.4|2|1
|
||||
1.3.6.1.4.1.1418.6.5.1.5.5|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.5.6|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.5.7|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.6.0|2|1
|
||||
1.3.6.1.4.1.1418.6.5.1.6.1|2|1
|
||||
1.3.6.1.4.1.1418.6.5.1.6.2|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.6.3|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.6.4|2|1
|
||||
1.3.6.1.4.1.1418.6.5.1.6.5|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.6.6|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.6.7|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.7.0|2|1
|
||||
1.3.6.1.4.1.1418.6.5.1.7.1|2|1
|
||||
1.3.6.1.4.1.1418.6.5.1.7.2|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.7.3|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.7.4|2|1
|
||||
1.3.6.1.4.1.1418.6.5.1.7.5|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.7.6|2|0
|
||||
1.3.6.1.4.1.1418.6.5.1.7.7|2|0
|
||||
1.3.6.1.4.1.1418.6.6.1.0|2|11996
|
||||
1.3.6.1.4.1.1418.6.6.2.0|2|621
|
||||
1.3.6.1.4.1.1418.6.6.3.0|2|12049
|
||||
1.3.6.1.4.1.1418.6.6.4.0|2|402
|
||||
1.3.6.1.4.1.1418.6.6.5.0|2|99999
|
||||
1.3.6.1.4.1.1418.6.6.6.0|2|99999
|
||||
1.3.6.1.6.3.10.2.1.3.0|2|181725
|
Loading…
Reference in New Issue
Block a user