Files
librenms-librenms/tests/data/cxrc_cxrc.json

381 lines
16 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.7309.4",
"sysDescr": "CXC",
"sysContact": "<private>",
"version": null,
"hardware": null,
"features": null,
"location": "<private>",
"os": "cxrc",
"type": "power",
"serial": null,
"icon": "alpha.png"
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "charge",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7309.4.1.6.2.2.1.3.8",
"sensor_index": "dcPwrSysCntrlrIpIndex.8",
"sensor_type": "cxrc",
"sensor_descr": "Battery Capacity",
"group": null,
"sensor_divisor": 100,
"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.7309.4.1.6.3.2.1.3.4",
"sensor_index": "dcPwrSysRectIpIndex.4",
"sensor_type": "cxrc",
"sensor_descr": "# Acquired Rectifiers",
"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": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7309.4.1.6.3.2.1.3.5",
"sensor_index": "dcPwrSysRectIpIndex.5",
"sensor_type": "cxrc",
"sensor_descr": "# Sourcing Rectifiers",
"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": null
},
{
"sensor_deleted": 0,
"sensor_class": "current",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7309.4.1.6.2.2.1.3.2",
"sensor_index": "dcPwrSysCntrlrIpIndex.2",
"sensor_type": "cxrc",
"sensor_descr": "Load Current",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 5.17,
"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.7309.4.1.6.2.2.1.3.4",
"sensor_index": "dcPwrSysCntrlrIpIndex.4",
"sensor_type": "cxrc",
"sensor_descr": "Battery Current",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": -3.76,
"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.7309.4.1.6.3.2.1.3.1",
"sensor_index": "dcPwrSysRectIpIndex.1",
"sensor_type": "cxrc",
"sensor_descr": "Total Rectifier Current",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 1.37,
"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": "runtime",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7309.4.1.6.2.2.1.3.7",
"sensor_index": "dcPwrSysCntrlrIpIndex.7",
"sensor_type": "cxrc",
"sensor_descr": "Battery Runtime",
"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": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7309.4.1.6.2.2.1.3.6",
"sensor_index": "dcPwrSysCntrlrIpIndex.6",
"sensor_type": "cxrc",
"sensor_descr": "Battery Temperature",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 20.85,
"sensor_limit": 40.85,
"sensor_limit_warn": null,
"sensor_limit_low": 10.85,
"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.7309.4.1.6.2.2.1.3.1",
"sensor_index": "dcPwrSysCntrlrIpIndex.1",
"sensor_type": "cxrc",
"sensor_descr": "Load Voltage",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 53.99,
"sensor_limit": 62.0885,
"sensor_limit_warn": null,
"sensor_limit_low": 45.8915,
"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.7309.4.1.6.2.2.1.3.11",
"sensor_index": "dcPwrSysCntrlrIpIndex.11",
"sensor_type": "cxrc",
"sensor_descr": "Converter Load Voltage",
"group": null,
"sensor_divisor": 100,
"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.7309.4.1.6.2.2.1.3.3",
"sensor_index": "dcPwrSysCntrlrIpIndex.3",
"sensor_type": "cxrc",
"sensor_descr": "Battery Voltage",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 53.99,
"sensor_limit": 62.0885,
"sensor_limit_warn": null,
"sensor_limit_low": 45.8915,
"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.7309.4.1.6.2.2.1.3.5",
"sensor_index": "dcPwrSysCntrlrIpIndex.5",
"sensor_type": "cxrc",
"sensor_descr": "AC Mains",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 119.15,
"sensor_limit": 137.0225,
"sensor_limit_warn": null,
"sensor_limit_low": 101.2775,
"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.7309.4.1.6.3.2.1.3.2",
"sensor_index": "dcPwrSysRectIpIndex.2",
"sensor_type": "cxrc",
"sensor_descr": "Avg DC Voltage",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 54.09,
"sensor_limit": 62.2035,
"sensor_limit_warn": null,
"sensor_limit_low": 45.9765,
"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.7309.4.1.6.3.2.1.3.3",
"sensor_index": "dcPwrSysRectIpIndex.3",
"sensor_type": "cxrc",
"sensor_descr": "Avg AC Voltage",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 119.15,
"sensor_limit": 137.0225,
"sensor_limit_warn": null,
"sensor_limit_low": 101.2775,
"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"
}
}