Arubaos-CX 6000 Discovery problem

Hi!

I have problem with discovery of Aruba CX 6000 with softw. ver. PL.10.11.1010.
12-port, 24-port and 48-port switches with PoE+

LibreNMS finds almost everything exept VLAN, the VLAN-tab is missing and ther is no VLANs if I look in the interface list.

The discoveryscript says this:

Load disco module core

Attempting to initialize OS: arubaos-cx
OS initialized as Generic

SNMP[‘/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-On’ ‘udp:HOSTNAME:161’ ‘SNMPv2-MIB::sysObjectID.0’ ‘SNMPv2-MIB::sysDescr.0’ ‘SNMPv2-MIB::sysName.0’]

...0 = ..4.1.47.1.272
...0 = PL.10.11.1010
...0 = HOSTNAME

| PL.10.11.1010 | .1.3.6.1.4.1.47196.4.1.1.1.272 |

OS: ArubaOS-CX (arubaos-cx)
Attempting to initialize OS: arubaos-cx
OS initialized as Generic

Any ideas?

BR

Here is the output from discovery.php:

[email protected]:/opt/librenms/includes/definitions# /opt/librenms/discovery.php -h HOSTNAME -d -m os
LibreNMS Discovery
SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.73ms]

SQL[select count(*) as aggregate from `migrations` [] 0.65ms]

SQL[select version() [] 0.34ms]

===========================================
Component | Version
--------- | -------
LibreNMS  | 23.4.0 (2023-04-08T00:19:03+02:00)
DB Schema | 2023_05_12_071412_devices_expand_timetaken_doubles (251)
PHP       | 8.1.2-1ubuntu2.11
Python    | 3.10.6
Database  | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.1
===========================================
DEBUG!
Updating os_def.cache
Override discovery modules: os
SQL[SELECT * FROM `devices` WHERE disabled = 0 AND `hostname` LIKE 'HOSTNAME' ORDER BY device_id DESC [] 1.15ms]

SQL[select * from `devices` where `device_id` = ? limit 1 [439] 0.63ms]

SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [439] 0.39ms]

HOSTNAME 439 generic [FPING] '/usr/bin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '700' '-O' '0' 'HOSTNAME'

response: xmt/rcv/%loss = 3/3/0%, min/avg/max = 0.507/0.548/0.602
SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-v2c' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysObjectID.0']
SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.47*.1.272


Modules status: Global+
OS
Device

#### Load disco module core ####
Attempting to initialize OS: generic
OS initialized: LibreNMS\OS\Generic
SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-v2c' '-c' 'COMMUNITY' '-OQXUte' '-On' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysObjectID.0' 'SNMPv2-MIB::sysDescr.0' 'SNMPv2-MIB::sysName.0']
.*.*.0 = .*.4.1.47*.1.272
.*.*.0 = PL.10.10.1060
.*.*.0 = HOSTNAME


| PL.10.10.1060 | .1.3.6.1.4.1.47196.4.1.1.1.272 |

SQL[insert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [null,"system","2023-05-17 06:25:14",3,"Device OS changed: generic -> arubaos-cx","",439] 0.45ms]

Changed Device type changed to network!
SQL[update `devices` set `os` = ?, `type` = ? where `device_id` = ? ["arubaos-cx","network",439] 0.47ms]

SQL[insert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [null,"system","2023-05-17 06:25:14",3,"Device OS: generic -> arubaos-cx","",439] 0.3ms]

SQL[insert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [null,"system","2023-05-17 06:25:14",3,"Device type: server -> network","",439] 0.25ms]

OS: ArubaOS-CX (arubaos-cx)

Attempting to initialize OS: arubaos-cx
OS initialized as Generic

>> Runtime for discovery module 'core': 0.0740 seconds with 366664 bytes
>> SNMP: [1/0.05s] MySQL: [4/0.01s] RRD: [0/0.00s]
#### Unload disco module core ####

Modules status: Global+
OS
Device

#### Load disco module os ####
Yaml location data:
SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-Oqv' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/arubaos-cx' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysLocation.0']
"AKC KK-Rum"

SQL[select * from `locations` where (`location` = ?) limit 1 ["AKC KK-Rum"] 0.88ms]

SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-Ovq' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/arubaos-cx' 'udp:HOSTNAME:161' 'sysContact.0']
OT-Avd

SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OUQ' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/arubaos-cx' 'udp:HOSTNAME:161' 'ENTITY-MIB::entPhysicalSerialNum.1']
ENTITY-MIB::entPhysicalSerialNum.1 = SERIALNUMBER

Yaml OS data: {"ENTITY-MIB::entPhysicalSerialNum.1":"SERIALNUMBER"}
Location: AKC KK-Rum
Hardware:
OS Version: PL.10.10.1060
OS Features:
Serial: SERIALNUMBER
SQL[update `devices` set `version` = ?, `serial` = ?, `icon` = ? where `device_id` = ? ["PL.10.10.1060","SERIALNUMBER","aruba.svg",439] 1.08ms]

SQL[insert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [null,"system","2023-05-17 06:25:14",3,"OS Version: PL.10.10.1060","",439] 0.74ms]

SQL[insert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [null,"system","2023-05-17 06:25:14",3,"Serial: SERIALNUMBER","",439] 0.4ms]

SQL[insert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [null,"system","2023-05-17 06:25:14",3,"Icon: images\/os\/generic.svg -> images\/os\/aruba.svg","",439] 0.29ms]


>> Runtime for discovery module 'os': 0.1150 seconds with 656200 bytes
>> SNMP: [4/0.09s] MySQL: [5/0.03s] RRD: [0/0.00s]
#### Unload disco module os ####

SQL[UPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [1.249,439] 0.33ms]

Discovered in 1.249 seconds

/opt/librenms/discovery.php HOSTNAME 2023-05-17 06:25:14 - 1 devices discovered in 1.457 secs

SNMP [6/0.17s]: Snmpget[6/0.17s]
SQL [17/0.10s]: Select[8/0.05s] Insert[6/0.02s] Update[3/0.02s]
RRD [0/0.00s]:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.