No active polling method detected / No active python wrapper pollers found

I followed the install instructions (I think) and have looked at the related messages here, but haven’t found a solution. Here’s the output from validate:

===========================================
Component | Version
--------- | -------
LibreNMS  | 23.2.0-3-gc0fd1e15e (2023-02-24T06:10:10-06:00)
DB Schema | 2022_09_03_091314_update_ports_adsl_table_with_defaults (248)
PHP       | 8.1.2-1ubuntu2.10
Python    | 3.10.6
Database  | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.1
===========================================

[OK]    Composer Version: 2.5.4
[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]    Database and column collations are correct
[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]    rrd_dir is writable
[OK]    rrdtool version ok

Here’s /etc/cron.d/librenms. I can run each of the jobs by themselves as the librenms user.

# Using this cron file requires an additional user on your system, please see install docs.

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
*    *    * * *   librenms    cd /opt/librenms/ && php artisan schedule:run >> /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

Does the owner on /etc/cron.d/librenms need to be changed? There’s no mention of that in the install instructions. Or does something need to be installed? This install was on a clean Ubunutu 22.04 VM created specifically for this.

is cron service running ? can check service status

systemctl status cron.service

1 Like

Ah… that was it. My template for this VM didn’t include cron for some reason. Installing it got things working. Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.