Files
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

657 lines
27 KiB
JSON

{
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 0,
"processor_oid": ".1.3.6.1.4.1.10002.1.1.1.4.2.1.3.2",
"processor_index": "0",
"processor_type": "unifi",
"processor_usage": 24,
"processor_descr": "Processor",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
},
"poller": "matches discovery"
},
"wireless": {
"discovery": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "ng",
"sensor_type": "unifi",
"sensor_descr": "Clients (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 4,
"sensor_prev": null,
"sensor_limit": 40,
"sensor_limit_warn": 30,
"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.41112.1.6.1.2.1.8.1\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.2\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.3\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.4\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "Main SSID",
"sensor_type": "unifi",
"sensor_descr": "SSID: Main SSID",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 1,
"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.41112.1.6.1.2.1.8.2\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "guest",
"sensor_type": "unifi",
"sensor_descr": "SSID: guest",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 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.41112.1.6.1.2.1.8.3\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "Maintenance",
"sensor_type": "unifi",
"sensor_descr": "SSID: Maintenance",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 0,
"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.41112.1.6.1.2.1.8.4\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "utilization",
"sensor_index": "1",
"sensor_type": "unifi-total",
"sensor_descr": "Total Util (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 9,
"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.41112.1.6.1.1.1.6.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "utilization",
"sensor_index": "1",
"sensor_type": "unifi-rx",
"sensor_descr": "Self Rx Util (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 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.41112.1.6.1.1.1.7.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "utilization",
"sensor_index": "1",
"sensor_type": "unifi-tx",
"sensor_descr": "Self Tx Util (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 6,
"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.41112.1.6.1.1.1.8.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "utilization",
"sensor_index": "1",
"sensor_type": "unifi-other",
"sensor_descr": "Other BSS Util (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 0,
"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.41112.1.6.1.1.1.9.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "ccq",
"sensor_index": "2",
"sensor_type": "unifi",
"sensor_descr": "SSID: Main SSID (ng)",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 99.1,
"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.41112.1.6.1.2.1.3.2\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "ccq",
"sensor_index": "3",
"sensor_type": "unifi",
"sensor_descr": "SSID: guest (ng)",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 78.8,
"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.41112.1.6.1.2.1.3.3\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "ccq",
"sensor_index": "4",
"sensor_type": "unifi",
"sensor_descr": "SSID: Maintenance (ng)",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 78.8,
"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.41112.1.6.1.2.1.3.4\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "ng",
"sensor_type": "unifi-tx",
"sensor_descr": "Tx Power (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 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.41112.1.6.1.2.1.21.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "ng",
"sensor_type": "unifi",
"sensor_descr": "Frequency (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 2462,
"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.41112.1.6.1.2.1.4.1\"]"
}
]
},
"poller": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "ng",
"sensor_type": "unifi",
"sensor_descr": "Clients (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 4,
"sensor_prev": 4,
"sensor_limit": 40,
"sensor_limit_warn": 30,
"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.41112.1.6.1.2.1.8.1\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.2\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.3\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.4\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "Main SSID",
"sensor_type": "unifi",
"sensor_descr": "SSID: Main SSID",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 1,
"sensor_prev": 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_oids": "[\".1.3.6.1.4.1.41112.1.6.1.2.1.8.2\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "guest",
"sensor_type": "unifi",
"sensor_descr": "SSID: guest",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 3,
"sensor_prev": 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.41112.1.6.1.2.1.8.3\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "Maintenance",
"sensor_type": "unifi",
"sensor_descr": "SSID: Maintenance",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 0,
"sensor_prev": 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_oids": "[\".1.3.6.1.4.1.41112.1.6.1.2.1.8.4\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "utilization",
"sensor_index": "1",
"sensor_type": "unifi-total",
"sensor_descr": "Total Util (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 9,
"sensor_prev": 9,
"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.41112.1.6.1.1.1.6.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "utilization",
"sensor_index": "1",
"sensor_type": "unifi-rx",
"sensor_descr": "Self Rx Util (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 3,
"sensor_prev": 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.41112.1.6.1.1.1.7.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "utilization",
"sensor_index": "1",
"sensor_type": "unifi-tx",
"sensor_descr": "Self Tx Util (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 6,
"sensor_prev": 6,
"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.41112.1.6.1.1.1.8.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "utilization",
"sensor_index": "1",
"sensor_type": "unifi-other",
"sensor_descr": "Other BSS Util (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 0,
"sensor_prev": 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_oids": "[\".1.3.6.1.4.1.41112.1.6.1.1.1.9.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "ccq",
"sensor_index": "2",
"sensor_type": "unifi",
"sensor_descr": "SSID: Main SSID (ng)",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 99.1,
"sensor_prev": 99.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_oids": "[\".1.3.6.1.4.1.41112.1.6.1.2.1.3.2\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "ccq",
"sensor_index": "3",
"sensor_type": "unifi",
"sensor_descr": "SSID: guest (ng)",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 78.8,
"sensor_prev": 78.8,
"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.41112.1.6.1.2.1.3.3\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "ccq",
"sensor_index": "4",
"sensor_type": "unifi",
"sensor_descr": "SSID: Maintenance (ng)",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 78.8,
"sensor_prev": 78.8,
"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.41112.1.6.1.2.1.3.4\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "ng",
"sensor_type": "unifi-tx",
"sensor_descr": "Tx Power (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 5,
"sensor_prev": 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.41112.1.6.1.2.1.21.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "ng",
"sensor_type": "unifi",
"sensor_descr": "Frequency (ng)",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 2462,
"sensor_prev": 2462,
"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.41112.1.6.1.2.1.4.1\"]"
}
]
}
},
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.10002.1",
"sysDescr": "Linux 3.3.8 #1 Wed Jan 18 09:26:53 PST 2017 mips",
"sysContact": null,
"version": null,
"hardware": null,
"features": null,
"os": "unifi",
"type": "wireless",
"serial": null,
"icon": "ubiquiti.svg",
"location": "<private>"
}
]
},
"poller": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.10002.1",
"sysDescr": "Linux 3.3.8 #1 Wed Jan 18 09:26:53 PST 2017 mips",
"sysContact": "<private>",
"version": null,
"hardware": null,
"features": null,
"os": "unifi",
"type": "wireless",
"serial": null,
"icon": "ubiquiti.svg",
"location": "<private>"
}
]
}
},
"mempools": {
"discovery": {
"mempools": [
{
"mempool_index": "0",
"entPhysicalIndex": null,
"hrDeviceIndex": null,
"mempool_type": "unifi",
"mempool_precision": 1,
"mempool_descr": "Memory",
"mempool_perc": 0,
"mempool_used": 0,
"mempool_free": 0,
"mempool_total": 0,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 90
}
]
},
"poller": {
"mempools": [
{
"mempool_index": "0",
"entPhysicalIndex": null,
"hrDeviceIndex": null,
"mempool_type": "unifi",
"mempool_precision": 1,
"mempool_descr": "Memory",
"mempool_perc": 38,
"mempool_used": 24264704,
"mempool_free": 39616512,
"mempool_total": 63881216,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 90
}
]
}
}
}