HP Procurve 5406zl ports not correctly detected

Hi

I did a new install of librenms yesterday on a Ubuntu 16.04 server.
The network consists of HP Procurve/Aruba switches i different models.
The problem is that on my 5406zl switches there are no bandwidth graphs.
J8697A Switch 5406zl
HP ProCurve K.15.16.0005

Else it seems to have successfully discovered info about the switch, cpu graphs is working for example.

For what i can see, the problem seems to be that in the database the interface type is NULL on these two switches.

Which is suspect is causing RRDTool to segfault:
[ 1788.900453] rrdtool[10114]: segfault at 0 ip 00007fc64ddd9ecb sp 00007ffeb288b3f0 error 6 in librrd.so.4.3.5[7fc64dda3000+51000]

If i check ports in the database for other switches were graphs are working they have interface type like ethernetCsmacd.

validate.php shows no signs of problems with the install:

[email protected]:/opt/librenms# ./validate.php

Component Version
LibreNMS 2ba7093d9caaf3627a721df00a31b667525f6804
DB Schema 199
PHP 7.0.18-0ubuntu0.16.04.1
MySQL 5.5.28-enterprise-commercial-advanced
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3

==========================================================

[OK] Database connection successful
[OK] Database schema correct

Snippet from the database for the ports i am having issues with

mysql> select port_id, ifType from ports where device_id=12;
±--------±-------+
| port_id | ifType |
±--------±-------+
| 1579 | NULL |
| 1580 | NULL |
| 1581 | NULL |
| 1582 | NULL |
| 1583 | NULL |
| 1584 | NULL |
| 1585 | NULL |
| 1586 | NULL |
| 1587 | NULL |
| 1588 | NULL |
| 1589 | NULL |

Any hints on what i can do to fix this ?

Thanks :slight_smile:

Please post the output of ./poller.php -h HOSTNAME -d -r f -m ports

Hi

Thanks for your reply, here is the output

https://pastebin.com/8xaRu2HY

Your device is literally timing out from the snmp queries:

Caching Oids: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 ifXEntry]
Timeout: No Response from udp:10.41.45.44:161

SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUst -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 ifEntry]
Timeout: No Response from udp:10.41.45.44:161

That’s either a device issue or firmware issue.

Thank you, since i have two switches of same model with same firmware with this problem it makes sense.
I will upgrade the firmware and hopefully this will correct the issue.

Having the same issue using code K.15.15.0008, I do not have this issue on devices which runs 16.X code.