mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 10:58:42 +00:00
d20d6fcc18
* Add contact,relay,outlet discovery; update yaml,snmprec,json * Fix formatting * Another attempt at fixing sensors * Update state mappings and fix json sensor ordering * Capture values numerically. Remove extra if/else statement Make test data more interesting. * Fix whitespace. * Update sensors test data for order_by
1141 lines
50 KiB
JSON
1141 lines
50 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",
|
|
"sensor_divisor": "1000",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "0.02297",
|
|
"sensor_limit": "0.034455",
|
|
"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",
|
|
"sensor_divisor": "1000",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "0.01962",
|
|
"sensor_limit": "0.02943",
|
|
"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",
|
|
"sensor_divisor": "1000",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "0.04956",
|
|
"sensor_limit": "0.07434",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-2.88",
|
|
"sensor_limit": "-2.736",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-3.024",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-40",
|
|
"sensor_limit": "-38",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-42",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-5.18",
|
|
"sensor_limit": "-4.921",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-5.439",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-0.34",
|
|
"sensor_limit": "-0.323",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-0.357",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-1.6",
|
|
"sensor_limit": "-1.52",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-1.68",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-0.62",
|
|
"sensor_limit": "-0.589",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-0.651",
|
|
"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": "Fan 1.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": "Fan 1.2",
|
|
"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": "Fan 1.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": "Fan 1.2",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"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": "Thermal 1.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",
|
|
"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",
|
|
"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",
|
|
"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": {
|
|
"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",
|
|
"sensor_divisor": "1000",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "0.02297",
|
|
"sensor_limit": "0.034455",
|
|
"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": "0.02297",
|
|
"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",
|
|
"sensor_divisor": "1000",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "0.01962",
|
|
"sensor_limit": "0.02943",
|
|
"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": "0.01962",
|
|
"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",
|
|
"sensor_divisor": "1000",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "0.04956",
|
|
"sensor_limit": "0.07434",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-2.88",
|
|
"sensor_limit": "-2.736",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-3.024",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-40",
|
|
"sensor_limit": "-38",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-42",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-5.18",
|
|
"sensor_limit": "-4.921",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-5.439",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-0.34",
|
|
"sensor_limit": "-0.323",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-0.357",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-1.6",
|
|
"sensor_limit": "-1.52",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-1.68",
|
|
"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",
|
|
"sensor_divisor": "1",
|
|
"sensor_multiplier": "1",
|
|
"sensor_current": "-0.62",
|
|
"sensor_limit": "-0.589",
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": "-0.651",
|
|
"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": "Fan 1.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": "Fan 1.2",
|
|
"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": "Fan 1.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": "Fan 1.2",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"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": "Thermal 1.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",
|
|
"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",
|
|
"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",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|