librenms/tests/data/poweralert_3.json
Arjit Chaudhary f6d5cd525f
Improve Poweralert based devices support (#13340)
* Improve Poweralert based devices support

- Add graphs / data for Input Voltage
- Add graphs / data for Total/Output Current

* fix version formatting

* Create poweralert_3.snmprec

* Create poweralert_3.json

* Update poweralert.yaml

* Update poweralert_3.snmprec

* Update poweralert_3.json

* Missed one

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-10-28 11:08:17 -05:00

180 lines
7.1 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.850.1.1.1",
"sysDescr": "Ubuntu 18.04 Linux 4.4.31 flash: 3.34G ram: 247204kB processor: armv7l software: PowerAlert 20.0.1 (Build 118)",
"sysContact": "<private>",
"version": null,
"hardware": null,
"features": null,
"os": "poweralert",
"type": "power",
"serial": null,
"icon": "tripplite.svg",
"location": "<private>"
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "current",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.850.1.1.3.2.3.4.1.1.4.1.1.1",
"sensor_index": "tlpPduCircuitTotalCurrent.1.1",
"sensor_type": "poweralert",
"sensor_descr": "Current",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 5,
"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.850.1.1.3.2.3.4.1.1.4.1.1.2",
"sensor_index": "tlpPduCircuitTotalCurrent.1.2",
"sensor_type": "poweralert",
"sensor_descr": "Current",
"group": null,
"sensor_divisor": 100,
"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,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.850.1.1.3.2.3.1.2.1.4.1.1.1",
"sensor_index": "1.1",
"sensor_type": "poweralert",
"sensor_descr": "Input",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 117.3,
"sensor_limit": 240,
"sensor_limit_warn": null,
"sensor_limit_low": 110,
"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": []
},
"poller": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "current",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.850.1.1.3.2.3.4.1.1.4.1.1.1",
"sensor_index": "tlpPduCircuitTotalCurrent.1.1",
"sensor_type": "poweralert",
"sensor_descr": "Current",
"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": 5,
"user_func": null,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "current",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.850.1.1.3.2.3.4.1.1.4.1.1.2",
"sensor_index": "tlpPduCircuitTotalCurrent.1.2",
"sensor_type": "poweralert",
"sensor_descr": "Current",
"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": 3,
"user_func": null,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.850.1.1.3.2.3.1.2.1.4.1.1.1",
"sensor_index": "1.1",
"sensor_type": "poweralert",
"sensor_descr": "Input",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": 240,
"sensor_limit_warn": null,
"sensor_limit_low": 110,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": 117.3,
"user_func": null,
"state_name": null
}
],
"state_indexes": []
}
}
}