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

668 lines
28 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.25053.3.1.11.1",
"sysDescr": "SmartZone",
"sysContact": "<private>",
"version": "3.6.2.0.78 (US)",
"hardware": "SZ104",
"features": "Licenses: 40/76",
"location": "<private>",
"os": "ruckuswireless-sz",
"type": "wireless",
"serial": "211838000212",
"icon": "ruckus.svg"
}
]
},
"poller": "matches discovery"
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 196608,
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.196608",
"processor_index": "196608",
"processor_type": "hr",
"processor_usage": 8,
"processor_descr": "Intel Core i7-3770 @ 3.40GHz",
"processor_precision": 1,
"processor_perc_warn": 75
},
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 196609,
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.196609",
"processor_index": "196609",
"processor_type": "hr",
"processor_usage": 8,
"processor_descr": "Intel Core i7-3770 @ 3.40GHz",
"processor_precision": 1,
"processor_perc_warn": 75
},
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 196610,
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.196610",
"processor_index": "196610",
"processor_type": "hr",
"processor_usage": 1,
"processor_descr": "Intel Core i7-3770 @ 3.40GHz",
"processor_precision": 1,
"processor_perc_warn": 75
},
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 196611,
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.196611",
"processor_index": "196611",
"processor_type": "hr",
"processor_usage": 100,
"processor_descr": "Intel Core i7-3770 @ 3.40GHz",
"processor_precision": 1,
"processor_perc_warn": 75
},
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 196612,
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.196612",
"processor_index": "196612",
"processor_type": "hr",
"processor_usage": 10,
"processor_descr": "Intel Core i7-3770 @ 3.40GHz",
"processor_precision": 1,
"processor_perc_warn": 75
},
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 196613,
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.196613",
"processor_index": "196613",
"processor_type": "hr",
"processor_usage": 16,
"processor_descr": "Intel Core i7-3770 @ 3.40GHz",
"processor_precision": 1,
"processor_perc_warn": 75
},
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 196614,
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.196614",
"processor_index": "196614",
"processor_type": "hr",
"processor_usage": 8,
"processor_descr": "Intel Core i7-3770 @ 3.40GHz",
"processor_precision": 1,
"processor_perc_warn": 75
},
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 196615,
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.196615",
"processor_index": "196615",
"processor_type": "hr",
"processor_usage": 100,
"processor_descr": "Intel Core i7-3770 @ 3.40GHz",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
},
"poller": "matches discovery"
},
"mempools": {
"discovery": {
"mempools": [
{
"mempool_index": "1",
"entPhysicalIndex": null,
"mempool_type": "hrstorage",
"mempool_class": "system",
"mempool_precision": 1024,
"mempool_descr": "Physical memory",
"mempool_perc": 78,
"mempool_perc_oid": null,
"mempool_used": 26081660928,
"mempool_used_oid": ".1.3.6.1.2.1.25.2.3.1.6.1",
"mempool_free": 7480410112,
"mempool_free_oid": null,
"mempool_total": 33562071040,
"mempool_total_oid": null,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 99
},
{
"mempool_index": "3",
"entPhysicalIndex": null,
"mempool_type": "hrstorage",
"mempool_class": "virtual",
"mempool_precision": 1024,
"mempool_descr": "Virtual memory",
"mempool_perc": 98,
"mempool_perc_oid": null,
"mempool_used": 32958676992,
"mempool_used_oid": ".1.3.6.1.2.1.25.2.3.1.6.3",
"mempool_free": 603394048,
"mempool_free_oid": null,
"mempool_total": 33562071040,
"mempool_total_oid": null,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 95
},
{
"mempool_index": "6",
"entPhysicalIndex": null,
"mempool_type": "hrstorage",
"mempool_class": "buffers",
"mempool_precision": 1024,
"mempool_descr": "Memory buffers",
"mempool_perc": 1,
"mempool_perc_oid": null,
"mempool_used": 235642880,
"mempool_used_oid": ".1.3.6.1.2.1.25.2.3.1.6.6",
"mempool_free": 33326428160,
"mempool_free_oid": null,
"mempool_total": 33562071040,
"mempool_total_oid": null,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 0
},
{
"mempool_index": "7",
"entPhysicalIndex": null,
"mempool_type": "hrstorage",
"mempool_class": "cached",
"mempool_precision": 1024,
"mempool_descr": "Cached memory",
"mempool_perc": 20,
"mempool_perc_oid": null,
"mempool_used": 6641373184,
"mempool_used_oid": ".1.3.6.1.2.1.25.2.3.1.6.7",
"mempool_free": 26920697856,
"mempool_free_oid": null,
"mempool_total": 33562071040,
"mempool_total_oid": null,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 0
},
{
"mempool_index": "8",
"entPhysicalIndex": null,
"mempool_type": "hrstorage",
"mempool_class": "shared",
"mempool_precision": 1024,
"mempool_descr": "Shared memory",
"mempool_perc": 0,
"mempool_perc_oid": null,
"mempool_used": 35201024,
"mempool_used_oid": ".1.3.6.1.2.1.25.2.3.1.6.8",
"mempool_free": 33526870016,
"mempool_free_oid": null,
"mempool_total": 33562071040,
"mempool_total_oid": null,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 0
}
]
},
"poller": "matches discovery"
},
"storage": {
"discovery": {
"storage": [
{
"storage_mib": "hrstorage",
"storage_index": "31",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/",
"storage_size": 21003628544,
"storage_units": 4096,
"storage_used": 2355781632,
"storage_free": 0,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
}
]
},
"poller": {
"storage": [
{
"storage_mib": "hrstorage",
"storage_index": "31",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/",
"storage_size": 21003628544,
"storage_units": 4096,
"storage_used": 2355781632,
"storage_free": 18647846912,
"storage_perc": 11,
"storage_perc_warn": 60,
"storage_deleted": 0
}
]
}
},
"wireless": {
"discovery": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "ap-count",
"sensor_index": "1",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "Connected APs",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 36,
"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.25053.1.8.1.1.1.1.1.1.19.12.50.49.49.56.51.56.48.48.48.50.49.50\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "ap-count",
"sensor_index": "2",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "Total APs",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 40,
"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.25053.1.4.1.1.1.15.1.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "1",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 52,
"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.25053.1.4.2.1.1.1.2.1.12.1\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "2",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 16,
"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.25053.1.4.2.1.1.1.2.1.12.2\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "3",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"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.25053.1.4.2.1.1.1.2.1.12.3\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "6",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"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.25053.1.4.2.1.1.1.2.1.12.6\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "7",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 67,
"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.25053.1.4.2.1.1.1.2.1.12.7\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "8",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 2,
"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.25053.1.4.2.1.1.1.2.1.12.8\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "9",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "System Total:",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 146,
"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.25053.1.4.1.1.1.15.2.0\"]",
"rrd_type": "GAUGE"
}
]
},
"poller": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "ap-count",
"sensor_index": "1",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "Connected APs",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 36,
"sensor_prev": 36,
"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.25053.1.8.1.1.1.1.1.1.19.12.50.49.49.56.51.56.48.48.48.50.49.50\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "ap-count",
"sensor_index": "2",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "Total APs",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 40,
"sensor_prev": 40,
"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.25053.1.4.1.1.1.15.1.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "1",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 52,
"sensor_prev": 52,
"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.25053.1.4.2.1.1.1.2.1.12.1\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "2",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 16,
"sensor_prev": 16,
"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.25053.1.4.2.1.1.1.2.1.12.2\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "3",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"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.25053.1.4.2.1.1.1.2.1.12.3\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "6",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"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.25053.1.4.2.1.1.1.2.1.12.6\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "7",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 67,
"sensor_prev": 67,
"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.25053.1.4.2.1.1.1.2.1.12.7\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "8",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "SSID: <private>",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 2,
"sensor_prev": 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_oids": "[\".1.3.6.1.4.1.25053.1.4.2.1.1.1.2.1.12.8\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "9",
"sensor_type": "ruckuswireless-sz",
"sensor_descr": "System Total:",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 146,
"sensor_prev": 146,
"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.25053.1.4.1.1.1.15.2.0\"]",
"rrd_type": "GAUGE"
}
]
}
}
}