I am trying to setup auto discovery and added the necessary items to config.php according to this. I get the following error when tring to run snmp-scan.py:
librenms@librenms:~$ ./snmp-scan.py
Could not import ipaddress module. Please install python-ipaddress or use python3 to run this script
Debian/Ubuntu: apt install python-ipaddress
RHEL/CentOS: yum install python-ipaddress
Should I install ‘python-ipaddress’? I have the discovery by IP line commented out by the way.
FYI:
librenms@librenms:~$ ./daily.sh
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
librenms@librenms:~$ ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.46-91-gde7ce7c
DB Schema | 275
PHP | 7.0.32-0ubuntu0.16.04.1
MySQL | 10.0.36-MariaDB-0ubuntu0.16.04.1
RRDTool | 1.5.5
SNMP | NET-SNMP 5.7.3
====================================
[OK] Composer Version: 1.8.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct