mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
vertiv pdu mg02e4w1 (#15484)
* Update vertiv-pdu.yaml Detection of Vertiv Geist PDU type MG02E4W1 * Add files via upload Testfile for Vertiv Geist PDU MG02E4W1 * Add files via upload Testfile * Update vertiv-pdu.yaml * Update vertiv-pdu_mg02e4w1.json * Add missing sensors from OP --------- Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -36,3 +36,19 @@ modules:
|
||||
num_oid: '.1.3.6.1.4.1.21239.5.2.3.2.1.4.{{ $index }}'
|
||||
descr: pduPhaseName
|
||||
divisor: 10
|
||||
power:
|
||||
data:
|
||||
-
|
||||
oid: pduTotalRealPower
|
||||
num_oid: '.1.3.6.1.4.1.21239.5.2.3.1.1.9.{{ $index }}'
|
||||
index: 'pduTotalRealPower.{{ $index }}'
|
||||
descr: Total Power
|
||||
power_consumed:
|
||||
data:
|
||||
-
|
||||
oid: pduTotalEnergy
|
||||
num_oid: '.1.3.6.1.4.1.21239.5.2.3.1.1.12.{{ $index }}'
|
||||
index: 'pduTotalEnergy.{{ $index }}'
|
||||
descr: Total Energy
|
||||
divisor: 1000
|
||||
|
||||
|
@@ -5,7 +5,7 @@ icon: vertiv
|
||||
group: vertiv
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.21239.42.1.53
|
||||
- .1.3.6.1.4.1.21239.42.1.
|
||||
mib_dir: vertiv
|
||||
over:
|
||||
- { graph: device_current, text: 'Current' }
|
||||
|
665
tests/data/vertiv-pdu_mg02e4w1.json
Normal file
665
tests/data/vertiv-pdu_mg02e4w1.json
Normal file
@@ -0,0 +1,665 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": null,
|
||||
"sysObjectID": ".1.3.6.1.4.1.21239.42.1.52",
|
||||
"sysDescr": "A-U32.024_PDU-B",
|
||||
"sysContact": "<private>",
|
||||
"version": "3.4.0",
|
||||
"hardware": "MG02E4W1-42ITB3-3PS56B2A10-S",
|
||||
"features": null,
|
||||
"location": "<private>",
|
||||
"os": "vertiv-pdu",
|
||||
"type": "power",
|
||||
"serial": "ZY18120520",
|
||||
"icon": "vertiv.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
},
|
||||
"ports": {
|
||||
"discovery": {
|
||||
"ports": [
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "eth0",
|
||||
"ifName": "eth0",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": null,
|
||||
"ifAdminStatus": null,
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": null,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "eth0",
|
||||
"ifPhysAddress": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": null,
|
||||
"ifTrunk": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": null,
|
||||
"ifInUcastPkts_prev": null,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": null,
|
||||
"ifOutUcastPkts_prev": null,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": null,
|
||||
"ifInErrors_prev": null,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": null,
|
||||
"ifOutErrors_prev": null,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": null,
|
||||
"ifInOctets_prev": null,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": null,
|
||||
"ifOutOctets_prev": null,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": null,
|
||||
"ifInNUcastPkts_prev": null,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": null,
|
||||
"ifOutNUcastPkts_prev": null,
|
||||
"ifOutNUcastPkts_delta": null,
|
||||
"ifOutNUcastPkts_rate": null,
|
||||
"ifInDiscards": null,
|
||||
"ifInDiscards_prev": null,
|
||||
"ifInDiscards_delta": null,
|
||||
"ifInDiscards_rate": null,
|
||||
"ifOutDiscards": null,
|
||||
"ifOutDiscards_prev": null,
|
||||
"ifOutDiscards_delta": null,
|
||||
"ifOutDiscards_rate": null,
|
||||
"ifInUnknownProtos": null,
|
||||
"ifInUnknownProtos_prev": null,
|
||||
"ifInUnknownProtos_delta": null,
|
||||
"ifInUnknownProtos_rate": null,
|
||||
"ifInBroadcastPkts": null,
|
||||
"ifInBroadcastPkts_prev": null,
|
||||
"ifInBroadcastPkts_delta": null,
|
||||
"ifInBroadcastPkts_rate": null,
|
||||
"ifOutBroadcastPkts": null,
|
||||
"ifOutBroadcastPkts_prev": null,
|
||||
"ifOutBroadcastPkts_delta": null,
|
||||
"ifOutBroadcastPkts_rate": null,
|
||||
"ifInMulticastPkts": null,
|
||||
"ifInMulticastPkts_prev": null,
|
||||
"ifInMulticastPkts_delta": null,
|
||||
"ifInMulticastPkts_rate": null,
|
||||
"ifOutMulticastPkts": null,
|
||||
"ifOutMulticastPkts_prev": null,
|
||||
"ifOutMulticastPkts_delta": null,
|
||||
"ifOutMulticastPkts_rate": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": {
|
||||
"ports": [
|
||||
{
|
||||
"port_descr_type": null,
|
||||
"port_descr_descr": null,
|
||||
"port_descr_circuit": null,
|
||||
"port_descr_speed": null,
|
||||
"port_descr_notes": null,
|
||||
"ifDescr": "eth0",
|
||||
"ifName": "eth0",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": 100000000,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": "up",
|
||||
"ifAdminStatus": "up",
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": 1500,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "eth0",
|
||||
"ifPhysAddress": "801f121316a4",
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": null,
|
||||
"ifTrunk": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": 0,
|
||||
"ifInUcastPkts_prev": 0,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": 0,
|
||||
"ifOutUcastPkts_prev": 0,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": 0,
|
||||
"ifInErrors_prev": 0,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": 0,
|
||||
"ifOutErrors_prev": 0,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": 0,
|
||||
"ifInOctets_prev": 0,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": 0,
|
||||
"ifOutOctets_prev": 0,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": 0,
|
||||
"ifInNUcastPkts_prev": 0,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": 0,
|
||||
"ifOutNUcastPkts_prev": 0,
|
||||
"ifOutNUcastPkts_delta": null,
|
||||
"ifOutNUcastPkts_rate": null,
|
||||
"ifInDiscards": 0,
|
||||
"ifInDiscards_prev": 0,
|
||||
"ifInDiscards_delta": null,
|
||||
"ifInDiscards_rate": null,
|
||||
"ifOutDiscards": 0,
|
||||
"ifOutDiscards_prev": 0,
|
||||
"ifOutDiscards_delta": null,
|
||||
"ifOutDiscards_rate": null,
|
||||
"ifInUnknownProtos": 0,
|
||||
"ifInUnknownProtos_prev": 0,
|
||||
"ifInUnknownProtos_delta": null,
|
||||
"ifInUnknownProtos_rate": null,
|
||||
"ifInBroadcastPkts": 0,
|
||||
"ifInBroadcastPkts_prev": 0,
|
||||
"ifInBroadcastPkts_delta": null,
|
||||
"ifInBroadcastPkts_rate": null,
|
||||
"ifOutBroadcastPkts": 0,
|
||||
"ifOutBroadcastPkts_prev": 0,
|
||||
"ifOutBroadcastPkts_delta": null,
|
||||
"ifOutBroadcastPkts_rate": null,
|
||||
"ifInMulticastPkts": 0,
|
||||
"ifInMulticastPkts_prev": 0,
|
||||
"ifInMulticastPkts_delta": null,
|
||||
"ifInMulticastPkts_rate": null,
|
||||
"ifOutMulticastPkts": 0,
|
||||
"ifOutMulticastPkts_prev": 0,
|
||||
"ifOutMulticastPkts_delta": null,
|
||||
"ifOutMulticastPkts_rate": null
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"sensors": {
|
||||
"discovery": {
|
||||
"sensors": [
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.3.1.4.1",
|
||||
"sensor_index": "pduBreakerCurrent.1",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Circuit 1",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0.42,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.3.1.4.2",
|
||||
"sensor_index": "pduBreakerCurrent.2",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Circuit 2",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0.51,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.3.1.4.3",
|
||||
"sensor_index": "pduBreakerCurrent.3",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Circuit 3",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0.03,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.3.1.4.4",
|
||||
"sensor_index": "pduBreakerCurrent.4",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Circuit 4",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1.81,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.3.1.4.5",
|
||||
"sensor_index": "pduBreakerCurrent.5",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Circuit 5",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0.03,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.3.1.4.6",
|
||||
"sensor_index": "pduBreakerCurrent.6",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Circuit 6",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1.69,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.4.1.4.1",
|
||||
"sensor_index": "pduLineCurrent.1",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "pduLineName",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.4.1.4.2",
|
||||
"sensor_index": "pduLineCurrent.2",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "pduLineName",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.4.1.4.3",
|
||||
"sensor_index": "pduLineCurrent.3",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "pduLineName",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.2.1.8.1",
|
||||
"sensor_index": "pduPhaseCurrent.1",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Phase A",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0.95,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.2.1.8.2",
|
||||
"sensor_index": "pduPhaseCurrent.2",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Phase B",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1.87,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.2.1.8.3",
|
||||
"sensor_index": "pduPhaseCurrent.3",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Phase C",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1.7,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.1.1.9.1",
|
||||
"sensor_index": "pduTotalRealPower.1",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Total Power",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1017,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power_consumed",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.1.1.12.1",
|
||||
"sensor_index": "pduTotalEnergy.1",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Total Energy",
|
||||
"group": null,
|
||||
"sensor_divisor": 1000,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 8483.906,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "voltage",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.2.1.4.1",
|
||||
"sensor_index": "1",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Phase A",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 235,
|
||||
"sensor_limit": 270.25,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 199.75,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "voltage",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.2.1.4.2",
|
||||
"sensor_index": "2",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Phase B",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 234.1,
|
||||
"sensor_limit": 269.215,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 198.985,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "voltage",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.21239.5.2.3.2.1.4.3",
|
||||
"sensor_index": "3",
|
||||
"sensor_type": "vertiv-pdu",
|
||||
"sensor_descr": "Phase C",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 236.5,
|
||||
"sensor_limit": 271.975,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 201.025,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
}
|
121
tests/snmpsim/vertiv-pdu_mg02e4w1.snmprec
Normal file
121
tests/snmpsim/vertiv-pdu_mg02e4w1.snmprec
Normal file
@@ -0,0 +1,121 @@
|
||||
1.3.6.1.2.1.1.1.0|4|A-U32.024_PDU-B
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.21239.42.1.52
|
||||
1.3.6.1.2.1.1.4.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.2.1|4|eth0
|
||||
1.3.6.1.2.1.2.2.1.3.1|2|6
|
||||
1.3.6.1.2.1.2.2.1.4.1|2|1500
|
||||
1.3.6.1.2.1.2.2.1.5.1|66|100000000
|
||||
1.3.6.1.2.1.2.2.1.6.1|4x|801F121316A4
|
||||
1.3.6.1.2.1.2.2.1.7.1|2|1
|
||||
1.3.6.1.2.1.2.2.1.8.1|2|1
|
||||
1.3.6.1.2.1.2.2.1.9.1|67|0
|
||||
1.3.6.1.2.1.2.2.1.10.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.11.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.12.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.13.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.14.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.15.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.16.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.17.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.18.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.19.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.20.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.21.1|66|0
|
||||
1.3.6.1.2.1.2.2.1.22.1|6|0.0
|
||||
1.3.6.1.4.1.21239.5.2.1.2.0|4|3.4.0
|
||||
1.3.6.1.4.1.21239.5.2.1.8.0|4|MG02E4W1-42ITB3-3PS56B2A10-S
|
||||
1.3.6.1.4.1.21239.5.2.1.10.0|4|ZY18120520
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.2.1|4|BA801F121316A4C3
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.3.1|4|Geist Upgradable rPDU
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.4.1|4|IMD PDU
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.5.1|66|1
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.6.1|2|0
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.7.1|4|Total
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.8.1|4|Total
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.9.1|66|1017
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.10.1|66|1067
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.11.1|66|95
|
||||
1.3.6.1.4.1.21239.5.2.3.1.1.12.1|66|8483906
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.2.1|4|Phase A
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.2.2|4|Phase B
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.2.3|4|Phase C
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.3.1|4|Phase A
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.3.2|4|Phase B
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.3.3|4|Phase C
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.4.1|66|2350
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.4.2|66|2341
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.4.3|66|2365
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.5.1|66|2372
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.5.2|66|2361
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.5.3|66|2379
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.6.1|66|2301
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.6.2|66|2290
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.6.3|66|2311
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.7.1|66|3373
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.7.2|66|3353
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.7.3|66|3398
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.8.1|66|95
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.8.2|66|187
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.8.3|66|170
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.9.1|66|98
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.9.2|66|218
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.9.3|66|194
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.10.1|66|93
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.10.2|66|96
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.10.3|66|59
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.11.1|66|313
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.11.2|66|573
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.11.3|66|1086
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.12.1|66|198
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.12.2|66|436
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.12.3|66|382
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.13.1|66|224
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.13.2|66|439
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.13.3|66|403
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.14.1|66|88
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.14.2|66|99
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.14.3|66|94
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.15.1|66|2353700
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.15.2|66|2262146
|
||||
1.3.6.1.4.1.21239.5.2.3.2.1.15.3|66|3868060
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.2.1|4|Circuit 1
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.2.2|4|Circuit 2
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.2.3|4|Circuit 3
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.2.4|4|Circuit 4
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.2.5|4|Circuit 5
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.2.6|4|Circuit 6
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.3.1|4|Circuit 1
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.3.2|4|Circuit 2
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.3.3|4|Circuit 3
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.3.4|4|Circuit 4
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.3.5|4|Circuit 5
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.3.6|4|Circuit 6
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.4.1|66|42
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.4.2|66|51
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.4.3|66|3
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.4.4|66|181
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.4.5|66|3
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.4.6|66|169
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.5.1|66|46
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.5.2|66|55
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.5.3|66|6
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.5.4|66|217
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.5.5|66|4
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.5.6|66|194
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.6.1|66|39
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.6.2|66|45
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.6.3|66|3
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.6.4|66|92
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.6.5|66|2
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.6.6|66|58
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.7.1|66|149
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.7.2|66|136
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.7.3|66|146
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.7.4|66|570
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.7.5|66|18
|
||||
1.3.6.1.4.1.21239.5.2.3.3.1.7.6|66|874
|
||||
1.3.6.1.4.1.21239.5.2.3.4.1.4.1|66|0
|
||||
1.3.6.1.4.1.21239.5.2.3.4.1.4.2|66|0
|
||||
1.3.6.1.4.1.21239.5.2.3.4.1.4.3|66|0
|
Reference in New Issue
Block a user