mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
adding serial number discovery to aruba os poller (#12053)
This commit is contained in:
@@ -9,6 +9,7 @@ list(,,$hardware,,$version,) = str_replace($badchars, '', explode(' ', $device['
|
||||
$switch_info_oids = array(
|
||||
'wlsxSwitchRole',
|
||||
'wlsxSwitchMasterIp',
|
||||
'wlsxSwitchLicenseSerialNumber',
|
||||
);
|
||||
echo 'Caching Oids: ';
|
||||
foreach ($switch_info_oids as $oid) {
|
||||
@@ -23,3 +24,5 @@ if ($aruba_info[0]['wlsxSwitchRole'] == 'master') {
|
||||
} else {
|
||||
$features = 'Local Controller for '.$aruba_info[0]['wlsxSwitchMasterIp'];
|
||||
}
|
||||
|
||||
$serial = $aruba_info[0]['wlsxSwitchLicenseSerialNumber'];
|
||||
|
12
tests/snmpsim/arubaos_aos65.snmprec
Normal file
12
tests/snmpsim/arubaos_aos65.snmprec
Normal file
@@ -0,0 +1,12 @@
|
||||
1.3.6.1.2.1.1.1.0|4|ArubaOS (MODEL: Aruba7030-US), Version 6.5.4.16 (74160)
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.14823.1.1.41
|
||||
1.3.6.1.2.1.1.3.0|67|174816600
|
||||
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.14823.2.2.1.1.1.4.0|2|1
|
||||
1.3.6.1.4.1.14823.2.2.1.1.1.5.0|64|1.2.3.4
|
||||
1.3.6.1.4.1.14823.2.2.1.1.1.12.0|4|CR0009876
|
||||
1.3.6.1.4.1.14823.2.2.1.1.3.1.0|66|8
|
||||
1.3.6.1.4.1.14823.2.2.1.1.3.2.0|66|1
|
||||
1.3.6.1.6.3.10.2.1.3.0|2|1748035
|
Reference in New Issue
Block a user