mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -8,6 +8,9 @@ over:
|
||||
- { graph: device_voltage, text: Voltage }
|
||||
- { graph: device_charge, text: Charge }
|
||||
discovery:
|
||||
-
|
||||
sysObjectID:
|
||||
- .1.3.6.1.4.1.2011.6.164.
|
||||
-
|
||||
sysObjectID: .1.3.6.1.4.1.8072.3.2.10
|
||||
snmpget:
|
||||
|
690
tests/data/huawei-smu_11b.json
Normal file
690
tests/data/huawei-smu_11b.json
Normal file
@@ -0,0 +1,690 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "gse200m",
|
||||
"sysObjectID": ".1.3.6.1.4.1.2011.6.164.1.2",
|
||||
"sysDescr": "SMU11B",
|
||||
"sysContact": "@@no.where",
|
||||
"version": "SMU11B_X V500R003C00SPC036",
|
||||
"hardware": null,
|
||||
"features": null,
|
||||
"os": "huawei-smu",
|
||||
"type": "power",
|
||||
"serial": null,
|
||||
"icon": "huawei.svg",
|
||||
"location": "Unknown"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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,
|
||||
"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,
|
||||
"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,
|
||||
"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,
|
||||
"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": 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,
|
||||
"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,
|
||||
"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": 34,
|
||||
"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.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": 34,
|
||||
"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.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": 31,
|
||||
"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.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,
|
||||
"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,
|
||||
"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,
|
||||
"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,
|
||||
"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,
|
||||
"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": 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": "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": 231.2,
|
||||
"sensor_limit": 265.88,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 196.52,
|
||||
"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.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": 53.4,
|
||||
"sensor_limit": 61.41,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 45.39,
|
||||
"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.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": 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,
|
||||
"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": 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,
|
||||
"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": "BLVD",
|
||||
"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,
|
||||
"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,
|
||||
"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"
|
||||
}
|
||||
}
|
2247
tests/snmpsim/huawei-smu_11b.snmprec
Normal file
2247
tests/snmpsim/huawei-smu_11b.snmprec
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user