librenms/tests/data/ees_v2-2-12.json
O Palivan c2678c1b6c
EES Rectifier various fixes from MIB + added tests (#14519)
* EES fixes from MIB + added tests
* Another typo
* Another typo + Tests
* Update ees_v2-2-12.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2022-10-25 23:01:05 +02:00

743 lines
30 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.6302.2.1",
"sysDescr": "Linux ES_Controller 2.6.27.18-419-g12a78a3 #2 PREEMPT Mon Jun 25 11:03:15 CDT 2018 armv5tejl",
"sysContact": "<private>",
"version": "2.2.12",
"hardware": null,
"features": null,
"location": "<private>",
"os": "ees",
"type": "power",
"serial": "03200913942",
"icon": "emerson.svg"
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "current",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.6302.2.1.2.5.5.1.2.116",
"sensor_index": "psBatteryTable.116",
"sensor_type": "ees",
"sensor_descr": "Battery 1",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": 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.6302.2.1.2.11.4.1.6.3",
"sensor_index": "psRectifierTable.3",
"sensor_type": "ees",
"sensor_descr": "Rectifier#1",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 0.845,
"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.6302.2.1.2.11.4.1.6.4",
"sensor_index": "psRectifierTable.4",
"sensor_type": "ees",
"sensor_descr": "Rectifier#2",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 1.459,
"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.6302.2.1.2.11.4.1.6.5",
"sensor_index": "psRectifierTable.5",
"sensor_type": "ees",
"sensor_descr": "Rectifier#3",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 1.714,
"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.6302.2.1.2.5.2.0",
"sensor_index": "psTotalBatteryCurrent.0",
"sensor_type": "ees",
"sensor_descr": "Battery Current",
"group": null,
"sensor_divisor": 1000,
"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.6302.2.1.2.13.5.0",
"sensor_index": "psTotalConverterCurrent.0",
"sensor_type": "ees",
"sensor_descr": "Converter Current",
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "current",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.6302.2.1.2.3.0",
"sensor_index": "systemCurrent.0",
"sensor_type": "ees",
"sensor_descr": "System Current",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 3.989,
"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": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.6302.2.1.2.9.0",
"sensor_index": "psStatusBatteryMode.0",
"sensor_type": "psStatusBatteryMode",
"sensor_descr": "Battery Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 2,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "psStatusBatteryMode"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.6302.2.1.2.8.0",
"sensor_index": "psStatusCommunication.0",
"sensor_type": "psStatusCommunication",
"sensor_descr": "Communication Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 2,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "psStatusCommunication"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.6302.2.1.2.7.3.1.5.73778",
"sensor_index": "psTemperatureAlarmStatus.73778",
"sensor_type": "psTemperatureTable",
"sensor_descr": "Battery System Temperature 1 Alarm",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 3,
"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": "psTemperatureTable"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.6302.2.1.2.7.3.1.5.73779",
"sensor_index": "psTemperatureAlarmStatus.73779",
"sensor_type": "psTemperatureTable",
"sensor_descr": "Ambiant System Temperature 2 Alarm",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 3,
"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": "psTemperatureTable"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.6302.2.1.2.1.0",
"sensor_index": "systemStatus.0",
"sensor_type": "systemStatus",
"sensor_descr": "System Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 2,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "systemStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.6302.2.1.2.7.3.1.2.73778",
"sensor_index": "psTemperatureMeasurement.73778",
"sensor_type": "ees",
"sensor_descr": "Battery System Temperature 1",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 21.198,
"sensor_limit": 41.198,
"sensor_limit_warn": null,
"sensor_limit_low": 11.198,
"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": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.6302.2.1.2.7.3.1.2.73779",
"sensor_index": "psTemperatureMeasurement.73779",
"sensor_type": "ees",
"sensor_descr": "Ambiant System Temperature 2",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 21.908,
"sensor_limit": 41.908,
"sensor_limit_warn": null,
"sensor_limit_low": 11.908,
"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.6302.2.1.2.5.1.0",
"sensor_index": "psBatteryVoltage.0",
"sensor_type": "ees",
"sensor_descr": "Battery Voltage",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 54.58,
"sensor_limit": 62.767,
"sensor_limit_warn": null,
"sensor_limit_low": 46.393,
"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.6302.2.1.2.13.4.0",
"sensor_index": "psConverterVoltage.0",
"sensor_type": "ees",
"sensor_descr": "Converter Voltage",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": 0,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.6302.2.1.2.6.1.0",
"sensor_index": "psInputLineAVoltage.0",
"sensor_type": "ees",
"sensor_descr": "Input Line A Voltage",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 234.803,
"sensor_limit": 270.02345,
"sensor_limit_warn": null,
"sensor_limit_low": 199.58255,
"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.6302.2.1.2.6.2.0",
"sensor_index": "psInputLineBVoltage.0",
"sensor_type": "ees",
"sensor_descr": "Input Line B Voltage",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 230.669,
"sensor_limit": 265.26935,
"sensor_limit_warn": null,
"sensor_limit_low": 196.06865,
"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.6302.2.1.2.6.3.0",
"sensor_index": "psInputLineCVoltage.0",
"sensor_type": "ees",
"sensor_descr": "Input Line C Voltage",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 232.58,
"sensor_limit": 267.467,
"sensor_limit_warn": null,
"sensor_limit_low": 197.693,
"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.6302.2.1.2.2.0",
"sensor_index": "systemVoltage.0",
"sensor_type": "ees",
"sensor_descr": "System Voltage",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 54.559,
"sensor_limit": 62.74285,
"sensor_limit_warn": null,
"sensor_limit_low": 46.37515,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
}
],
"state_indexes": [
{
"state_name": "psStatusBatteryMode",
"state_descr": "unknown",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 3
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "floatCharging",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "shortTest",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 3
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "bcForTest",
"state_draw_graph": 1,
"state_value": 4,
"state_generic_value": 3
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "manualTesting",
"state_draw_graph": 1,
"state_value": 5,
"state_generic_value": 3
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "planTesting",
"state_draw_graph": 1,
"state_value": 6,
"state_generic_value": 3
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "acFailTesting",
"state_draw_graph": 1,
"state_value": 7,
"state_generic_value": 3
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "acFail",
"state_draw_graph": 1,
"state_value": 8,
"state_generic_value": 2
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "manualBC",
"state_draw_graph": 1,
"state_value": 9,
"state_generic_value": 3
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "autoBC",
"state_draw_graph": 1,
"state_value": 10,
"state_generic_value": 3
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "cyclicBC",
"state_draw_graph": 1,
"state_value": 11,
"state_generic_value": 3
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "masterBC",
"state_draw_graph": 1,
"state_value": 12,
"state_generic_value": 3
},
{
"state_name": "psStatusBatteryMode",
"state_descr": "masterBT",
"state_draw_graph": 1,
"state_value": 13,
"state_generic_value": 3
},
{
"state_name": "psStatusCommunication",
"state_descr": "unknown",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 3
},
{
"state_name": "psStatusCommunication",
"state_descr": "normal",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "psStatusCommunication",
"state_descr": "interupt",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 2
},
{
"state_name": "psTemperatureTable",
"state_descr": "high",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 2
},
{
"state_name": "psTemperatureTable",
"state_descr": "low",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "psTemperatureTable",
"state_descr": "fail",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "psTemperatureTable",
"state_descr": "none",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 0
},
{
"state_name": "systemStatus",
"state_descr": "unknown",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 3
},
{
"state_name": "systemStatus",
"state_descr": "normal",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "systemStatus",
"state_descr": "warning",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 1
},
{
"state_name": "systemStatus",
"state_descr": "minor",
"state_draw_graph": 1,
"state_value": 4,
"state_generic_value": 1
},
{
"state_name": "systemStatus",
"state_descr": "major",
"state_draw_graph": 1,
"state_value": 5,
"state_generic_value": 2
},
{
"state_name": "systemStatus",
"state_descr": "critical",
"state_draw_graph": 1,
"state_value": 6,
"state_generic_value": 2
},
{
"state_name": "systemStatus",
"state_descr": "unmanaged",
"state_draw_graph": 1,
"state_value": 7,
"state_generic_value": 1
},
{
"state_name": "systemStatus",
"state_descr": "restricted",
"state_draw_graph": 1,
"state_value": 8,
"state_generic_value": 1
},
{
"state_name": "systemStatus",
"state_descr": "testing",
"state_draw_graph": 1,
"state_value": 9,
"state_generic_value": 3
},
{
"state_name": "systemStatus",
"state_descr": "disabled",
"state_draw_graph": 1,
"state_value": 10,
"state_generic_value": 1
}
]
},
"poller": "matches discovery"
}
}