librenms/tests/data/huawei-smu_smu02b.json
Denny Friebe 54094a4038
Support Huawei SMU02B (#14673)
Signed-off-by: Denny Friebe <nightcore500@users.noreply.github.com>

Signed-off-by: Denny Friebe <nightcore500@users.noreply.github.com>
2022-11-24 17:34:27 +01:00

762 lines
31 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux GSE200M 2.6.27-SPEAr310 #776 Thu Aug 16 11:23:18 CST 2018 armv5tejl",
"sysContact": "<private>",
"version": "SMU V500R001C10_02B19",
"hardware": null,
"features": null,
"location": "<private>",
"os": "huawei-smu",
"type": "power",
"serial": null,
"icon": "huawei.svg"
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "charge",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.4.4.2.1.3.5",
"sensor_index": "hwBattStringRemainCapacityPercent.5",
"sensor_type": "huawei-smu",
"sensor_descr": "Remaining battery capacity",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 100,
"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": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.5.1.4.0",
"sensor_index": "ac-0",
"sensor_type": "huawei-smu",
"sensor_descr": "Quantity of ACs",
"group": "AC",
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.4.1.3.0",
"sensor_index": "battery-0",
"sensor_type": "huawei-smu",
"sensor_descr": "Quantity of Batteries",
"group": "Battery",
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.6.1.6.0",
"sensor_index": "dc-0",
"sensor_type": "huawei-smu",
"sensor_descr": "Quantity of DCs",
"group": "DC",
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.3.1.4.0",
"sensor_index": "rectifier-0",
"sensor_type": "huawei-smu",
"sensor_descr": "Quantity of Rectifiers",
"group": "Rectifier",
"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": null
},
{
"sensor_deleted": 0,
"sensor_class": "current",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.4.2.1.0",
"sensor_index": "battery-0",
"sensor_type": "huawei-smu",
"sensor_descr": "Battery Current",
"group": "Battery",
"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.2011.6.164.1.6.2.1.1.5.1",
"sensor_index": "dcOutput-1",
"sensor_type": "huawei-smu",
"sensor_descr": "DC Output Current",
"group": "DC",
"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.2011.6.164.1.6.1.4.0",
"sensor_index": "dcTotal-0",
"sensor_type": "huawei-smu",
"sensor_descr": "DC Total Current",
"group": "DC",
"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.2011.6.164.1.3.1.3.0",
"sensor_index": "rectifier-0",
"sensor_type": "huawei-smu",
"sensor_descr": "Rectifier Current",
"group": "Rectifier",
"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": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.4.2.3.0",
"sensor_index": "0",
"sensor_type": "hwBattsChargeStatus",
"sensor_descr": "Battery Charge Status",
"group": "Battery",
"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,
"rrd_type": "GAUGE",
"state_name": "hwBattsChargeStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.4.2.4.0",
"sensor_index": "0",
"sensor_type": "hwBattsCurrLimitStatus",
"sensor_descr": "Battery Limiting Status",
"group": "Battery",
"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,
"rrd_type": "GAUGE",
"state_name": "hwBattsCurrLimitStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.3.1.8.0",
"sensor_index": "0",
"sensor_type": "hwCtrlRectsAllOnOff",
"sensor_descr": "Recirifier Module Status",
"group": "Rectifier",
"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,
"rrd_type": "GAUGE",
"state_name": "hwCtrlRectsAllOnOff"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.2.2.1.1.99.1",
"sensor_index": "1",
"sensor_type": "hwMonitorOperStatus",
"sensor_descr": "Monitor Status",
"group": "Site Summary",
"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,
"rrd_type": "GAUGE",
"state_name": "hwMonitorOperStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.2.2.1.1.11.1",
"sensor_index": "1",
"sensor_type": "hwSetMonEquipCtrlState",
"sensor_descr": "Monitor Control Status",
"group": "Site Summary",
"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": "hwSetMonEquipCtrlState"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.3.1.7.0",
"sensor_index": "0",
"sensor_type": "hwSetRectsRedundEnable",
"sensor_descr": "Sleep Function",
"group": "Rectifier",
"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": "hwSetRectsRedundEnable"
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.2011.6.164.1.5.2.1.1.4.1",
"sensor_index": "acInput-1",
"sensor_type": "huawei-smu",
"sensor_descr": "AC Input (A-Phase)",
"group": "AC",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 227.9,
"sensor_limit": 262.085,
"sensor_limit_warn": null,
"sensor_limit_low": 193.715,
"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.2011.6.164.1.3.1.6.0",
"sensor_index": "adjustedRectifier-0",
"sensor_type": "huawei-smu",
"sensor_descr": "Rectifier Adjusted Voltage",
"group": "Rectifier",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 54.8,
"sensor_limit": 63.02,
"sensor_limit_warn": null,
"sensor_limit_low": 46.58,
"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.2011.6.164.1.6.2.1.1.4.1",
"sensor_index": "dcOutput-1",
"sensor_type": "huawei-smu",
"sensor_descr": "DC Output Voltage",
"group": "DC",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 54.9,
"sensor_limit": 63.135,
"sensor_limit_warn": null,
"sensor_limit_low": 46.665,
"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.2011.6.164.1.6.1.3.0",
"sensor_index": "dcTotal-0",
"sensor_type": "huawei-smu",
"sensor_descr": "DC Total Voltage",
"group": "DC",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 54.9,
"sensor_limit": 63.135,
"sensor_limit_warn": null,
"sensor_limit_low": 46.665,
"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.2011.6.164.1.7.2.1.1.5.1",
"sensor_index": "lvd-1",
"sensor_type": "huawei-smu",
"sensor_descr": "Lvd Unit",
"group": "LVD",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 44,
"sensor_limit": 50.6,
"sensor_limit_warn": null,
"sensor_limit_low": 37.4,
"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.2011.6.164.1.7.2.1.1.5.2",
"sensor_index": "lvd-2",
"sensor_type": "huawei-smu",
"sensor_descr": "Lvd Unit",
"group": "LVD",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 44,
"sensor_limit": 50.6,
"sensor_limit_warn": null,
"sensor_limit_low": 37.4,
"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.2011.6.164.1.7.2.1.1.5.3",
"sensor_index": "lvd-3",
"sensor_type": "huawei-smu",
"sensor_descr": "Lvd Unit",
"group": "LVD",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 43.2,
"sensor_limit": 49.68,
"sensor_limit_warn": null,
"sensor_limit_low": 36.72,
"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.2011.6.164.1.3.1.5.0",
"sensor_index": "ratedRectifier-0",
"sensor_type": "huawei-smu",
"sensor_descr": "Rectifier Rated Voltage",
"group": "Rectifier",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 53.5,
"sensor_limit": 61.525,
"sensor_limit_warn": null,
"sensor_limit_low": 45.475,
"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": "hwBattsChargeStatus",
"state_descr": "floatCharge",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "hwBattsChargeStatus",
"state_descr": "boostCharge",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 1
},
{
"state_name": "hwBattsChargeStatus",
"state_descr": "disCharge",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 2
},
{
"state_name": "hwBattsChargeStatus",
"state_descr": "unknown",
"state_draw_graph": 1,
"state_value": 255,
"state_generic_value": 3
},
{
"state_name": "hwBattsCurrLimitStatus",
"state_descr": "unlimit",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "hwBattsCurrLimitStatus",
"state_descr": "limit",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "hwBattsCurrLimitStatus",
"state_descr": "unknown",
"state_draw_graph": 1,
"state_value": 255,
"state_generic_value": 3
},
{
"state_name": "hwCtrlRectsAllOnOff",
"state_descr": "on",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "hwCtrlRectsAllOnOff",
"state_descr": "off",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 1
},
{
"state_name": "hwCtrlRectsAllOnOff",
"state_descr": "nullOper",
"state_draw_graph": 1,
"state_value": 255,
"state_generic_value": 3
},
{
"state_name": "hwMonitorOperStatus",
"state_descr": "normal",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "hwMonitorOperStatus",
"state_descr": "commRs485Fail",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "hwMonitorOperStatus",
"state_descr": "commNetFail",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 2
},
{
"state_name": "hwMonitorOperStatus",
"state_descr": "fault",
"state_draw_graph": 1,
"state_value": 4,
"state_generic_value": 2
},
{
"state_name": "hwMonitorOperStatus",
"state_descr": "alarmResume",
"state_draw_graph": 1,
"state_value": 254,
"state_generic_value": 1
},
{
"state_name": "hwMonitorOperStatus",
"state_descr": "other",
"state_draw_graph": 1,
"state_value": 255,
"state_generic_value": 3
},
{
"state_name": "hwSetMonEquipCtrlState",
"state_descr": "manualMode",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "hwSetMonEquipCtrlState",
"state_descr": "autoMode",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "hwSetMonEquipCtrlState",
"state_descr": "unknown",
"state_draw_graph": 1,
"state_value": 255,
"state_generic_value": 3
},
{
"state_name": "hwSetRectsRedundEnable",
"state_descr": "disable",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "hwSetRectsRedundEnable",
"state_descr": "enable",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "hwSetRectsRedundEnable",
"state_descr": "funcNotSuppport",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 3
}
]
},
"poller": "matches discovery"
}
}