librenms/tests/data/horizon-compact.json
PipoCanaja 8e3fe223ef
Sensors - Allow changing RRD type in YAML and PHP sensor discovery (#14208)
* new row variant

* syntax

* syntax

* DB

* syntax

* schema

* test

* allAdvaTests

* Tests

* Tests

* Tests

* missingMigration

* missingMigration

* Tests

* Tests

* Tests

* Tests

* tests

* tests

* tests

* tests

* tests

* test

* fix_Aos7

* fix snmprec arista

* fix snmprec arista

* fix snmprec arista

* tests

* merge_fix

* aos7 backslash

* aos7

* more

* more

* defaultValue

* arista

* typehint

* tests

* tests

* voss

* aos7

* aos7

* aos7

* testWithoutarista-mos_metamux48-c-0-16.json

* tests

* ciscosb

* new tests with 2004 and only sensors module

* adding wireless module again

* adding wireless module again (cont)

* airos

* aos7

* arista

* arista

* bdcom

* fortigate

* fortigate

* fortigate

* ftos

* ftos

* tests on 1804

* tests once more

* tests once more, cont

* tests once more, cont

* tests once more, cont

* tests once more, cont

* tests once more, cont

* more

* bdcom

* comware

* edgeosolt

* enexus

* arista-mos

* removeAristaAgain

* ies500_manual_edit

* ies500_manual_edit

* mni

* volius

* zywal

* manually imported arista-mos

* manually imported arista-mos

* arista-mos test is triggering something ...

* restoreArista

* tests

* tests

* aristamos

* ies52xxM_4206.json

* revert linux_supermicro.json

* revert linux_supermicro.json

* benuos

* fortiadc

* rnx-updu
2022-10-25 08:31:02 -05:00

656 lines
27 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.7262.2.2",
"sysDescr": "hc50_364_256qam Omni: 1.04.08",
"sysContact": "<private>",
"version": "1.04.08",
"hardware": "CLHP28B1CR1",
"features": null,
"location": "<private>",
"os": "horizon-compact",
"type": "wireless",
"serial": "DW0123456789",
"icon": "dragonwave.png"
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.8.3.1.10.0",
"sensor_index": "hzOduEnetPort1EthernetLinkDownActivatedCount.0",
"sensor_type": "horizon-compact",
"sensor_descr": "Enet Port1 Link Downs",
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.4.1.4.6.0",
"sensor_index": "hzOduEnetPort1RxFramesCRCError.0",
"sensor_type": "horizon-compact",
"sensor_descr": "Enet Port1 CRC Error",
"group": null,
"sensor_divisor": 1,
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.4.1.4.5.0",
"sensor_index": "hzOduEnetPort1RxFramesInError.0",
"sensor_type": "horizon-compact",
"sensor_descr": "Enet Port1 Input Error",
"group": null,
"sensor_divisor": 1,
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.8.3.2.2.0",
"sensor_index": "hzOduEnetPort2EthernetLinkDownActivatedCount.0",
"sensor_type": "horizon-compact",
"sensor_descr": "Enet Port2 Link Downs",
"group": null,
"sensor_divisor": 1,
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.4.2.4.5.0",
"sensor_index": "hzOduEnetPort2RxFramesInError.0",
"sensor_type": "horizon-compact",
"sensor_descr": "Enet Port2 Input Error",
"group": null,
"sensor_divisor": 1,
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.8.4.4.2.0",
"sensor_index": "hzOduModem1RxLossOfSignalCount.0",
"sensor_type": "horizon-compact",
"sensor_descr": "Modem1 Rx Loss of Signals",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 73,
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.8.4.5.10.0",
"sensor_index": "hzOduRadio1TemperatureOutOfLimitCount.0",
"sensor_type": "horizon-compact",
"sensor_descr": "Radio1 Temp Out Of Limits",
"group": null,
"sensor_divisor": 1,
"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,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.8.3.1.9.0",
"sensor_index": "hzOduEnetPort1EthernetLinkDown.0",
"sensor_type": "hzOduEnetPort1EthernetLinkDown",
"sensor_descr": "Enet Port1 Link 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,
"rrd_type": "GAUGE",
"state_name": "hzOduEnetPort1EthernetLinkDown"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.8.3.2.1.0",
"sensor_index": "hzOduEnetPort2EthernetLinkDown.0",
"sensor_type": "hzOduEnetPort2EthernetLinkDown",
"sensor_descr": "Enet Port2 Link 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,
"rrd_type": "GAUGE",
"state_name": "hzOduEnetPort2EthernetLinkDown"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.5.1.2.5.0",
"sensor_index": "hzOduModem1ModulationType.0",
"sensor_type": "hzOduModem1ModulationType",
"sensor_descr": "Modem1 Modulation",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 7,
"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,
"rrd_type": "GAUGE",
"state_name": "hzOduModem1ModulationType"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.8.4.4.1.0",
"sensor_index": "hzOduModem1RxLossOfSignal.0",
"sensor_type": "hzOduModem1RxLossOfSignal",
"sensor_descr": "Modem1 Rx Loss of Signal",
"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,
"rrd_type": "GAUGE",
"state_name": "hzOduModem1RxLossOfSignal"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.8.4.5.9.0",
"sensor_index": "hzOduRadio1TemperatureOutOfLimit.0",
"sensor_type": "hzOduRadio1TemperatureOutOfLimit",
"sensor_descr": "Radio1 Temp Out of Limit",
"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,
"rrd_type": "GAUGE",
"state_name": "hzOduRadio1TemperatureOutOfLimit"
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.7262.2.2.5.1.3.6.0",
"sensor_index": "hzOduRadio1Temperature.0",
"sensor_type": "horizon-compact",
"sensor_descr": "Radio1 Temperature",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 38.2,
"sensor_limit": 58.2,
"sensor_limit_warn": null,
"sensor_limit_low": 28.2,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
}
],
"state_indexes": [
{
"state_name": "hzOduEnetPort1EthernetLinkDown",
"state_descr": "Up",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "hzOduEnetPort1EthernetLinkDown",
"state_descr": "Down",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "hzOduEnetPort2EthernetLinkDown",
"state_descr": "Up",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "hzOduEnetPort2EthernetLinkDown",
"state_descr": "Down",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "hzOduModem1ModulationType",
"state_descr": "qpsk",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "hzOduModem1ModulationType",
"state_descr": "qam",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "hzOduModem1ModulationType",
"state_descr": "qam16",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 2
},
{
"state_name": "hzOduModem1ModulationType",
"state_descr": "qam32",
"state_draw_graph": 0,
"state_value": 4,
"state_generic_value": 1
},
{
"state_name": "hzOduModem1ModulationType",
"state_descr": "qam64",
"state_draw_graph": 0,
"state_value": 5,
"state_generic_value": 1
},
{
"state_name": "hzOduModem1ModulationType",
"state_descr": "qam128",
"state_draw_graph": 0,
"state_value": 6,
"state_generic_value": 1
},
{
"state_name": "hzOduModem1ModulationType",
"state_descr": "qam256",
"state_draw_graph": 0,
"state_value": 7,
"state_generic_value": 0
},
{
"state_name": "hzOduModem1ModulationType",
"state_descr": "x8psk",
"state_draw_graph": 0,
"state_value": 8,
"state_generic_value": 0
},
{
"state_name": "hzOduModem1RxLossOfSignal",
"state_descr": "No",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "hzOduModem1RxLossOfSignal",
"state_descr": "Yes",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "hzOduRadio1TemperatureOutOfLimit",
"state_descr": "No",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "hzOduRadio1TemperatureOutOfLimit",
"state_descr": "Yes",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 2
}
]
},
"poller": "matches discovery"
},
"wireless": {
"discovery": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "snr",
"sensor_index": "0",
"sensor_type": "horizon-compact",
"sensor_descr": "SNR",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 37.3,
"sensor_prev": null,
"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_oids": "[\".1.3.6.1.4.1.7262.2.2.5.1.2.8.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "rssi",
"sensor_index": "0",
"sensor_type": "horizon-compact",
"sensor_descr": "RSL",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -44.5,
"sensor_prev": null,
"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_oids": "[\".1.3.6.1.4.1.7262.2.2.5.1.2.4.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "0",
"sensor_type": "horizon-compact",
"sensor_descr": "Tx Power",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 19.4,
"sensor_prev": null,
"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_oids": "[\".1.3.6.1.4.1.7262.2.2.5.1.3.2.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "errors",
"sensor_index": "0",
"sensor_type": "horizon-compact",
"sensor_descr": "Rx Errors",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 34028,
"sensor_prev": null,
"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_oids": "[\".1.3.6.1.4.1.7262.2.2.5.1.2.15.3.0\"]",
"rrd_type": "GAUGE"
}
]
},
"poller": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "snr",
"sensor_index": "0",
"sensor_type": "horizon-compact",
"sensor_descr": "SNR",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 37.3,
"sensor_prev": 37.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_oids": "[\".1.3.6.1.4.1.7262.2.2.5.1.2.8.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "rssi",
"sensor_index": "0",
"sensor_type": "horizon-compact",
"sensor_descr": "RSL",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -44.5,
"sensor_prev": -44.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_oids": "[\".1.3.6.1.4.1.7262.2.2.5.1.2.4.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "0",
"sensor_type": "horizon-compact",
"sensor_descr": "Tx Power",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 19.4,
"sensor_prev": 19.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_oids": "[\".1.3.6.1.4.1.7262.2.2.5.1.3.2.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "errors",
"sensor_index": "0",
"sensor_type": "horizon-compact",
"sensor_descr": "Rx Errors",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 34028,
"sensor_prev": 34028,
"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_oids": "[\".1.3.6.1.4.1.7262.2.2.5.1.2.15.3.0\"]",
"rrd_type": "GAUGE"
}
]
}
}
}