mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 10:58:42 +00:00
048fd0f6ed
* Default to null for group yaml discovery. * Update test data fora154bda
yaml 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
634 lines
26 KiB
JSON
634 lines
26 KiB
JSON
{
|
|
"sensors": {
|
|
"discovery": {
|
|
"sensors": [
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "current",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.2.11.1.4.25",
|
|
"sensor_index": "portOpticalMonitoringInfoTxBiasCurrent.25",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Port 25 - Tx",
|
|
"group": null,
|
|
"sensor_divisor": 1000,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 0.022969999999999997,
|
|
"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.259.6.10.120.1.2.11.1.4.26",
|
|
"sensor_index": "portOpticalMonitoringInfoTxBiasCurrent.26",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Port 26 - Tx",
|
|
"group": null,
|
|
"sensor_divisor": 1000,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 0.019620000000000002,
|
|
"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.259.6.10.120.1.2.11.1.4.28",
|
|
"sensor_index": "portOpticalMonitoringInfoTxBiasCurrent.28",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "The last port - Tx",
|
|
"group": null,
|
|
"sensor_divisor": 1000,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 0.04956,
|
|
"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": "dbm",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.2.11.1.6.25",
|
|
"sensor_index": "portOpticalMonitoringInfoRxPower.25",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Port 25 - Rx",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": -2.88,
|
|
"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": "dbm",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.2.11.1.6.26",
|
|
"sensor_index": "portOpticalMonitoringInfoRxPower.26",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Port 26 - Rx",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": -40,
|
|
"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": "dbm",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.2.11.1.6.28",
|
|
"sensor_index": "portOpticalMonitoringInfoRxPower.28",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "The last port - Rx",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": -5.18,
|
|
"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": "dbm",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.2.11.1.5.25",
|
|
"sensor_index": "portOpticalMonitoringInfoTxPower.25",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Port 25 - Tx",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": -0.34,
|
|
"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": "dbm",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.2.11.1.5.26",
|
|
"sensor_index": "portOpticalMonitoringInfoTxPower.26",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Port 26 - Tx",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": -1.6,
|
|
"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": "dbm",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.2.11.1.5.28",
|
|
"sensor_index": "portOpticalMonitoringInfoTxPower.28",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "The last port - Tx",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": -0.62,
|
|
"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": "fanspeed",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.1.9.1.6.1.1",
|
|
"sensor_index": "switchFanOperSpeed.1.1",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Unit 1 Fan 1",
|
|
"group": "Unit 1",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 5510,
|
|
"sensor_limit": 9918,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 4408,
|
|
"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": "fanspeed",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.1.9.1.6.1.2",
|
|
"sensor_index": "switchFanOperSpeed.1.2",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Unit 1 Fan 2",
|
|
"group": "Unit 1",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 5504,
|
|
"sensor_limit": 9907.2,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 4403.2,
|
|
"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.259.6.10.120.1.1.9.1.3.1.1",
|
|
"sensor_index": "switchFanStatus.1.1",
|
|
"sensor_type": "switchFanStatus",
|
|
"sensor_descr": "Unit 1 Fan 1",
|
|
"group": "Unit 1",
|
|
"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": "switchFanStatus"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "state",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.1.9.1.3.1.2",
|
|
"sensor_index": "switchFanStatus.1.2",
|
|
"sensor_type": "switchFanStatus",
|
|
"sensor_descr": "Unit 1 Fan 2",
|
|
"group": "Unit 1",
|
|
"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": "switchFanStatus"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "state",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.1.3.1.8.1",
|
|
"sensor_index": "swPowerStatus.1",
|
|
"sensor_type": "swPowerStatus",
|
|
"sensor_descr": "Power state",
|
|
"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": "swPowerStatus"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "state",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.1.3.1.9.1",
|
|
"sensor_index": "swRoleInSystem.1",
|
|
"sensor_type": "swRoleInSystem",
|
|
"sensor_descr": "Switch role",
|
|
"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": "swRoleInSystem"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "temperature",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.2.11.1.2.25",
|
|
"sensor_index": "portOpticalMonitoringInfoTemperature.25",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Port 25",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 34.56,
|
|
"sensor_limit": 54.56,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 24.56,
|
|
"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": "temperature",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.2.11.1.2.26",
|
|
"sensor_index": "portOpticalMonitoringInfoTemperature.26",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Port 26",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 30.8,
|
|
"sensor_limit": 50.8,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 20.8,
|
|
"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": "temperature",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.2.11.1.2.28",
|
|
"sensor_index": "portOpticalMonitoringInfoTemperature.28",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "The last port",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 36.39,
|
|
"sensor_limit": 56.39,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 26.39,
|
|
"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": "temperature",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.259.6.10.120.1.1.11.1.3.1.1",
|
|
"sensor_index": "switchThermalTempValue.1.1",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Unit 1 Thermal 1",
|
|
"group": "Unit 1",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 36,
|
|
"sensor_limit": 56,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 26,
|
|
"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.259.6.10.120.1.2.11.1.3.25",
|
|
"sensor_index": "portOpticalMonitoringInfoVcc.25",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Port 25",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 3.24,
|
|
"sensor_limit": 3.726,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 2.754,
|
|
"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.259.6.10.120.1.2.11.1.3.26",
|
|
"sensor_index": "portOpticalMonitoringInfoVcc.26",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "Port 26",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 3.24,
|
|
"sensor_limit": 3.726,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 2.754,
|
|
"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.259.6.10.120.1.2.11.1.3.28",
|
|
"sensor_index": "portOpticalMonitoringInfoVcc.28",
|
|
"sensor_type": "fusion",
|
|
"sensor_descr": "The last port",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 3.34,
|
|
"sensor_limit": 3.841,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": 2.839,
|
|
"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": "switchFanStatus",
|
|
"state_descr": "ok",
|
|
"state_draw_graph": 1,
|
|
"state_value": 1,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "switchFanStatus",
|
|
"state_descr": "failure",
|
|
"state_draw_graph": 1,
|
|
"state_value": 2,
|
|
"state_generic_value": 2
|
|
},
|
|
{
|
|
"state_name": "swPowerStatus",
|
|
"state_descr": "internalPower",
|
|
"state_draw_graph": 1,
|
|
"state_value": 1,
|
|
"state_generic_value": 1
|
|
},
|
|
{
|
|
"state_name": "swPowerStatus",
|
|
"state_descr": "redundantPower",
|
|
"state_draw_graph": 1,
|
|
"state_value": 2,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "swPowerStatus",
|
|
"state_descr": "internalAndRedundantPower",
|
|
"state_draw_graph": 1,
|
|
"state_value": 3,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "swRoleInSystem",
|
|
"state_descr": "master",
|
|
"state_draw_graph": 1,
|
|
"state_value": 1,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "swRoleInSystem",
|
|
"state_descr": "backupMaster",
|
|
"state_draw_graph": 1,
|
|
"state_value": 2,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "swRoleInSystem",
|
|
"state_descr": "slave",
|
|
"state_draw_graph": 1,
|
|
"state_value": 3,
|
|
"state_generic_value": 0
|
|
}
|
|
]
|
|
},
|
|
"poller": "matches discovery"
|
|
},
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.259.6.10.120",
|
|
"sysDescr": "FNS-SFP-24",
|
|
"sysContact": null,
|
|
"version": null,
|
|
"hardware": null,
|
|
"features": null,
|
|
"os": "fusion",
|
|
"type": "network",
|
|
"serial": null,
|
|
"icon": "ignitenet.png",
|
|
"location": null
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.259.6.10.120",
|
|
"sysDescr": "FNS-SFP-24",
|
|
"sysContact": "<private>",
|
|
"version": "1.0.2.3",
|
|
"hardware": "FNS-SFP-24",
|
|
"features": null,
|
|
"os": "fusion",
|
|
"type": "network",
|
|
"serial": "XX00000001",
|
|
"icon": "ignitenet.png",
|
|
"location": "<private>"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|