[OK] Dependencies up-to-date.
[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]
[OK] Database schema correct
[OK] MySQl and PHP time match
**[FAIL] No active polling method detected**
[OK] Dispatcher Service not detected
[OK] Locks are functional
**[FAIL] No active python wrapper pollers found**
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached
librenms@zabbix1:~$ /etc/cron.d/librenms.cron
/etc/cron.d/librenms.cron: line 3: 33: command not found
/etc/cron.d/librenms.cron: line 5: */5: No such file or directory
librenms@zabbix1:~$ cat /etc/cron.d/librenms.cron
#using this cron file requires an additional user on your system, please see install docs.
If I run librenms /opt/librenms/cronic /opt/librenms/discovery-wrapper.py 1 and librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16 these two commands manually they run fine, but from librenms.cron file they end upfail
I have the same problem, the cron file is original, someone help to correct this error please!
librenms@ubuntu:~$ ./daily.sh
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Caching Mac OUI data OK
librenms@ubuntu:~$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 22.12.0-16-g437479382 (2023-01-12T09:13:08+01:00)
DB Schema | 2022_08_15_084507_add_rrd_type_to_wireless_sensors_table (248)
PHP | 8.1.10
Python | 3.10.6
Database | MariaDB 10.6.11-MariaDB-0ubuntu0.22.04.1
RRDTool | 1.7.2
SNMP | 5.9.1
===========================================
[OK] Composer Version: 2.5.1
[OK] Dependencies up-to-date.
[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]
[OK] Database schema correct
[OK] MySQl and PHP time match
[FAIL] No active polling method detected
[OK] Dispatcher Service not detected
[OK] Locks are functional
[FAIL] No active python wrapper pollers found
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached
I do run following command to solve the “No active polling method detected” issue. Please try it.
/opt/librenms/chronic /opt/librenms/poller-wrapper.py 16