I’m getting the following errors when validating
[FAIL] Poller is not running. No poller has run within the last 300 seconds.
[FAIL] Python wrapper cron entry is not present
librenms@librenms:~$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 24.8.0-61-gf1e7a218f (2024-09-09T09:48:07-07:00)
DB Schema | 2024_08_27_182000_ports_statistics_table_rev_length (299)
PHP | 8.1.2-1ubuntu2.18
Python | 3.10.12
Database | MariaDB 10.6.18-MariaDB-0ubuntu0.22.04.1
RRDTool | 1.7.2
SNMP | 5.9.1
===========================================
[OK] Composer Version: 2.7.9
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[FAIL] Poller is not running. No poller has run within the last 300 seconds.
[OK] Dispatcher Service not detected
[OK] Locks are functional
**[FAIL] Python wrapper cron entry is not present**
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
librenms@librenms:~$ ./discovery.php -h HOSTNAME -d | ./pbin.sh
Paste endpoint: https://p.libren.ms/api/create
title:
name: librenms
private: 1
expire: 0
https://p.libren.ms/view/f12c0240
librenms@librenms:~$ ./poller.php -h HOSTNAME -r -f -d | ./pbin.sh
Paste endpoint: https://p.libren.ms/api/create
title:
name: librenms
private: 1
expire: 0
https://p.libren.ms/view/65637e70
my /etc/cron.d/librenms file
33 */6 * * * librenms /opt/librenms/cronic /opt/librenms/discovery-wrapper.py 1
*/5 * * * * librenms /opt/librenms/discovery.php -h new >> /dev/null 2>&1
*/5 * * * * librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
* * * * * 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
# Daily maintenance script. DO NOT DISABLE!
# If you want to modify updates:
# Switch to monthly stable release: https://docs.librenms.org/General/Releases/
# Disable updates: https://docs.librenms.org/General/Updating/
19 0 * * * librenms /opt/librenms/daily.sh >> /dev/null 2>&1
As we can see here the librenms-scheduler is running every minute.
librenms@librenms:~$ service librenms-scheduler status
* librenms-scheduler.service - LibreNMS Scheduler
Loaded: loaded (/etc/systemd/system/librenms-scheduler.service; static)
Active: inactive (dead) since Mon 2024-09-09 20:22:01 PDT; 19s ago
TriggeredBy: * librenms-scheduler.timer
Process: 19076 ExecStart=/usr/bin/env php artisan schedule:run --no-ansi --no-interaction (code=exited, status=0/>
Main PID: 19076 (code=exited, status=0/SUCCESS)
I’m at a lost at why it’s not seeing the Python wrapper cron entries.