mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
048fd0f6ed
* Default to null for group yaml discovery. * Update test data fora154bdayaml group null fix. * Changes to guessed limit functions for sensors. Original behaviour =================== The file `includes/discovery/functions.inc.php` contains `sensor_limit_low()` and `sensor_limit()` which both attempt to guess a sane value for sensors when no explicitly defined low_limit or high_limit can be found during discovery. Both switch control structures used in those two functions have empty case statements which means that if one of those matches, it's going to fall through and run the code for each subsequent case until a `break` is reached. For example, when we call `function sensor_low_limit(dbm, -13.036)` it will return the value `-12.3842` instead of `null`. That is because there will be a match at `case 'dbm':` which falls through all the way to `case 'cooling':`, where it performs `$limit = -13.036 * 0.95` before hitting a `break`. Changed behaviour =================== Removed `power_consumed` and `count` guessed low_limit and high_limit, I personally added those sensor classes in PR #9471 when I didn't understand that a switch control structure has fall-through behaviour so I can guarantee that guessing limits for those is a mistake on my behalf. It should not be there, only power_factor can have guessed limits. Apologies for the issue, I'm still a beginning programmer! Furthermore, I removed guessed high_limit values for `current` and `power` because these are supposed to draw higher values as more devices or components are installed on for example a PDU or a chassis. Finally, I removed guessed low_limit and high_limit for `dbm` sensors, there is a much too large variance in power budget on commercially available optical transceivers for there to be a sensible window where you can guess these values. * Documentation on adding sensor classes. * Update test data - sensor limit changes @30212d2
1158 lines
44 KiB
JSON
1158 lines
44 KiB
JSON
{
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.12148.10",
|
|
"sysDescr": "ELTEK Power System",
|
|
"sysContact": null,
|
|
"version": null,
|
|
"hardware": null,
|
|
"features": null,
|
|
"location": null,
|
|
"os": "enexus",
|
|
"type": "power",
|
|
"serial": null,
|
|
"icon": "eltek.png"
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.12148.10",
|
|
"sysDescr": "ELTEK Power System",
|
|
"sysContact": "<private>",
|
|
"version": "2.5.3",
|
|
"hardware": "Smartpack S",
|
|
"features": null,
|
|
"location": "<private>",
|
|
"os": "enexus",
|
|
"type": "power",
|
|
"serial": "999999999999",
|
|
"icon": "eltek.png"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"sensors": {
|
|
"discovery": {
|
|
"sensors": [
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "current",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.12148.10.10.6.5.0",
|
|
"sensor_index": "battery.0",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "Battery Current",
|
|
"group": null,
|
|
"sensor_divisor": 10,
|
|
"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.12148.10.5.2.5.0",
|
|
"sensor_index": "current.0",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "System Output Current",
|
|
"group": null,
|
|
"sensor_divisor": 10,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 0.4,
|
|
"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.12148.10.5.6.1.3.1",
|
|
"sensor_index": "output.1",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "Rectifier 1 Output Current",
|
|
"group": null,
|
|
"sensor_divisor": 10,
|
|
"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.12148.10.5.6.1.3.2",
|
|
"sensor_index": "output.2",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "Rectifier 2 Output Current",
|
|
"group": null,
|
|
"sensor_divisor": 10,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 0.4,
|
|
"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": "runtime",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.12148.10.10.8.5.0",
|
|
"sensor_index": "0",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "Battery Run Time Remaining",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 4500,
|
|
"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.12148.10.10.1.0",
|
|
"sensor_index": "0",
|
|
"sensor_type": "batteryStatus",
|
|
"sensor_descr": "Battery 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": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"state_name": "batteryStatus"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "state",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.12148.10.9.3.0",
|
|
"sensor_index": "0",
|
|
"sensor_type": "loadFusesStatus",
|
|
"sensor_descr": "Load Fuses 0 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": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"state_name": "loadFusesStatus"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "state",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.12148.10.3.1.0",
|
|
"sensor_index": "0",
|
|
"sensor_type": "mainsStatus",
|
|
"sensor_descr": "Mains 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": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"state_name": "mainsStatus"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "state",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.12148.10.2.1.0",
|
|
"sensor_index": "0",
|
|
"sensor_type": "powerSystemStatus",
|
|
"sensor_descr": "System 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": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"state_name": "powerSystemStatus"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "state",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.12148.10.5.6.1.2.1",
|
|
"sensor_index": "1",
|
|
"sensor_type": "rectifierStatus",
|
|
"sensor_descr": "Rectifier 1 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": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"state_name": "rectifierStatus"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "state",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.12148.10.5.6.1.2.2",
|
|
"sensor_index": "2",
|
|
"sensor_type": "rectifierStatus",
|
|
"sensor_descr": "Rectifier 2 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": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"state_name": "rectifierStatus"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "temperature",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.12148.10.10.7.5.0",
|
|
"sensor_index": "0",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "Battery Temperature",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 22,
|
|
"sensor_limit": 42,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 12,
|
|
"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.12148.10.10.5.5.0",
|
|
"sensor_index": "battery.0",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "Battery Voltage",
|
|
"group": null,
|
|
"sensor_divisor": 100,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 54.33,
|
|
"sensor_limit": 62.4795,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 46.1805,
|
|
"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.12148.10.5.6.1.4.1",
|
|
"sensor_index": "input.1",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "Rectifier 1 Input Voltage",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 220,
|
|
"sensor_limit": 253,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 187,
|
|
"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.12148.10.5.6.1.4.2",
|
|
"sensor_index": "input.2",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "Rectifier 2 Input Voltage",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 220,
|
|
"sensor_limit": 253,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 187,
|
|
"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.12148.10.3.4.1.6.1",
|
|
"sensor_index": "mains.1",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "Mains Input Voltage",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 221,
|
|
"sensor_limit": 254.15,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 187.85,
|
|
"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.12148.10.3.4.1.6.2",
|
|
"sensor_index": "mains.2",
|
|
"sensor_type": "enexus",
|
|
"sensor_descr": "Mains Input Voltage",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 221,
|
|
"sensor_limit": 254.15,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 187.85,
|
|
"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": "batteryStatus",
|
|
"state_descr": "error",
|
|
"state_draw_graph": 0,
|
|
"state_value": 0,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "normal",
|
|
"state_draw_graph": 0,
|
|
"state_value": 1,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "minorAlarm",
|
|
"state_draw_graph": 0,
|
|
"state_value": 2,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "majorAlarm",
|
|
"state_draw_graph": 0,
|
|
"state_value": 3,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "disabled",
|
|
"state_draw_graph": 0,
|
|
"state_value": 4,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "disconnected",
|
|
"state_draw_graph": 0,
|
|
"state_value": 5,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "notPresent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 6,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "minorAndMajor",
|
|
"state_draw_graph": 0,
|
|
"state_value": 7,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "majorLow",
|
|
"state_draw_graph": 0,
|
|
"state_value": 8,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "minorLow",
|
|
"state_draw_graph": 0,
|
|
"state_value": 9,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "majorHigh",
|
|
"state_draw_graph": 0,
|
|
"state_value": 10,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "minorHigh",
|
|
"state_draw_graph": 0,
|
|
"state_value": 11,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "event",
|
|
"state_draw_graph": 0,
|
|
"state_value": 12,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "valueVolt",
|
|
"state_draw_graph": 0,
|
|
"state_value": 13,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "valueAmp",
|
|
"state_draw_graph": 0,
|
|
"state_value": 14,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "valueTemp",
|
|
"state_draw_graph": 0,
|
|
"state_value": 15,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "valueUnit",
|
|
"state_draw_graph": 0,
|
|
"state_value": 16,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "valuePerCent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 17,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "critical",
|
|
"state_draw_graph": 0,
|
|
"state_value": 18,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "batteryStatus",
|
|
"state_descr": "warning",
|
|
"state_draw_graph": 0,
|
|
"state_value": 19,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "error",
|
|
"state_draw_graph": 0,
|
|
"state_value": 0,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "normal",
|
|
"state_draw_graph": 0,
|
|
"state_value": 1,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "minorAlarm",
|
|
"state_draw_graph": 0,
|
|
"state_value": 2,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "majorAlarm",
|
|
"state_draw_graph": 0,
|
|
"state_value": 3,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "disabled",
|
|
"state_draw_graph": 0,
|
|
"state_value": 4,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "disconnected",
|
|
"state_draw_graph": 0,
|
|
"state_value": 5,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "notPresent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 6,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "minorAndMajor",
|
|
"state_draw_graph": 0,
|
|
"state_value": 7,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "majorLow",
|
|
"state_draw_graph": 0,
|
|
"state_value": 8,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "minorLow",
|
|
"state_draw_graph": 0,
|
|
"state_value": 9,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "majorHigh",
|
|
"state_draw_graph": 0,
|
|
"state_value": 10,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "minorHigh",
|
|
"state_draw_graph": 0,
|
|
"state_value": 11,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "event",
|
|
"state_draw_graph": 0,
|
|
"state_value": 12,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "valueVolt",
|
|
"state_draw_graph": 0,
|
|
"state_value": 13,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "valueAmp",
|
|
"state_draw_graph": 0,
|
|
"state_value": 14,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "valueTemp",
|
|
"state_draw_graph": 0,
|
|
"state_value": 15,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "valueUnit",
|
|
"state_draw_graph": 0,
|
|
"state_value": 16,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "valuePerCent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 17,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "critical",
|
|
"state_draw_graph": 0,
|
|
"state_value": 18,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "loadFusesStatus",
|
|
"state_descr": "warning",
|
|
"state_draw_graph": 0,
|
|
"state_value": 19,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "error",
|
|
"state_draw_graph": 0,
|
|
"state_value": 0,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "normal",
|
|
"state_draw_graph": 0,
|
|
"state_value": 1,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "minorAlarm",
|
|
"state_draw_graph": 0,
|
|
"state_value": 2,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "majorAlarm",
|
|
"state_draw_graph": 0,
|
|
"state_value": 3,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "disabled",
|
|
"state_draw_graph": 0,
|
|
"state_value": 4,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "disconnected",
|
|
"state_draw_graph": 0,
|
|
"state_value": 5,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "notPresent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 6,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "minorAndMajor",
|
|
"state_draw_graph": 0,
|
|
"state_value": 7,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "majorLow",
|
|
"state_draw_graph": 0,
|
|
"state_value": 8,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "minorLow",
|
|
"state_draw_graph": 0,
|
|
"state_value": 9,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "majorHigh",
|
|
"state_draw_graph": 0,
|
|
"state_value": 10,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "minorHigh",
|
|
"state_draw_graph": 0,
|
|
"state_value": 11,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "event",
|
|
"state_draw_graph": 0,
|
|
"state_value": 12,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "valueVolt",
|
|
"state_draw_graph": 0,
|
|
"state_value": 13,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "valueAmp",
|
|
"state_draw_graph": 0,
|
|
"state_value": 14,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "valueTemp",
|
|
"state_draw_graph": 0,
|
|
"state_value": 15,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "valueUnit",
|
|
"state_draw_graph": 0,
|
|
"state_value": 16,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "valuePerCent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 17,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "critical",
|
|
"state_draw_graph": 0,
|
|
"state_value": 18,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "mainsStatus",
|
|
"state_descr": "warning",
|
|
"state_draw_graph": 0,
|
|
"state_value": 19,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "error",
|
|
"state_draw_graph": 0,
|
|
"state_value": 0,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "normal",
|
|
"state_draw_graph": 0,
|
|
"state_value": 1,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "minorAlarm",
|
|
"state_draw_graph": 0,
|
|
"state_value": 2,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "majorAlarm",
|
|
"state_draw_graph": 0,
|
|
"state_value": 3,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "disabled",
|
|
"state_draw_graph": 0,
|
|
"state_value": 4,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "disconnected",
|
|
"state_draw_graph": 0,
|
|
"state_value": 5,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "notPresent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 6,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "minorAndMajor",
|
|
"state_draw_graph": 0,
|
|
"state_value": 7,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "majorLow",
|
|
"state_draw_graph": 0,
|
|
"state_value": 8,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "minorLow",
|
|
"state_draw_graph": 0,
|
|
"state_value": 9,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "majorHigh",
|
|
"state_draw_graph": 0,
|
|
"state_value": 10,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "minorHigh",
|
|
"state_draw_graph": 0,
|
|
"state_value": 11,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "event",
|
|
"state_draw_graph": 0,
|
|
"state_value": 12,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "valueVolt",
|
|
"state_draw_graph": 0,
|
|
"state_value": 13,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "valueAmp",
|
|
"state_draw_graph": 0,
|
|
"state_value": 14,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "valueTemp",
|
|
"state_draw_graph": 0,
|
|
"state_value": 15,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "valueUnit",
|
|
"state_draw_graph": 0,
|
|
"state_value": 16,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "valuePerCent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 17,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "critical",
|
|
"state_draw_graph": 0,
|
|
"state_value": 18,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "powerSystemStatus",
|
|
"state_descr": "warning",
|
|
"state_draw_graph": 0,
|
|
"state_value": 19,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "error",
|
|
"state_draw_graph": 0,
|
|
"state_value": 0,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "normal",
|
|
"state_draw_graph": 0,
|
|
"state_value": 1,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "minorAlarm",
|
|
"state_draw_graph": 0,
|
|
"state_value": 2,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "majorAlarm",
|
|
"state_draw_graph": 0,
|
|
"state_value": 3,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "disabled",
|
|
"state_draw_graph": 0,
|
|
"state_value": 4,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "disconnected",
|
|
"state_draw_graph": 0,
|
|
"state_value": 5,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "notPresent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 6,
|
|
"state_generic_value": 3
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "minorAndMajor",
|
|
"state_draw_graph": 0,
|
|
"state_value": 7,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "majorLow",
|
|
"state_draw_graph": 0,
|
|
"state_value": 8,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "minorLow",
|
|
"state_draw_graph": 0,
|
|
"state_value": 9,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "majorHigh",
|
|
"state_draw_graph": 0,
|
|
"state_value": 10,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "minorHigh",
|
|
"state_draw_graph": 0,
|
|
"state_value": 11,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "event",
|
|
"state_draw_graph": 0,
|
|
"state_value": 12,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "valueVolt",
|
|
"state_draw_graph": 0,
|
|
"state_value": 13,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "valueAmp",
|
|
"state_draw_graph": 0,
|
|
"state_value": 14,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "valueTemp",
|
|
"state_draw_graph": 0,
|
|
"state_value": 15,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "valueUnit",
|
|
"state_draw_graph": 0,
|
|
"state_value": 16,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "valuePerCent",
|
|
"state_draw_graph": 0,
|
|
"state_value": 17,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "critical",
|
|
"state_draw_graph": 0,
|
|
"state_value": 18,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "rectifierStatus",
|
|
"state_descr": "warning",
|
|
"state_draw_graph": 0,
|
|
"state_value": 19,
|
|
"state_generic_value": 1
|
|
}
|
|
]
|
|
},
|
|
"poller": "matches discovery"
|
|
}
|
|
}
|