From Jerry Lin, 4 Years ago, written in Plain Text.
Embed
  1. =======
  2. Validate.php
  3. =======
  4.  
  5. ====================================
  6. Component | Version
  7. --------- | -------
  8. LibreNMS  | 1.60-17-gc2dfe7b21
  9. DB Schema | 2020_02_05_224042_device_inserted_null (158)
  10. PHP       | 7.2.11
  11. MySQL     | 10.3.17-MariaDB
  12. RRDTool   | 1.7.0
  13. SNMP      | NET-SNMP 5.8
  14. ====================================
  15.  
  16. [OK]    Composer Version: 1.9.3
  17. [OK]    Dependencies up-to-date.
  18. [OK]    Database connection successful
  19. [OK]    Database schema correct
  20. [FAIL]  The poller has never run or you are not using poller-wrapper.py, check the cron job.
  21. [WARN]  Some devices have not been polled in the last 5 minutes. You may have performance issues.
  22.         [FIX]:
  23.         Check your poll log and see: http://docs.librenms.org/Support/Performance/
  24.         Devices:
  25.          a-core00.example.com
  26.          192.168.110.17
  27.          a-wlc00.example.com
  28.          192.168.110.25
  29.          a-1f01.example.com
  30.          a-1f00.example.com
  31.          a-3f00.example.com
  32.          a-2f00.example.com
  33.          192.168.110.91
  34.          192.168.110.92
  35.          192.168.110.94
  36.          192.168.110.93
  37.          192.168.110.96
  38.          a-4f00.example.com
  39.          192.168.110.129
  40.           and 110 more...
  41. [WARN]  IPv6 is disabled on your server, you will not be able to add IPv6 devices.
  42. [FAIL]  Some folders have incorrect file permissions, this may cause issues.
  43.         [FIX]:
  44.         sudo chown -R librenms:librenms /opt/librenms
  45.         sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
  46.         sudo chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
  47.         Files:
  48.          /opt/librenms/bootstrap/cache/services.php
  49. =======
  50. Mail
  51. =======
  52. From librenms@nms01.example.com  Sun Feb  9 21:15:04 2020
  53. Return-Path: <librenms>
  54. X-Original-To: librenms
  55. Delivered-To: librenms@nms01.example.com
  56. From: "(Cron Daemon)" <librenms>
  57. To: librenms@nms01.example.com
  58. Subject: Cron <librenms>    /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
  59. Content-Type: text/plain; charset=UTF-8
  60. Auto-Submitted: auto-generated
  61. Precedence: bulk
  62. X-Cron-Env: <XDG SESSION_ID=6060>
  63. X-Cron-Env: <XDG RUNTIME_DIR=/run/user/499>
  64. X-Cron-Env: <DBUS SESSION_BUS_ADDRESS=unix:path>
  65. X-Cron-Env: <LANG>
  66. X-Cron-Env: <SHELL>
  67. X-Cron-Env: <HOME>
  68. X-Cron-Env: <PATH>
  69. X-Cron-Env: <LOGNAME>
  70. X-Cron-Env: <USER>
  71. Date: Sun,  9 Feb 2020 21:15:04 -0600 (CST)
  72. Status: R
  73.  
  74. Cronic detected failure or error output for the command:
  75. /opt/librenms/poller-wrapper.py 16
  76.  
  77. RESULT CODE: 2
  78.  
  79. ERROR OUTPUT:
  80.  
  81. STANDARD OUTPUT:
  82. ERROR: missing the mysql python module:
  83. On ubuntu: apt-get install python-mysqldb
  84. On FreeBSD: cd /usr/ports/*/py-MySQLdb && make install clean
  85.  
  86.