librenms/tests/data/raisecom.json
Tony Murray 941037e44e
Convert OS discovery to new style (#12099)
* terra

* airos

* port cisco os polling
old wwan polling was broken and deprecated anyway

* enterasys

* Brother, a few changes

* AW Plus

* Fabos

* set expected test data

* 3com

* Adva FSP150

* advantech

* airos-af

* aix

* akcp

* allied

* allworx and missed mibs

* anyos

* fixup some zyxel shared stuffs
zywall graph polling

* aos

* apc

* apex

* apsoluteos

* fix copyrights

* arris

* arris

* aruba-instant

* ArubaOS

* Ascom

* asuswrt-merlin, ats

* audiocodes

* avocent

* avtech

* barracuda

* binox

* boss

* canonprinter

* cdata

* ceraos

* ciena-waveserver

* fix 3com

* fix airos

* fix brother yaml?

* fix aos more

* fix and improve apc

* fix arista test data

* yaml discovery (basic)

* cimc

* mib not used

* remove old discovery file

* ciscosat

* ciscosb fixes + improvements

* comware

* ctm

* cumulus

* cxr-ts

* cyberoam-utm

* cyberpower

* dahua-nvr

* dasan-nos

* datadomain

* dcn-software and fallback oids

* dd-wrt

* dell-laser

* d*

* e* and location

* forti, post processing, oid coalescing

* Freebsd array of sysDescr regex

* finish f*

* g*

* h*

* i* WIP

* i*

* Junos

* j*

* k*

* unix refactor previous to yaml more
inject $device

* fixes

* fixes

* l*

* m*

* n* ability to set other fields in regex
tnmsne polling to eloquent

* o*

* p*

* q* + bonus calix

* r*

* s* WIP

* s*

* t*

* u*

* v*
rework vrp to yaml (hybrid)

* w*

* x*

* z*

* a* easy no-data

* fixes

* style fixes

* missed ApexPlus

* fix signature

* Add missing location data

* rename getDevice functions

* add new cisco ftd data

* update docs

* revert sill snmp format

* fix snmp options

* update for new smartax test data

* rebase dsm

* fix voss
2020-09-18 15:12:07 +02:00

577 lines
24 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8886.18.4.10",
"sysDescr": "ROAP Version ISCOM5508-EPSC_ROAP_2.61.3(a)_20161019.(Compiled Oct 19 2016, 19:12:24)",
"sysContact": null,
"version": "8.2.29_20180611",
"hardware": "RAX711-C-DC/D-02 version A.02",
"features": null,
"os": "raisecom",
"type": "network",
"serial": "123002030702S18B08S0001G",
"icon": "raisecom.png",
"location": "<private>"
}
]
},
"poller": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8886.18.4.10",
"sysDescr": "ROAP Version ISCOM5508-EPSC_ROAP_2.61.3(a)_20161019.(Compiled Oct 19 2016, 19:12:24)",
"sysContact": "<private>",
"version": "8.2.29_20180611",
"hardware": "RAX711-C-DC/D-02 version A.02",
"features": null,
"os": "raisecom",
"type": "network",
"serial": "123002030702S18B08S0001G",
"icon": "raisecom.png",
"location": "<private>"
}
]
}
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 0,
"processor_oid": ".1.3.6.1.4.1.8886.1.1.1.3.1.2.1.2.5",
"processor_index": "3",
"processor_type": "raisecom",
"processor_usage": 3,
"processor_descr": "Processor",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
},
"poller": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 0,
"processor_oid": ".1.3.6.1.4.1.8886.1.1.1.3.1.2.1.2.5",
"processor_index": "3",
"processor_type": "raisecom",
"processor_usage": 4,
"processor_descr": "Processor",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
}
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "fanspeed",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8886.1.1.5.2.2.1.2.1",
"sensor_index": "1",
"sensor_type": "raisecom",
"sensor_descr": "Fan 1 Speed",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 7440,
"sensor_limit": 10000,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"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.8886.1.1.5.2.2.1.2.2",
"sensor_index": "2",
"sensor_type": "raisecom",
"sensor_descr": "Fan 2 Speed",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 7620,
"sensor_limit": 10000,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"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.8886.1.1.5.2.2.1.2.3",
"sensor_index": "3",
"sensor_type": "raisecom",
"sensor_descr": "Fan 3 Speed",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 7800,
"sensor_limit": 10000,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"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.8886.1.1.5.2.2.1.2.4",
"sensor_index": "4",
"sensor_type": "raisecom",
"sensor_descr": "Fan 4 Speed",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 7920,
"sensor_limit": 10000,
"sensor_limit_warn": null,
"sensor_limit_low": 0,
"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.8886.1.2.1.3.0",
"sensor_index": "0",
"sensor_type": "raisecomConfigLoadState",
"sensor_descr": "Config 0 Load State",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 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_prev": null,
"user_func": null,
"state_name": "raisecomConfigLoadState"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8886.1.1.5.2.2.1.3.1",
"sensor_index": "1",
"sensor_type": "raisecomFanMonitorStateTable",
"sensor_descr": "Fan 1 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": "raisecomFanMonitorStateTable"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8886.1.1.5.2.2.1.3.2",
"sensor_index": "2",
"sensor_type": "raisecomFanMonitorStateTable",
"sensor_descr": "Fan 2 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": "raisecomFanMonitorStateTable"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8886.1.1.5.2.2.1.3.3",
"sensor_index": "3",
"sensor_type": "raisecomFanMonitorStateTable",
"sensor_descr": "Fan 3 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": "raisecomFanMonitorStateTable"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8886.1.1.5.2.2.1.3.4",
"sensor_index": "4",
"sensor_type": "raisecomFanMonitorStateTable",
"sensor_descr": "Fan 4 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": "raisecomFanMonitorStateTable"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8886.1.24.2.1.1.6.1",
"sensor_index": "1",
"sensor_type": "raisecomPowerMonitorStateTable",
"sensor_descr": "Power Supply 1 State",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 2,
"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": "raisecomPowerMonitorStateTable"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8886.1.24.2.1.1.6.2",
"sensor_index": "2",
"sensor_type": "raisecomPowerMonitorStateTable",
"sensor_descr": "Power Supply 2 State",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 2,
"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": "raisecomPowerMonitorStateTable"
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8886.1.1.4.2.1.0",
"sensor_index": "0",
"sensor_type": "raisecomTemperatureValue",
"sensor_descr": "System Temperature",
"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,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "voltage",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8886.1.1.4.3.1.1.3.1",
"sensor_index": "1",
"sensor_type": "raisecom",
"sensor_descr": "Voltage 1 (mV)",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 3.266,
"sensor_limit": 3.7559,
"sensor_limit_warn": null,
"sensor_limit_low": 2.7761,
"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.8886.1.1.4.3.1.1.3.2",
"sensor_index": "2",
"sensor_type": "raisecom",
"sensor_descr": "Voltage 2 (mV)",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 0.998,
"sensor_limit": 1.1477,
"sensor_limit_warn": null,
"sensor_limit_low": 0.8483,
"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.8886.1.1.4.3.1.1.3.3",
"sensor_index": "3",
"sensor_type": "raisecom",
"sensor_descr": "Voltage 3 (mV)",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 0.984,
"sensor_limit": 1.1316,
"sensor_limit_warn": null,
"sensor_limit_low": 0.8364,
"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.8886.1.1.4.3.1.1.3.4",
"sensor_index": "4",
"sensor_type": "raisecom",
"sensor_descr": "Voltage 4 (mV)",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 1.107,
"sensor_limit": 1.27305,
"sensor_limit_warn": null,
"sensor_limit_low": 0.94095,
"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.8886.1.1.4.3.1.1.3.5",
"sensor_index": "5",
"sensor_type": "raisecom",
"sensor_descr": "Voltage 5 (mV)",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 1.51,
"sensor_limit": 1.7365,
"sensor_limit_warn": null,
"sensor_limit_low": 1.2835,
"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.8886.1.1.4.3.1.1.3.6",
"sensor_index": "6",
"sensor_type": "raisecom",
"sensor_descr": "Voltage 6 (mV)",
"group": null,
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_current": 1.75,
"sensor_limit": 2.0125,
"sensor_limit_warn": null,
"sensor_limit_low": 1.4875,
"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": "raisecomConfigLoadState",
"state_descr": "ready",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "raisecomConfigLoadState",
"state_descr": "running",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 1
},
{
"state_name": "raisecomConfigLoadState",
"state_descr": "successful",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 0
},
{
"state_name": "raisecomConfigLoadState",
"state_descr": "failed",
"state_draw_graph": 0,
"state_value": 4,
"state_generic_value": 2
},
{
"state_name": "raisecomFanMonitorStateTable",
"state_descr": "normal",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "raisecomFanMonitorStateTable",
"state_descr": "abnormal",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "raisecomPowerMonitorStateTable",
"state_descr": "offline",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "raisecomPowerMonitorStateTable",
"state_descr": "online",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "raisecomPowerMonitorStateTable",
"state_descr": "power-on",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 0
}
]
},
"poller": "matches discovery"
}
}