- root@indy-librenms:/opt/librenms# tail -n 50 /var/log/cron.log
- Feb 14 13:04:01 indy-librenms CRON[32078]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:05:01 indy-librenms CRON[32237]: (librenms) CMD (/opt/librenms/poll-billing.php >> /dev/null 2>&1)
- Feb 14 13:05:01 indy-librenms CRON[32238]: (librenms) CMD ( /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16)
- Feb 14 13:05:01 indy-librenms CRON[32239]: (librenms) CMD ( /opt/librenms/discovery.php -h new >> /dev/null 2>&1)
- Feb 14 13:05:01 indy-librenms CRON[32240]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:08:26 indy-librenms cron[432]: (CRON) INFO (pidfile fd = 3)
- Feb 14 13:08:26 indy-librenms cron[432]: (CRON) INFO (Running @reboot jobs)
- Feb 14 13:08:54 indy-librenms systemd-timesyncd[318]: Synchronized to time server 216.229.0.49:123 (2.debian.pool.ntp.org).
- Feb 14 13:09:02 indy-librenms CRON[1228]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
- Feb 14 13:09:02 indy-librenms CRON[1229]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:09:02 indy-librenms CRON[1230]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
- Feb 14 13:09:02 indy-librenms CRON[1231]: (root) CMD (root /etc/snmp/fail2ban -u */3 * * * * root /etc/snmp/fail2ban -u )
- Feb 14 13:10:01 indy-librenms CRON[2046]: (librenms) CMD (/opt/librenms/poll-billing.php >> /dev/null 2>&1)
- Feb 14 13:10:01 indy-librenms CRON[2047]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:10:01 indy-librenms CRON[2048]: (librenms) CMD ( /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16)
- Feb 14 13:10:01 indy-librenms CRON[2049]: (librenms) CMD ( /opt/librenms/discovery.php -h new >> /dev/null 2>&1)
- Feb 14 13:11:01 indy-librenms CRON[4228]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:12:01 indy-librenms CRON[4982]: (root) CMD (root /etc/snmp/fail2ban -u */3 * * * * root /etc/snmp/fail2ban -u )
- Feb 14 13:12:01 indy-librenms CRON[4983]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:13:01 indy-librenms CRON[5451]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:14:01 indy-librenms CRON[6228]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:15:01 indy-librenms CRON[6986]: (librenms) CMD (/opt/librenms/poll-billing.php >> /dev/null 2>&1)
- Feb 14 13:15:01 indy-librenms CRON[6988]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:15:01 indy-librenms CRON[6989]: (librenms) CMD ( /opt/librenms/discovery.php -h new >> /dev/null 2>&1)
- Feb 14 13:15:01 indy-librenms CRON[6987]: (root) CMD (root /etc/snmp/fail2ban -u */3 * * * * root /etc/snmp/fail2ban -u )
- Feb 14 13:15:01 indy-librenms CRON[6990]: (librenms) CMD ( /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16)
- Feb 14 13:16:01 indy-librenms CRON[9220]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:17:01 indy-librenms CRON[9987]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:17:01 indy-librenms CRON[9986]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
- Feb 14 13:18:01 indy-librenms CRON[10799]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:18:01 indy-librenms CRON[10800]: (root) CMD (root /etc/snmp/fail2ban -u */3 * * * * root /etc/snmp/fail2ban -u )
- Feb 14 13:19:01 indy-librenms CRON[11516]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:20:01 indy-librenms CRON[12266]: (librenms) CMD ( /opt/librenms/discovery.php -h new >> /dev/null 2>&1)
- Feb 14 13:20:01 indy-librenms CRON[12267]: (librenms) CMD ( /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16)
- Feb 14 13:20:01 indy-librenms CRON[12268]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:20:01 indy-librenms CRON[12269]: (librenms) CMD (/opt/librenms/poll-billing.php >> /dev/null 2>&1)
- Feb 14 13:21:01 indy-librenms CRON[14514]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:21:01 indy-librenms CRON[14515]: (root) CMD (root /etc/snmp/fail2ban -u */3 * * * * root /etc/snmp/fail2ban -u )
- Feb 14 13:22:01 indy-librenms CRON[15267]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:23:01 indy-librenms CRON[16062]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:24:01 indy-librenms CRON[16142]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:24:01 indy-librenms CRON[16143]: (root) CMD (root /etc/snmp/fail2ban -u */3 * * * * root /etc/snmp/fail2ban -u )
- Feb 14 13:25:01 indy-librenms CRON[16159]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:25:01 indy-librenms CRON[16160]: (librenms) CMD ( /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16)
- Feb 14 13:25:01 indy-librenms CRON[16161]: (librenms) CMD ( /opt/librenms/discovery.php -h new >> /dev/null 2>&1)
- Feb 14 13:25:01 indy-librenms CRON[16162]: (librenms) CMD (/opt/librenms/poll-billing.php >> /dev/null 2>&1)
- Feb 14 13:26:01 indy-librenms CRON[17720]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:27:01 indy-librenms CRON[17915]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- Feb 14 13:27:01 indy-librenms CRON[17916]: (root) CMD (root /etc/snmp/fail2ban -u */3 * * * * root /etc/snmp/fail2ban -u )
- Feb 14 13:28:01 indy-librenms CRON[17992]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
- root@indy-librenms:/opt/librenms# cat /etc/cron.d/librenms
- # Using this cron file requires an additional user on your system, please see install docs.
- 33 */6 * * * librenms /opt/librenms/discovery.php -h all >> /dev/null 2>&1
- */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
- root@indy-librenms:/opt/librenms# ./validate.php
- ====================================
- Component | Version
- --------- | -------
- LibreNMS | 1.48.1-52-g63de34e29
- DB Schema | 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
- PHP | 7.2.15-1+0~20190209065123.16+stretch~1.gbp3ad8c0
- MySQL | 10.0.32-MariaDB-0+deb8u1
- RRDTool | 1.6.0
- SNMP | NET-SNMP 5.7.3
- ====================================
- [OK] Composer Version: 1.8.4
- [OK] Dependencies up-to-date.
- [OK] Database connection successful
- [OK] Database schema correct
- [FAIL] Discovery has not completed in the last 24 hours.
- [FIX]:
- Check the cron job to make sure it is running and using discovery-wrapper.py