Hi guys,
looks like my autodiscovery is not working. I added a bunch of hosts some time ago, all working fine. Now I want to have new devices automatically added to LibreNMS.
I followed the docs fro discovery.
Here are my outputs.
./validate.php
> bash-4.2$ ./validate.php
> ====================================
> Component | Version
> --------- | -------
> LibreNMS | 1.49-70-g1cfe4ea
> DB Schema | 2019_02_10_220000_add_dates_to_fdb (132)
> PHP | 7.2.14
> MySQL | 5.5.60-MariaDB
> RRDTool | 1.4.8
> SNMP | NET-SNMP 5.7.2
> ====================================
>
> [OK] Composer Version: 1.8.4
> [OK] Dependencies up-to-date.
> [OK] Database connection successful
> [OK] Database schema correct
> [WARN] Your local git contains modified files, this could prevent automatic updates.
> [FIX]:
> You can fix this with ./scripts/github-remove
> Modified Files:
> bootstrap/cache/.gitignore
> logs/.gitignore
> storage/app/.gitignore
> storage/app/public/.gitignore
> storage/debugbar/.gitignore
> storage/framework/cache/.gitignore
> storage/framework/cache/data/.gitignore
> storage/framework/sessions/.gitignore
> storage/framework/testing/.gitignore
> storage/framework/views/.gitignore
> storage/logs/.gitignore
> bash-4.2$
part of my config.php
> ### Default community
> $config['snmp']['community'][] = "xyz2utility";
>
> ### List of RFC1918 networks to allow scanning-based discovery
> ## xyz-Transport-Netz
> $config['nets'][] = '172.25.0.0/20';
>
> ## iLo- und ESXi-Netz
> #$config['nets'][] = '172.25.50.0/24';
>
> ## xyz-Management-Netz
> $config['nets'][] = '172.25.48.0/24';
/etc/cron.d/librenms
> # Using this cron file requires an additional user on your system, please see install docs.
>
> 33 */1 * * * librenms /opt/librenms/cronic /opt/librenms/discovery-wrapper.py 16
> */5 * * * * librenms /opt/librenms/discovery.php -h new >> /dev/null 2>&1
> */5 * * * * librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
> 15 0 * * * librenms /opt/librenms/daily.sh >> /dev/null 2>&1
> * * * * * librenms /opt/librenms/alerts.php >> /dev/null 2>&1
> */5 * * * * librenms /opt/librenms/poll-billing.php >> /dev/null 2>&1
> 01 * * * * librenms /opt/librenms/billing-calculate.php >> /dev/null 2>&1
> */5 * * * * librenms /opt/librenms/check-services.php >> /dev/null 2>&1
> * * * * * librenms /opt/librenms/ping.php >> /dev/null 2>&1
DNS is working on all new hosts.
Has someone any ideas what I an doing wrong?
BR
Patrick