device: AeroHive Wireless added AP130. (#8543)

* Added AP130.

* Added AP130 Test Data.

* Fix Test Data 001.
This commit is contained in:
theherodied
2018-04-11 05:16:20 -04:00
committed by Neil Lathwood
parent 9152becec7
commit e74af0a411
3 changed files with 475 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ $version = trim(snmp_get($device, '.1.3.6.1.4.1.4413.1.1.1.1.1.13.0', '-Ovq'), '
$serial = trim(snmp_get($device, '.1.3.6.1.4.1.4413.1.1.1.1.1.4.0', '-Ovq'), '"');
$apmodel = snmp_get($device, 'ahDeviceMode.0', '-Ovq', 'AH-SYSTEM-MIB');
if ($apmodel == 'AP250' || $apmodel == 'AP550') {
if ($apmodel == 'AP130' || $apmodel == 'AP250' || $apmodel == 'AP550') {
$data = snmp_get_multi_oid($device, 'ahSystemSerial.0 ahDeviceMode.0 ahFirmwareVersion.0', '-OQUs', 'AH-SYSTEM-MIB');
$hardware = $data['ahDeviceMode.0'];
$version2 = $data['ahFirmwareVersion.0'];

View File

@@ -0,0 +1,441 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.26928.1",
"sysDescr": "AP130, HiveOS 8.1r2a build-178408",
"sysContact": null,
"version": null,
"hardware": "",
"features": null,
"location": null,
"os": "hiveos-wireless",
"type": "wireless",
"serial": null,
"icon": "aerohive.svg"
}
]
},
"poller": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.26928.1",
"sysDescr": "AP130, HiveOS 8.1r2a build-178408",
"sysContact": "<private>",
"version": "8.1r2a build-178408",
"hardware": "AP130",
"features": null,
"location": "<private>",
"os": "hiveos-wireless",
"type": "wireless",
"serial": "01301603336863",
"icon": "aerohive.svg"
}
]
}
},
"ports": {
"discovery": {
"ports": []
},
"poller": "matches discovery"
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": "0",
"hrDeviceIndex": "0",
"processor_oid": ".1.3.6.1.4.1.26928.1.2.3.0",
"processor_index": "0",
"processor_type": "hiveos-wireless",
"processor_usage": "1",
"processor_descr": "Processor",
"processor_precision": "1",
"processor_perc_warn": "75"
}
]
},
"poller": "matches discovery"
},
"mempools": {
"discovery": {
"mempools": [
{
"mempool_index": "0",
"entPhysicalIndex": null,
"hrDeviceIndex": null,
"mempool_type": "hiveos-wireless",
"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": "75"
}
]
},
"poller": {
"mempools": [
{
"mempool_index": "0",
"entPhysicalIndex": null,
"hrDeviceIndex": null,
"mempool_type": "hiveos-wireless",
"mempool_precision": "1",
"mempool_descr": "Memory",
"mempool_perc": "47",
"mempool_used": "47",
"mempool_free": "53",
"mempool_total": "100",
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": "0",
"mempool_perc_warn": "75"
}
]
}
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": "0",
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.26928.1.2.10.0",
"sensor_index": "0",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Internal Temperature",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_current": "52",
"sensor_limit": "72",
"sensor_limit_warn": null,
"sensor_limit_low": "42",
"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": []
},
"poller": "matches discovery"
},
"wireless": {
"discovery": {
"wireless_sensors": [
{
"sensor_deleted": "0",
"sensor_class": "clients",
"sensor_index": "1",
"sensor_type": "HiveosWireless",
"sensor_descr": "Clients",
"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.26928.1.2.9.0\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "power",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi0",
"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.26928.1.1.1.2.1.5.1.2.5\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "power",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi1",
"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.26928.1.1.1.2.1.5.1.2.6\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "noise-floor",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Noise floor wifi0",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_aggregator": "sum",
"sensor_current": "161",
"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.26928.1.1.1.2.1.5.1.3.5\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "noise-floor",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Noise floor wifi1",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_aggregator": "sum",
"sensor_current": "161",
"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.26928.1.1.1.2.1.5.1.3.6\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "frequency",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi0",
"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.26928.1.1.1.2.1.5.1.1.5\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "frequency",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi1",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_aggregator": "sum",
"sensor_current": "5180",
"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.26928.1.1.1.2.1.5.1.1.6\"]"
}
]
},
"poller": {
"wireless_sensors": [
{
"sensor_deleted": "0",
"sensor_class": "clients",
"sensor_index": "1",
"sensor_type": "HiveosWireless",
"sensor_descr": "Clients",
"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.26928.1.2.9.0\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "power",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi0",
"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.26928.1.1.1.2.1.5.1.2.5\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "power",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi1",
"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.26928.1.1.1.2.1.5.1.2.6\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "noise-floor",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Noise floor wifi0",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_aggregator": "sum",
"sensor_current": "161",
"sensor_prev": "161",
"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.26928.1.1.1.2.1.5.1.3.5\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "noise-floor",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Noise floor wifi1",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_aggregator": "sum",
"sensor_current": "161",
"sensor_prev": "161",
"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.26928.1.1.1.2.1.5.1.3.6\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "frequency",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi0",
"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.26928.1.1.1.2.1.5.1.1.5\"]"
},
{
"sensor_deleted": "0",
"sensor_class": "frequency",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi1",
"sensor_divisor": "1",
"sensor_multiplier": "1",
"sensor_aggregator": "sum",
"sensor_current": "5180",
"sensor_prev": "5180",
"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.26928.1.1.1.2.1.5.1.1.6\"]"
}
]
}
},
}

View File

@@ -0,0 +1,33 @@
1.3.6.1.2.1.1.1.0|4|AP130, HiveOS 8.1r2a build-178408
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.26928.1
1.3.6.1.2.1.1.3.0|67|3816254
1.3.6.1.2.1.1.4.0|4|<private>
1.3.6.1.2.1.1.5.0|4|<private>
1.3.6.1.2.1.1.6.0|4|<private>
1.3.6.1.4.1.26928.1.1.1.2.1.1.1.1.3|4|eth0
1.3.6.1.4.1.26928.1.1.1.2.1.1.1.1.5|4|wifi0
1.3.6.1.4.1.26928.1.1.1.2.1.1.1.1.6|4|wifi1
1.3.6.1.4.1.26928.1.1.1.2.1.1.1.1.9|4|mgt0
1.3.6.1.4.1.26928.1.1.1.2.1.1.1.1.10|4|wifi0.1
1.3.6.1.4.1.26928.1.1.1.2.1.1.1.1.12|4|wifi1.1
1.3.6.1.4.1.26928.1.1.1.2.1.1.1.1.13|4|wifi1.2
1.3.6.1.4.1.26928.1.1.1.2.1.1.1.1.14|4|wifi1.3
1.3.6.1.4.1.26928.1.1.1.2.1.5.1.1.5|2|11
1.3.6.1.4.1.26928.1.1.1.2.1.5.1.1.6|2|36
1.3.6.1.4.1.26928.1.1.1.2.1.5.1.2.5|2|16
1.3.6.1.4.1.26928.1.1.1.2.1.5.1.2.6|2|18
1.3.6.1.4.1.26928.1.1.1.2.1.5.1.3.5|2|161
1.3.6.1.4.1.26928.1.1.1.2.1.5.1.3.6|2|161
1.3.6.1.4.1.26928.1.2.1.0|4|rm145d-ap130
1.3.6.1.4.1.26928.1.2.2.0|4|Product:AP130, HWVersion:1, SoftWareVersion:HiveOS 8.1r2a build-178408
1.3.6.1.4.1.26928.1.2.3.0|2|1
1.3.6.1.4.1.26928.1.2.4.0|2|47
1.3.6.1.4.1.26928.1.2.5.0|4|01301603336863
1.3.6.1.4.1.26928.1.2.6.0|4|AP130
1.3.6.1.4.1.26928.1.2.7.0|4|0 weeks, 0 days, 10 hours, 36 minutes, 2 seconds
1.3.6.1.4.1.26928.1.2.8.0|4|1
1.3.6.1.4.1.26928.1.2.9.0|2|0
1.3.6.1.4.1.26928.1.2.10.0|2|52
1.3.6.1.4.1.26928.1.2.11.0|2|0
1.3.6.1.4.1.26928.1.2.12.0|4|HiveOS 8.1r2a build-178408
1.3.6.1.6.3.10.2.1.3.0|2|18082