I’m not able to see any neighbours on tp-link switches dashboard.
This is my validate:
Component | Version |
---|---|
LibreNMS | 23.11.0-25-g3a5a64d5c (2023-12-09T14:24:01+01:00) |
DB Schema | 2023_11_21_172239_increase_vminfo.vmwvmguestos_column_length (274) |
PHP | 8.2.13 |
Python | 3.11.2 |
Database | MariaDB 10.11.4-MariaDB-1~deb12u1 |
RRDTool | 1.7.2 |
SNMP | 5.9.3 |
=========================================== |
[OK] Composer Version: 2.6.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[FAIL] Python3 module issue found: 'Required packages: [‘PyMySQL!=1.0.0’, ‘python-dotenv’, ‘redis>=4.0’, ‘setuptools’, ‘psutil>=5.6.0’, ‘command_runner>=1.3.0’]
Package not found: The ‘command_runner>=1.3.0’ distribution was not found and is required by the application
’
[FIX]:
pip3 install -r /opt/librenms/requirements.txt
[OK] rrd_dir is writable
[OK] rrdtool version ok
The only error here is caused by command_runner. There is no python lib on Debian 12 for command_runner.
Link to discovery log is:
Discovery log
SNMPBULKWALK reads LLDP data but it cannot manage info
Main error line drops:
Error discovering discovery-protocols module for sw3.mozoilo.lan. TypeError: key(): Argument #1 ($array) must be of type array, null given in /opt/librenms/includes/discovery/discovery-protocols.inc.php:206
I’ve read other similar problems with Juniper and Nokia devices but the only change that offer neighbours is to undo change in line 203-204 from last refact (September).
But I think this action is not recomended. Maybe it damages DB.
I have another switch (but DLINK) in lab net that offers correct neighbours.
Thanks in advance