Files
librenms-librenms/tests/data/ird.json
jozefrebjak c9bbaf5a9f Added support for PBI Digital Decoder (#9223)
* added PBI MIB

I finally found a MIB for PBI device

* added PBI-MAIN-MIB

* added another PBI MIB

* added PBI MGSYSTEM-MIB

* added ird.yaml to definition

* added senors discovery for PBI devices

* added ird.inc.php for polling

* added logo for PBI

* added ird.json

* Rename PB-MAIN-MIB to PBI-MAIN-MIB

* Update ird.json

* Update PBI-4000P-5000P-MIB

* Update PBI-MAIN-MIB

* Update PBI-MGSIGNALCHARACTERISTICS-MIB

* Update PBI-MGSYSTEM-MIB

* Create ird.snmprec

* Updated json test file

* deleted frequency from yaml

I think that better will be see values from frequency in wirelles frequency, where it is in MHz

* Create Ird.php

* Update Ird.php

* Update Ird.php

* Update ird.json

* Update Ird.php
2018-09-30 21:28:33 -05:00

318 lines
12 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "dch-4000p",
"sysObjectID": ".1.3.6.1.4.1.2021.250.10",
"sysDescr": "Linux DCH-4000P 2.4.20-uc0 #386 2013... 10... 24... ......... 14:08:33 CST armv3l",
"sysContact": null,
"version": null,
"hardware": null,
"features": null,
"location": null,
"os": "ird",
"type": "network",
"serial": null,
"icon": "pbi.png"
}
]
},
"poller": {
"devices": [
{
"sysName": "dch-4000p",
"sysObjectID": ".1.3.6.1.4.1.2021.250.10",
"sysDescr": "Linux DCH-4000P 2.4.20-uc0 #386 2013... 10... 24... ......... 14:08:33 CST armv3l",
"sysContact": "/dev/null",
"version": null,
"hardware": "DCH-4000P",
"features": null,
"location": "Unknown",
"os": "ird",
"type": "network",
"serial": null,
"icon": "pbi.png"
}
]
}
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "dbm",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.1070.3.1.1.104.1.1.7.0",
"sensor_index": "tunerBER.0",
"sensor_type": "ird",
"sensor_descr": "BER",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 8,
"sensor_limit": 8.4000000000000004,
"sensor_limit_warn": null,
"sensor_limit_low": 7.5999999999999996,
"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.1070.3.1.1.104.1.1.8.0",
"sensor_index": "tunerCN.0",
"sensor_type": "ird",
"sensor_descr": "C/N",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 13,
"sensor_limit": 13.65,
"sensor_limit_warn": null,
"sensor_limit_low": 12.35,
"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.1070.3.1.1.104.1.1.9.0",
"sensor_index": "tunerEbNo.0",
"sensor_type": "ird",
"sensor_descr": "Eb/N0",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 11,
"sensor_limit": 11.550000000000001,
"sensor_limit_warn": null,
"sensor_limit_low": 10.449999999999999,
"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": "signal",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.1070.3.1.1.104.1.1.6.0",
"sensor_index": "tunerStrength.0",
"sensor_type": "ird",
"sensor_descr": "Signal Strength",
"sensor_divisor": -10,
"sensor_multiplier": 1,
"sensor_current": -25,
"sensor_limit": -30,
"sensor_limit_warn": null,
"sensor_limit_low": -80,
"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.1070.3.1.1.104.3.6.0",
"sensor_index": "0",
"sensor_type": "diseq",
"sensor_descr": "DiSEqC",
"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,
"state_name": "diseq"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.1070.3.1.1.104.3.5.0",
"sensor_index": "0",
"sensor_type": "lnb22KHz",
"sensor_descr": "LNB 22KHz",
"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": "lnb22KHz"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.1070.3.1.1.104.3.4.0",
"sensor_index": "0",
"sensor_type": "lnbVoltage",
"sensor_descr": "LNB Voltage",
"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": "lnbVoltage"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.1070.3.1.1.104.1.1.1.0",
"sensor_index": "0",
"sensor_type": "tunerLock",
"sensor_descr": "Tuner Lock",
"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": "tunerLock"
}
],
"state_indexes": [
{
"state_name": "diseq",
"state_descr": "Off",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 3
},
{
"state_name": "diseq",
"state_descr": "PortA",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "diseq",
"state_descr": "PortB",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "diseq",
"state_descr": "PortC",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 0
},
{
"state_name": "diseq",
"state_descr": "PortD",
"state_draw_graph": 1,
"state_value": 4,
"state_generic_value": 0
},
{
"state_name": "lnb22KHz",
"state_descr": "Off",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 3
},
{
"state_name": "lnb22KHz",
"state_descr": "On",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "lnbVoltage",
"state_descr": "Off",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 3
},
{
"state_name": "lnbVoltage",
"state_descr": "13V",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "lnbVoltage",
"state_descr": "18V",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "tunerLock",
"state_descr": "No",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 3
},
{
"state_name": "tunerLock",
"state_descr": "Yes",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
}
]
},
"poller": "matches discovery"
}
}