librenms
https://github.com/librenms/packer-builds/releases/tag/1.63
access the librenms | http://localhost:8080/addhost |
---|---|
Accsess htpp and snmp | https://docs.librenms.org/Installation/Images/ WebUI (http://localhost:8080) username: librenms / password: SSH (ssh://localhost:2023) username: librenms / password: MySQL/MariaDB username: librenms / password: |
auto discovery config change | https://docs.librenms.org/Extensions/Auto-Discovery/ Add: $config['nets'][] = '172.30.95.0/24'; $config['nets'][] = '172.30.92.0/24'; >>> restart the process ?????? |
snmp-scan.py | https://docs.librenms.org/Extensions/Auto-Discovery/ |
librenms@librenms:~$ python3 /opt/librenms/snmp-scan.py -t 10 -r 172.30.95.128/25 librenms@librenms:~$ python3 /opt/librenms/snmp-scan.py -t 10 -r 172.30.95.0/25 | |
discovering devices librenms@librenms:~$ python3 /opt/librenms/snmp-scan.py -t 10 -r 172.30.95.128/25 Scanning IPs: +++++++++++++++++++..+........*........+.++..+.+.......+...--......+-.......+-......+..+.-...-......-...-+........-........... Scanned 126 IPs: 1 known devices, added 31 devices, failed to add 9 devices Runtime: 230.54 seconds librenms@librenms:~$ python3 /opt/librenms/snmp-scan.py -r 172.30.95.0/25 Scanning IPs: ++++++++++++++++.+...............*......................................................................-...............---.-- Scanned 126 IPs: 1 known devices, added 17 devices, failed to add 6 devices Runtime: 217.58 seconds librenms@librenms:~$ | |