Files
librenms-librenms/tests/data/linux_ups-nut.json
Tony Murray 941037e44e Convert OS discovery to new style (#12099)
* terra

* airos

* port cisco os polling
old wwan polling was broken and deprecated anyway

* enterasys

* Brother, a few changes

* AW Plus

* Fabos

* set expected test data

* 3com

* Adva FSP150

* advantech

* airos-af

* aix

* akcp

* allied

* allworx and missed mibs

* anyos

* fixup some zyxel shared stuffs
zywall graph polling

* aos

* apc

* apex

* apsoluteos

* fix copyrights

* arris

* arris

* aruba-instant

* ArubaOS

* Ascom

* asuswrt-merlin, ats

* audiocodes

* avocent

* avtech

* barracuda

* binox

* boss

* canonprinter

* cdata

* ceraos

* ciena-waveserver

* fix 3com

* fix airos

* fix brother yaml?

* fix aos more

* fix and improve apc

* fix arista test data

* yaml discovery (basic)

* cimc

* mib not used

* remove old discovery file

* ciscosat

* ciscosb fixes + improvements

* comware

* ctm

* cumulus

* cxr-ts

* cyberoam-utm

* cyberpower

* dahua-nvr

* dasan-nos

* datadomain

* dcn-software and fallback oids

* dd-wrt

* dell-laser

* d*

* e* and location

* forti, post processing, oid coalescing

* Freebsd array of sysDescr regex

* finish f*

* g*

* h*

* i* WIP

* i*

* Junos

* j*

* k*

* unix refactor previous to yaml more
inject $device

* fixes

* fixes

* l*

* m*

* n* ability to set other fields in regex
tnmsne polling to eloquent

* o*

* p*

* q* + bonus calix

* r*

* s* WIP

* s*

* t*

* u*

* v*
rework vrp to yaml (hybrid)

* w*

* x*

* z*

* a* easy no-data

* fixes

* style fixes

* missed ApexPlus

* fix signature

* Add missing location data

* rename getDevice functions

* add new cisco ftd data

* update docs

* revert sill snmp format

* fix snmp options

* update for new smartax test data

* rebase dsm

* fix voss
2020-09-18 15:12:07 +02:00

1455 lines
60 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux some.host.name 4.9.0 #1 SMP Mon Dec 12 14:44:53 CST 2016 x86_64",
"sysContact": null,
"version": "4.9.0",
"hardware": "Generic x86 64-bit",
"features": null,
"os": "linux",
"type": "server",
"serial": null,
"icon": "linux.svg",
"location": "<private>"
}
]
},
"poller": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux some.host.name 4.9.0 #1 SMP Mon Dec 12 14:44:53 CST 2016 x86_64",
"sysContact": "<private>",
"version": "4.9.0",
"hardware": "Generic x86 64-bit",
"features": null,
"os": "linux",
"type": "server",
"serial": null,
"icon": "linux.svg",
"location": "<private>"
}
]
}
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "charge",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.1",
"sensor_index": "1",
"sensor_type": "ups-nut",
"sensor_descr": "Battery Charge",
"group": null,
"sensor_divisor": 1,
"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,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "load",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.8",
"sensor_index": "8",
"sensor_type": "ups-nut",
"sensor_descr": "Ups Load",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 17,
"sensor_limit": 100,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 0,
"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": "runtime",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.3",
"sensor_index": "3",
"sensor_type": "ups-nut",
"sensor_descr": "Time Remaining",
"group": null,
"sensor_divisor": 60,
"sensor_multiplier": 1,
"sensor_current": 2280,
"sensor_limit": 1000,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 0,
"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.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.14",
"sensor_index": "14",
"sensor_type": "UPSBatteryCharging",
"sensor_descr": "UPS the battery is charging",
"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": "14",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSBatteryCharging"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.15",
"sensor_index": "15",
"sensor_type": "UPSBatteryDischarging",
"sensor_descr": "UPS the battery is discharging",
"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": "15",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSBatteryDischarging"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.13",
"sensor_index": "13",
"sensor_type": "UPSBatteryReplace",
"sensor_descr": "UPS the battery needs to be replaced",
"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": "13",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSBatteryReplace"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.22",
"sensor_index": "22",
"sensor_type": "UPSForcedShutdown",
"sensor_descr": "UPS forced shutdown",
"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": "22",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSForcedShutdown"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.12",
"sensor_index": "12",
"sensor_type": "UPSHighBattery",
"sensor_descr": "UPS high battery",
"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": "12",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSHighBattery"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.11",
"sensor_index": "11",
"sensor_type": "UPSLowBattery",
"sensor_descr": "UPS low battery",
"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": "11",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSLowBattery"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.18",
"sensor_index": "18",
"sensor_type": "UPSOffline",
"sensor_descr": "UPS is offline and is not supplying power to the load",
"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": "18",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSOffline"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.10",
"sensor_index": "10",
"sensor_type": "UPSOnBattery",
"sensor_descr": "UPS on battery",
"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": "10",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSOnBattery"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.9",
"sensor_index": "9",
"sensor_type": "UPSOnLine",
"sensor_descr": "UPS on line",
"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": "9",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSOnLine"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.17",
"sensor_index": "17",
"sensor_type": "UPSRuntimeCalibration",
"sensor_descr": "UPS is currently performing runtime calibration",
"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": "17",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSRuntimeCalibration"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.21",
"sensor_index": "21",
"sensor_type": "UPSUPSBoost",
"sensor_descr": "UPS is boosting incoming voltage",
"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": "21",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSUPSBoost"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.20",
"sensor_index": "20",
"sensor_type": "UPSUPSBuck",
"sensor_descr": "UPS is trimming incoming voltage",
"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": "20",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSUPSBuck"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.16",
"sensor_index": "16",
"sensor_type": "UPSUPSBypass",
"sensor_descr": "UPS bypass circuit is active",
"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": "16",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSUPSBypass"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.19",
"sensor_index": "19",
"sensor_type": "UPSUPSOverloaded",
"sensor_descr": "UPS is overloaded.",
"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": "19",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSUPSOverloaded"
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.4",
"sensor_index": "4",
"sensor_type": "ups-nut",
"sensor_descr": "Battery Voltage",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 44,
"sensor_limit": 60,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 0,
"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.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.5",
"sensor_index": "5",
"sensor_type": "ups-nut",
"sensor_descr": "Battery Nominal",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 45,
"sensor_limit": 60,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 0,
"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.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.6",
"sensor_index": "6",
"sensor_type": "ups-nut",
"sensor_descr": "Line Nominal",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 230,
"sensor_limit": 0,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 0,
"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.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.7",
"sensor_index": "7",
"sensor_type": "ups-nut",
"sensor_descr": "Input Voltage",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 252,
"sensor_limit": 280,
"sensor_limit_warn": null,
"sensor_limit_low": 200,
"sensor_limit_low_warn": 0,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": null
}
],
"state_indexes": [
{
"state_name": "UPSBatteryCharging",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSBatteryCharging",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSBatteryDischarging",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSBatteryDischarging",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSBatteryReplace",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSBatteryReplace",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSForcedShutdown",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSForcedShutdown",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "UPSHighBattery",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSHighBattery",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSLowBattery",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSLowBattery",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "UPSOffline",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSOffline",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "UPSOnBattery",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSOnBattery",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSOnLine",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 1
},
{
"state_name": "UPSOnLine",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "UPSRuntimeCalibration",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSRuntimeCalibration",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSUPSBoost",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSUPSBoost",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSUPSBuck",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSUPSBuck",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSUPSBypass",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSUPSBypass",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSUPSOverloaded",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSUPSOverloaded",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
}
]
},
"poller": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "charge",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.1",
"sensor_index": "1",
"sensor_type": "ups-nut",
"sensor_descr": "Battery Charge",
"group": null,
"sensor_divisor": 1,
"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,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "load",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.8",
"sensor_index": "8",
"sensor_type": "ups-nut",
"sensor_descr": "Ups Load",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 17,
"sensor_limit": 100,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 0,
"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": "runtime",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.3",
"sensor_index": "3",
"sensor_type": "ups-nut",
"sensor_descr": "Time Remaining",
"group": null,
"sensor_divisor": 60,
"sensor_multiplier": 1,
"sensor_current": 38,
"sensor_limit": 1000,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 0,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": 2280,
"user_func": null,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.14",
"sensor_index": "14",
"sensor_type": "UPSBatteryCharging",
"sensor_descr": "UPS the battery is charging",
"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": "14",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSBatteryCharging"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.15",
"sensor_index": "15",
"sensor_type": "UPSBatteryDischarging",
"sensor_descr": "UPS the battery is discharging",
"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": "15",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSBatteryDischarging"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.13",
"sensor_index": "13",
"sensor_type": "UPSBatteryReplace",
"sensor_descr": "UPS the battery needs to be replaced",
"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": "13",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSBatteryReplace"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.22",
"sensor_index": "22",
"sensor_type": "UPSForcedShutdown",
"sensor_descr": "UPS forced shutdown",
"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": "22",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSForcedShutdown"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.12",
"sensor_index": "12",
"sensor_type": "UPSHighBattery",
"sensor_descr": "UPS high battery",
"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": "12",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSHighBattery"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.11",
"sensor_index": "11",
"sensor_type": "UPSLowBattery",
"sensor_descr": "UPS low battery",
"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": "11",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSLowBattery"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.18",
"sensor_index": "18",
"sensor_type": "UPSOffline",
"sensor_descr": "UPS is offline and is not supplying power to the load",
"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": "18",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSOffline"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.10",
"sensor_index": "10",
"sensor_type": "UPSOnBattery",
"sensor_descr": "UPS on battery",
"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": "10",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSOnBattery"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.9",
"sensor_index": "9",
"sensor_type": "UPSOnLine",
"sensor_descr": "UPS on line",
"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": "9",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSOnLine"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.17",
"sensor_index": "17",
"sensor_type": "UPSRuntimeCalibration",
"sensor_descr": "UPS is currently performing runtime calibration",
"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": "17",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSRuntimeCalibration"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.21",
"sensor_index": "21",
"sensor_type": "UPSUPSBoost",
"sensor_descr": "UPS is boosting incoming voltage",
"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": "21",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSUPSBoost"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.20",
"sensor_index": "20",
"sensor_type": "UPSUPSBuck",
"sensor_descr": "UPS is trimming incoming voltage",
"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": "20",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSUPSBuck"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.16",
"sensor_index": "16",
"sensor_type": "UPSUPSBypass",
"sensor_descr": "UPS bypass circuit is active",
"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": "16",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSUPSBypass"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.19",
"sensor_index": "19",
"sensor_type": "UPSUPSOverloaded",
"sensor_descr": "UPS is overloaded.",
"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": "19",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "UPSUPSOverloaded"
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.4",
"sensor_index": "4",
"sensor_type": "ups-nut",
"sensor_descr": "Battery Voltage",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 44,
"sensor_limit": 60,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 0,
"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.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.5",
"sensor_index": "5",
"sensor_type": "ups-nut",
"sensor_descr": "Battery Nominal",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 45,
"sensor_limit": 60,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 0,
"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.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.6",
"sensor_index": "6",
"sensor_type": "ups-nut",
"sensor_descr": "Line Nominal",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 230,
"sensor_limit": 0,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"sensor_limit_low_warn": 0,
"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.8072.1.3.2.4.1.2.7.117.112.115.45.110.117.116.7",
"sensor_index": "7",
"sensor_type": "ups-nut",
"sensor_descr": "Input Voltage",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 252,
"sensor_limit": 280,
"sensor_limit_warn": null,
"sensor_limit_low": 200,
"sensor_limit_low_warn": 0,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": null
}
],
"state_indexes": [
{
"state_name": "UPSBatteryCharging",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSBatteryCharging",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSBatteryDischarging",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSBatteryDischarging",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSBatteryReplace",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSBatteryReplace",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSForcedShutdown",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSForcedShutdown",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "UPSHighBattery",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSHighBattery",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSLowBattery",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSLowBattery",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "UPSOffline",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSOffline",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "UPSOnBattery",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSOnBattery",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSOnLine",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 1
},
{
"state_name": "UPSOnLine",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "UPSRuntimeCalibration",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSRuntimeCalibration",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSUPSBoost",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSUPSBoost",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSUPSBuck",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSUPSBuck",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSUPSBypass",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSUPSBypass",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "UPSUPSOverloaded",
"state_descr": "False",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "UPSUPSOverloaded",
"state_descr": "True",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
}
]
}
}
}