Files
librenms-librenms/tests/data/terra-sdi410c.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

315 lines
13 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.30631.1.8",
"sysDescr": "Terra DVB-S/S2 to IP streamer sdi410C",
"sysContact": "<private>",
"version": "1.45",
"hardware": null,
"features": null,
"location": "<private>",
"os": "terra-sdi410c",
"type": "appliance",
"serial": "sdi410C020340429",
"icon": "terra.svg"
}
]
},
"poller": "matches discovery"
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 0,
"processor_oid": ".1.3.6.1.4.1.30631.1.8.1.1.3.0",
"processor_index": "0",
"processor_type": "terra-sdi410c",
"processor_usage": 34,
"processor_descr": "Chassis CPU load",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "bitrate",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.30631.1.8.1.3.1.0",
"sensor_index": "2",
"sensor_type": "terra_brout",
"sensor_descr": "Out# 02",
"group": "Streams",
"sensor_divisor": 1,
"sensor_multiplier": 1000,
"sensor_current": 2600000,
"sensor_limit": 50000000,
"sensor_limit_warn": 49000000,
"sensor_limit_low": 100000,
"sensor_limit_low_warn": 1000000,
"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": "bitrate",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.30631.1.8.1.4.1.0",
"sensor_index": "3",
"sensor_type": "terra_brout",
"sensor_descr": "Out# 03",
"group": "Streams",
"sensor_divisor": 1,
"sensor_multiplier": 1000,
"sensor_current": 2400000,
"sensor_limit": 50000000,
"sensor_limit_warn": 49000000,
"sensor_limit_low": 100000,
"sensor_limit_low_warn": 1000000,
"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": "bitrate",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.30631.1.8.1.7.1.0",
"sensor_index": "6",
"sensor_type": "terra_brout",
"sensor_descr": "Out# 06",
"group": "Streams",
"sensor_divisor": 1,
"sensor_multiplier": 1000,
"sensor_current": 3000000,
"sensor_limit": 50000000,
"sensor_limit_warn": 49000000,
"sensor_limit_low": 100000,
"sensor_limit_low_warn": 1000000,
"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": "bitrate",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.30631.1.8.1.1.1.0",
"sensor_index": "0",
"sensor_type": "terra-sdi410c",
"sensor_descr": "Input",
"group": "Total",
"sensor_divisor": 1,
"sensor_multiplier": 1000,
"sensor_current": 58070000,
"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": "bitrate",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.30631.1.8.1.1.2.0",
"sensor_index": "1",
"sensor_type": "terra-sdi410c",
"sensor_descr": "Output",
"group": "Total",
"sensor_divisor": 1,
"sensor_multiplier": 1000,
"sensor_current": 8300000,
"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.30631.1.8.1.27.11.0",
"sensor_index": "0",
"sensor_type": "terra-sdi410c",
"sensor_descr": "CC Errors",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 58,
"sensor_limit": 100,
"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": "percent",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.30631.1.8.1.27.3.0",
"sensor_index": "0",
"sensor_type": "terra-sdi410c",
"sensor_descr": "Input Signal Level",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 75,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": 50,
"sensor_limit_low_warn": 60,
"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": "snr",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.30631.1.8.1.27.8.0",
"sensor_index": "0",
"sensor_type": "terra-sdi410c",
"sensor_descr": "Input SNR",
"group": null,
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 18.9,
"sensor_limit": 30,
"sensor_limit_warn": null,
"sensor_limit_low": 13,
"sensor_limit_low_warn": 15,
"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.30631.1.8.1.27.1.0",
"sensor_index": "0",
"sensor_type": "TERRA-sdi410C-MIB::alarmInpsig",
"sensor_descr": "Input Signal",
"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": "TERRA-sdi410C-MIB::alarmInpsig"
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.30631.1.8.1.1.4.0",
"sensor_index": "0",
"sensor_type": "terra-sdi410c",
"sensor_descr": "Chassis Temp (C)",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 33,
"sensor_limit": 53,
"sensor_limit_warn": null,
"sensor_limit_low": 23,
"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": "TERRA-sdi410C-MIB::alarmInpsig",
"state_descr": "OK",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "TERRA-sdi410C-MIB::alarmInpsig",
"state_descr": "Error",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 3
}
]
},
"poller": "matches discovery"
}
}