librenms/tests/data/saf_phoenix.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

345 lines
14 KiB
JSON

{
"wireless": {
"discovery": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "rate",
"sensor_index": "1",
"sensor_type": "saf-acm",
"sensor_descr": "ACM Capacity",
"sensor_divisor": 1,
"sensor_multiplier": 1000,
"sensor_aggregator": "sum",
"sensor_current": 362700000,
"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.7571.100.1.1.5.1.1.1.12.1.18.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "rate",
"sensor_index": "1",
"sensor_type": "saf-total",
"sensor_descr": "Total Capacity",
"sensor_divisor": 1,
"sensor_multiplier": 1000,
"sensor_aggregator": "sum",
"sensor_current": 362700000,
"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.7571.100.1.1.5.1.1.1.12.1.6.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "mse",
"sensor_index": "1",
"sensor_type": "saf-radial",
"sensor_descr": "Radial MSE",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -30.7,
"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.7571.100.1.1.5.1.1.1.12.1.10.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "1",
"sensor_type": "saf-rx",
"sensor_descr": "Rx Power",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -41,
"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.7571.100.1.1.5.1.1.1.10.1.5.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "1",
"sensor_type": "saf-tx",
"sensor_descr": "Tx Power",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 18,
"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.7571.100.1.1.5.1.1.1.10.1.4.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "1",
"sensor_type": "saf-tx",
"sensor_descr": "Tx Frequency",
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 10835,
"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.7571.100.1.1.5.1.1.1.10.1.9.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "1",
"sensor_type": "saf-rx",
"sensor_descr": "Rx Frequency",
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 11325,
"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.7571.100.1.1.5.1.1.1.10.1.10.1\"]"
}
]
},
"poller": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "rate",
"sensor_index": "1",
"sensor_type": "saf-acm",
"sensor_descr": "ACM Capacity",
"sensor_divisor": 1,
"sensor_multiplier": 1000,
"sensor_aggregator": "sum",
"sensor_current": 362700000,
"sensor_prev": 362700000,
"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.7571.100.1.1.5.1.1.1.12.1.18.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "rate",
"sensor_index": "1",
"sensor_type": "saf-total",
"sensor_descr": "Total Capacity",
"sensor_divisor": 1,
"sensor_multiplier": 1000,
"sensor_aggregator": "sum",
"sensor_current": 362700000,
"sensor_prev": 362700000,
"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.7571.100.1.1.5.1.1.1.12.1.6.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "mse",
"sensor_index": "1",
"sensor_type": "saf-radial",
"sensor_descr": "Radial MSE",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -30.7,
"sensor_prev": -30.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_oids": "[\".1.3.6.1.4.1.7571.100.1.1.5.1.1.1.12.1.10.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "1",
"sensor_type": "saf-rx",
"sensor_descr": "Rx Power",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -41,
"sensor_prev": -41,
"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.7571.100.1.1.5.1.1.1.10.1.5.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "1",
"sensor_type": "saf-tx",
"sensor_descr": "Tx Power",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 18,
"sensor_prev": 18,
"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.7571.100.1.1.5.1.1.1.10.1.4.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "1",
"sensor_type": "saf-tx",
"sensor_descr": "Tx Frequency",
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 10835,
"sensor_prev": 10835,
"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.7571.100.1.1.5.1.1.1.10.1.9.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "1",
"sensor_type": "saf-rx",
"sensor_descr": "Rx Frequency",
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 11325,
"sensor_prev": 11325,
"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.7571.100.1.1.5.1.1.1.10.1.10.1\"]"
}
]
}
},
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.7571.100.1.1.5.1",
"sysDescr": "SAF microwave radio;CFIP PhoeniX IDU v1.63.46;Model:3;HW:6;SN: 000000000000;PC: S0GIPT11",
"sysContact": null,
"version": "1.63.46",
"hardware": "CFIP PhoeniX IDU",
"features": null,
"os": "saf",
"type": "wireless",
"serial": "000000000000",
"icon": "saf.png",
"location": "<private>"
}
]
},
"poller": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.7571.100.1.1.5.1",
"sysDescr": "SAF microwave radio;CFIP PhoeniX IDU v1.63.46;Model:3;HW:6;SN: 000000000000;PC: S0GIPT11",
"sysContact": "<private>",
"version": "1.63.46",
"hardware": "CFIP PhoeniX IDU",
"features": null,
"os": "saf",
"type": "wireless",
"serial": "000000000000",
"icon": "saf.png",
"location": "<private>"
}
]
}
}
}