mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
committed by
Neil Lathwood
parent
1fdb049a76
commit
3b45ea1b37
@@ -7,3 +7,4 @@ over:
|
||||
discovery:
|
||||
- sysDescr:
|
||||
- HiveOS
|
||||
- Aerohive
|
||||
|
||||
@@ -12,3 +12,6 @@
|
||||
if (preg_match('/^(.+?),/', $poll_device['sysDescr'], $hardware)) {
|
||||
$hardware = $store[1];
|
||||
}
|
||||
$hardware = trim(snmp_get($device, '.1.3.6.1.4.1.4413.1.1.1.1.1.3.0', '-Ovq'), '"');
|
||||
$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'), '"');
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|Aerohive SR2348P: 48 GE POE+ ports, 4 XE SFP+ ports, Stackable, 1.0.1.22, Linux 3.6.5
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.4413
|
||||
Reference in New Issue
Block a user