From Corrupt Hummingbird, 5 Years ago, written in Plain Text.
Embed
  1. root@indy-librenms:/opt/librenms# tail -n 50 /var/log/cron.log
  2. Feb 14 13:04:01 indy-librenms CRON[32078]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  3. Feb 14 13:05:01 indy-librenms CRON[32237]: (librenms) CMD (/opt/librenms/poll-billing.php >> /dev/null 2>&1)
  4. Feb 14 13:05:01 indy-librenms CRON[32238]: (librenms) CMD (   /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16)
  5. Feb 14 13:05:01 indy-librenms CRON[32239]: (librenms) CMD (   /opt/librenms/discovery.php -h new >> /dev/null 2>&1)
  6. Feb 14 13:05:01 indy-librenms CRON[32240]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  7. Feb 14 13:08:26 indy-librenms cron[432]: (CRON) INFO (pidfile fd = 3)
  8. Feb 14 13:08:26 indy-librenms cron[432]: (CRON) INFO (Running @reboot jobs)
  9. Feb 14 13:08:54 indy-librenms systemd-timesyncd[318]: Synchronized to time server 216.229.0.49:123 (2.debian.pool.ntp.org).
  10. 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)
  11. Feb 14 13:09:02 indy-librenms CRON[1229]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  12. Feb 14 13:09:02 indy-librenms CRON[1230]: (root) CMD (  [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
  13. Feb 14 13:09:02 indy-librenms CRON[1231]: (root) CMD (root    /etc/snmp/fail2ban -u */3    *    *    *    *    root    /etc/snmp/fail2ban -u )
  14. Feb 14 13:10:01 indy-librenms CRON[2046]: (librenms) CMD (/opt/librenms/poll-billing.php >> /dev/null 2>&1)
  15. Feb 14 13:10:01 indy-librenms CRON[2047]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  16. Feb 14 13:10:01 indy-librenms CRON[2048]: (librenms) CMD (   /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16)
  17. Feb 14 13:10:01 indy-librenms CRON[2049]: (librenms) CMD (   /opt/librenms/discovery.php -h new >> /dev/null 2>&1)
  18. Feb 14 13:11:01 indy-librenms CRON[4228]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  19. Feb 14 13:12:01 indy-librenms CRON[4982]: (root) CMD (root    /etc/snmp/fail2ban -u */3    *    *    *    *    root    /etc/snmp/fail2ban -u )
  20. Feb 14 13:12:01 indy-librenms CRON[4983]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  21. Feb 14 13:13:01 indy-librenms CRON[5451]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  22. Feb 14 13:14:01 indy-librenms CRON[6228]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  23. Feb 14 13:15:01 indy-librenms CRON[6986]: (librenms) CMD (/opt/librenms/poll-billing.php >> /dev/null 2>&1)
  24. Feb 14 13:15:01 indy-librenms CRON[6988]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  25. Feb 14 13:15:01 indy-librenms CRON[6989]: (librenms) CMD (   /opt/librenms/discovery.php -h new >> /dev/null 2>&1)
  26. Feb 14 13:15:01 indy-librenms CRON[6987]: (root) CMD (root    /etc/snmp/fail2ban -u */3    *    *    *    *    root    /etc/snmp/fail2ban -u )
  27. Feb 14 13:15:01 indy-librenms CRON[6990]: (librenms) CMD (   /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16)
  28. Feb 14 13:16:01 indy-librenms CRON[9220]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  29. Feb 14 13:17:01 indy-librenms CRON[9987]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  30. Feb 14 13:17:01 indy-librenms CRON[9986]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
  31. Feb 14 13:18:01 indy-librenms CRON[10799]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  32. Feb 14 13:18:01 indy-librenms CRON[10800]: (root) CMD (root    /etc/snmp/fail2ban -u */3    *    *    *    *    root    /etc/snmp/fail2ban -u )
  33. Feb 14 13:19:01 indy-librenms CRON[11516]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  34. Feb 14 13:20:01 indy-librenms CRON[12266]: (librenms) CMD (   /opt/librenms/discovery.php -h new >> /dev/null 2>&1)
  35. Feb 14 13:20:01 indy-librenms CRON[12267]: (librenms) CMD (   /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16)
  36. Feb 14 13:20:01 indy-librenms CRON[12268]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  37. Feb 14 13:20:01 indy-librenms CRON[12269]: (librenms) CMD (/opt/librenms/poll-billing.php >> /dev/null 2>&1)
  38. Feb 14 13:21:01 indy-librenms CRON[14514]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  39. Feb 14 13:21:01 indy-librenms CRON[14515]: (root) CMD (root    /etc/snmp/fail2ban -u */3    *    *    *    *    root    /etc/snmp/fail2ban -u )
  40. Feb 14 13:22:01 indy-librenms CRON[15267]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  41. Feb 14 13:23:01 indy-librenms CRON[16062]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  42. Feb 14 13:24:01 indy-librenms CRON[16142]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  43. Feb 14 13:24:01 indy-librenms CRON[16143]: (root) CMD (root    /etc/snmp/fail2ban -u */3    *    *    *    *    root    /etc/snmp/fail2ban -u )
  44. Feb 14 13:25:01 indy-librenms CRON[16159]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  45. Feb 14 13:25:01 indy-librenms CRON[16160]: (librenms) CMD (   /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16)
  46. Feb 14 13:25:01 indy-librenms CRON[16161]: (librenms) CMD (   /opt/librenms/discovery.php -h new >> /dev/null 2>&1)
  47. Feb 14 13:25:01 indy-librenms CRON[16162]: (librenms) CMD (/opt/librenms/poll-billing.php >> /dev/null 2>&1)
  48. Feb 14 13:26:01 indy-librenms CRON[17720]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  49. Feb 14 13:27:01 indy-librenms CRON[17915]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  50. Feb 14 13:27:01 indy-librenms CRON[17916]: (root) CMD (root    /etc/snmp/fail2ban -u */3    *    *    *    *    root    /etc/snmp/fail2ban -u )
  51. Feb 14 13:28:01 indy-librenms CRON[17992]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
  52. root@indy-librenms:/opt/librenms# cat /etc/cron.d/librenms
  53. # Using this cron file requires an additional user on your system, please see install docs.
  54.  
  55. 33  */6   * * *   librenms    /opt/librenms/discovery.php -h all >> /dev/null 2>&1
  56. */5  *    * * *   librenms    /opt/librenms/discovery.php -h new >> /dev/null 2>&1
  57. */5  *    * * *   librenms    /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
  58. 15   0    * * *   librenms    /opt/librenms/daily.sh >> /dev/null 2>&1
  59. *    *    * * *   librenms    /opt/librenms/alerts.php >> /dev/null 2>&1
  60. */5 * * * * librenms /opt/librenms/poll-billing.php >> /dev/null 2>&1
  61. 01  * * * * librenms /opt/librenms/billing-calculate.php >> /dev/null 2>&1
  62. root@indy-librenms:/opt/librenms# ./validate.php
  63. ====================================
  64. Component | Version
  65. --------- | -------
  66. LibreNMS  | 1.48.1-52-g63de34e29
  67. DB Schema | 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
  68. PHP       | 7.2.15-1+0~20190209065123.16+stretch~1.gbp3ad8c0
  69. MySQL     | 10.0.32-MariaDB-0+deb8u1
  70. RRDTool   | 1.6.0
  71. SNMP      | NET-SNMP 5.7.3
  72. ====================================
  73.  
  74. [OK]    Composer Version: 1.8.4
  75. [OK]    Dependencies up-to-date.
  76. [OK]    Database connection successful
  77. [OK]    Database schema correct
  78. [FAIL]  Discovery has not completed in the last 24 hours.
  79.         [FIX]:
  80.         Check the cron job to make sure it is running and using discovery-wrapper.py
  81.