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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

749 lines
30 KiB
JSON
Raw Normal View History

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.318.1.3.27",
"sysDescr": "APC Web/SNMP Management Card (MB:v4.1.0 PF:v7.1.2 PN:apc_hw05_aos_712.bin AF1:v7.1.2 AN1:apc_hw05_sumx_712.bin MN:AP9631 HR:08 SN: 5A1274T28648 MD:04/06/2019) (Embedded PowerNet SNMP Agent SW v2.2 compatible)",
"sysContact": null,
"version": "AOS v7.1.2 / App v7.1.2",
"hardware": "Web/SNMP Management Card (MB:v4.1.0 PF:v7.1.2 PN:apc_hw05_aos_712.bin AF1:v7.1.2 AN1:apc_hw05_sumx_712.bin MN:AP9631 HR:08 SN: 5A1274T28648 MD:04/06/2019)",
"features": null,
"location": null,
"os": "apc",
"type": "power",
"serial": null,
"icon": "apc.svg"
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "charge",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.1.0",
"sensor_index": "0",
"sensor_type": "apc",
"sensor_descr": "Battery Charge",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 100,
"sensor_limit": 100,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 10,
"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.318.1.1.1.2.2.21.0",
"sensor_index": "upsAdvBatteryRecommendedReplaceDate.0",
"sensor_type": "apc",
"sensor_descr": "Battery Recommended Days Remaining",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 2139,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 30,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": "dateToDays",
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "current",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.4.0",
"sensor_index": "0",
"sensor_type": "apcUPS",
"sensor_descr": "Phase 0 Output",
"group": null,
"sensor_divisor": 10,
"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": "frequency",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.4.0",
"sensor_index": "3.3.4.0",
"sensor_type": "apc",
"sensor_descr": "Input",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 50,
"sensor_limit": 52.5,
"sensor_limit_warn": null,
"sensor_limit_low": 47.5,
"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": "frequency",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.2.0",
"sensor_index": "4.3.2.0",
"sensor_type": "apc",
"sensor_descr": "Output",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 50,
"sensor_limit": 52.5,
"sensor_limit_warn": null,
"sensor_limit_low": 47.5,
"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": "load",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0",
"sensor_index": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0",
"sensor_type": "apc",
"sensor_descr": "Load(VA)",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 17.6,
"sensor_limit": 80,
"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.318.1.1.1.4.2.8.0",
"sensor_index": "PowerNet-MIB::upsAdvOutputActivePower.0",
"sensor_type": "apc",
"sensor_descr": "Active Power",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 169,
"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.318.1.1.1.2.2.3.0",
"sensor_index": "upsAdvBatteryRunTimeRemaining.0",
"sensor_type": "apc",
"sensor_descr": "Runtime",
"group": null,
"sensor_divisor": 6000,
"sensor_multiplier": 1,
"sensor_current": 76,
"sensor_limit": 3000,
"sensor_limit_warn": 2000,
"sensor_limit_low": 5,
"sensor_limit_low_warn": 10,
"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.318.1.1.1.2.2.4.0",
"sensor_index": "0",
"sensor_type": "upsAdvBatteryReplaceIndicator",
"sensor_descr": "UPS Battery Replacement Status",
"group": null,
"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": "0",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "upsAdvBatteryReplaceIndicator"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.2.5.0",
"sensor_index": "upsAdvInputLineFailCause.0",
"sensor_type": "upsAdvInputLineFailCause",
"sensor_descr": "Last failure cause",
"group": null,
"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": "upsAdvInputLineFailCause"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.318.1.1.1.7.2.3.0",
"sensor_index": "0",
"sensor_type": "upsAdvTestDiagnosticsResults",
"sensor_descr": "UPS diagnostics status",
"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": "upsAdvTestDiagnosticsResults"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.1.1.0",
"sensor_index": "0",
"sensor_type": "upsBasicOutputStatus",
"sensor_descr": "Output 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": "upsBasicOutputStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.2.0",
"sensor_index": "0",
"sensor_type": "apc",
"sensor_descr": "Internal Temperature",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 30,
"sensor_limit": 50,
"sensor_limit_warn": null,
"sensor_limit_low": 20,
"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.318.1.1.25.1.2.1.6.1.1",
"sensor_index": "1",
"sensor_type": "apc",
"sensor_descr": "Temp. Rack",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 30,
"sensor_limit": 50,
"sensor_limit_warn": null,
"sensor_limit_low": 20,
"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.318.1.1.25.1.2.1.6.2.1",
"sensor_index": "2",
"sensor_type": "apc",
"sensor_descr": "Temp. Room",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 21,
"sensor_limit": 41,
"sensor_limit_warn": null,
"sensor_limit_low": 11,
"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.318.1.1.1.2.3.4.0",
"sensor_index": "2.3.4.0",
"sensor_type": "apc",
"sensor_descr": "Battery Bus",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 27,
"sensor_limit": 31.05,
"sensor_limit_warn": null,
"sensor_limit_low": 22.95,
"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.318.1.1.1.3.3.1.0",
"sensor_index": "3.3.1.0",
"sensor_type": "apc",
"sensor_descr": "Input",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 247.6,
"sensor_limit": 284.74,
"sensor_limit_warn": null,
"sensor_limit_low": 210.46,
"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.318.1.1.1.4.3.1.0",
"sensor_index": "4.3.1.0",
"sensor_type": "apc",
"sensor_descr": "Output",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 247.6,
"sensor_limit": 284.74,
"sensor_limit_warn": null,
"sensor_limit_low": 210.46,
"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": "upsAdvBatteryReplaceIndicator",
"state_descr": "noBatteryNeedsReplacing",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "upsAdvBatteryReplaceIndicator",
"state_descr": "batteryNeedsReplacing",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "upsAdvInputLineFailCause",
"state_descr": "noTransfer",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "upsAdvInputLineFailCause",
"state_descr": "highLineVoltage",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "upsAdvInputLineFailCause",
"state_descr": "brownout",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 0
},
{
"state_name": "upsAdvInputLineFailCause",
"state_descr": "blackout",
"state_draw_graph": 0,
"state_value": 4,
"state_generic_value": 0
},
{
"state_name": "upsAdvInputLineFailCause",
"state_descr": "smallMomentarySag",
"state_draw_graph": 0,
"state_value": 5,
"state_generic_value": 0
},
{
"state_name": "upsAdvInputLineFailCause",
"state_descr": "deepMomentarySag",
"state_draw_graph": 0,
"state_value": 6,
"state_generic_value": 0
},
{
"state_name": "upsAdvInputLineFailCause",
"state_descr": "smallMomentarySag",
"state_draw_graph": 0,
"state_value": 7,
"state_generic_value": 0
},
{
"state_name": "upsAdvInputLineFailCause",
"state_descr": "largeMomentarySpike",
"state_draw_graph": 0,
"state_value": 8,
"state_generic_value": 0
},
{
"state_name": "upsAdvInputLineFailCause",
"state_descr": "selfTest",
"state_draw_graph": 0,
"state_value": 9,
"state_generic_value": 0
},
{
"state_name": "upsAdvInputLineFailCause",
"state_descr": "rateOfVoltageChange",
"state_draw_graph": 0,
"state_value": 10,
"state_generic_value": 0
},
{
"state_name": "upsAdvTestDiagnosticsResults",
"state_descr": "ok",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "upsAdvTestDiagnosticsResults",
"state_descr": "failed",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 3
},
{
"state_name": "upsAdvTestDiagnosticsResults",
"state_descr": "invalidTest",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 1
},
{
"state_name": "upsAdvTestDiagnosticsResults",
"state_descr": "testInProgress",
"state_draw_graph": 0,
"state_value": 4,
"state_generic_value": 1
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "unknown",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 3
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "onLine",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "onBattery",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 1
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "onSmartBoost",
"state_draw_graph": 0,
"state_value": 4,
"state_generic_value": 0
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "timedSleeping",
"state_draw_graph": 0,
"state_value": 5,
"state_generic_value": 0
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "softwareBypass",
"state_draw_graph": 0,
"state_value": 6,
"state_generic_value": 1
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "off",
"state_draw_graph": 0,
"state_value": 7,
"state_generic_value": 2
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "rebooting",
"state_draw_graph": 0,
"state_value": 8,
"state_generic_value": 1
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "switchedBypass",
"state_draw_graph": 0,
"state_value": 9,
"state_generic_value": 1
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "hardwareFailureBypass",
"state_draw_graph": 0,
"state_value": 10,
"state_generic_value": 2
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "sleepingUntilPowerReturn",
"state_draw_graph": 0,
"state_value": 11,
"state_generic_value": 1
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "onSmartTrim",
"state_draw_graph": 0,
"state_value": 12,
"state_generic_value": 1
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "ecoMode",
"state_draw_graph": 0,
"state_value": 13,
"state_generic_value": 0
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "hotStandby",
"state_draw_graph": 0,
"state_value": 14,
"state_generic_value": 0
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "onBatteryTest",
"state_draw_graph": 0,
"state_value": 15,
"state_generic_value": 1
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "emergencyStaticBypass",
"state_draw_graph": 0,
"state_value": 16,
"state_generic_value": 2
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "staticBypassStandby",
"state_draw_graph": 0,
"state_value": 17,
"state_generic_value": 1
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "powerSavingMode",
"state_draw_graph": 0,
"state_value": 18,
"state_generic_value": 0
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "spotMode",
"state_draw_graph": 0,
"state_value": 19,
"state_generic_value": 0
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "eConversion",
"state_draw_graph": 0,
"state_value": 20,
"state_generic_value": 0
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "chargerSpotmode",
"state_draw_graph": 0,
"state_value": 21,
"state_generic_value": 0
},
{
"state_name": "upsBasicOutputStatus",
"state_descr": "inverterSpotmode",
"state_draw_graph": 0,
"state_value": 22,
"state_generic_value": 0
}
]
},
"poller": "matches discovery"
}
}