Issue with new instalation

Hi, I have an issue with a new librenms instalation, when I add devices they dont show the all the data, but in the old instalation it does.
The output of validate.php shows 2 errors, but I haven`t found any solutions.
./validate.php ?

Component Version
LibreNMS 22.7.0-46-g36e7a7793
DB Schema 2022_07_19_081224_plugins_unique_index (244)
PHP 8.1.9
Python 3.6.8
Database MariaDB 10.3.32-MariaDB
RRDTool 1.7.0
SNMP 5.8
====================================

[OK] Composer Version: 2.3.10
[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] Python wrapper cron entry is not present
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached

The only difference in the installation is that I change the installation directory from /opt/librenms to /data/librenms

Can you help me out with this, thanks

Old installation

New installation

Hello,

I just installed on ubuntu 22.04 and the error you put appeared, after adding a host the ./validate.php appears without errors.

I took no action other than a capture on the device I added.

I was able to solve it, there was an error in the cron file, it referred to /opt which is the default installation directory, I changed it to /data which is the directory I used and it was solved

Hi all,

My issue

I have the same issue (FAILS in validation)
but I have a standard installation (I haven’t changed the installation directory) with Ubuntu 22.04.1 LTS.

As you see below I have the same FAILs in my validation:

  • [FAIL] No active polling method detected
  • [FAIL] No python wrapper pollers found

LibreNMS is running since 16 hours, I have one device added manually, I also tried to reboot.

Thank you for your help
Hope this can help somebody else.

Here is my setup:

librenms@**********:~$ ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS  | 22.7.0-58-g83126161d
DB Schema | 2022_07_19_081224_plugins_unique_index (244)
PHP       | 8.1.8
Python    | 3.10.4
Database  | MariaDB 10.6.7-MariaDB-2ubuntu1.1
RRDTool   | 1.7.2
SNMP      | 5.9.1
====================================

[OK]    Composer Version: 2.3.10
[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 python wrapper pollers found           <----------------------------
[OK]    Redis is unavailable
[OK]    rrd_dir is writable
[OK]    rrdtool version ok
librenms@*********:~$


librenms@*********:~$ vim /etc/cron.d/librenms
# 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

Thank you

Hi all,

I found the cron command was not installed in my Ubuntu.

After the installation of cron after some minutes (more or less 10 min, probably the first use of cron, sorry if I am not precise) the validation is ok.

Hope this can help.

I have this same issue with the python wrapper cron entry not present.

Cron is installed, i did not change directories though

Cron file

Hi community,

I have exactly the same issue, I use the latest docker image of LibreNMS, version 22.8.0.

  • [FAIL] No active polling method detected
  • [FAIL] No python wrapper pollers found
/opt/librenms $ ./validate.php 
====================================
Component | Version
--------- | -------
LibreNMS  | 22.8.0
DB Schema | 2022_07_19_081224_plugins_unique_index (244)
PHP       | 8.0.22
Python    | 3.10.5
Database  | MariaDB 10.5.16-MariaDB-1:10.5.16+maria~focal
RRDTool   | 1.7.2
SNMP      | 5.9.3
====================================

[OK]    Installed from the official Docker image; no Composer required
[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 python wrapper pollers found
[OK]    Redis is functional
[WARN]  IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[OK]    rrd_dir is writable
[OK]    rrdtool version ok
[WARN]  Updates are managed through the official Docker image
/opt/librenms $ 

I can add devices in LibreNMS WebUI but they are not polled.

I installed LibreNMS using the official docker compose file :

Kindly please help ! :slightly_smiling_face:

So this on another thread this might help

/opt/librenms/.env

DB_SOCKET=/var/run/mysqld/mysqld.sock

/opt/librenms/config.php

$config[‘db_socket’] = ‘/var/run/mysqld/mysqld.sock’;

Make sure you are on the latest image, there was an issue with some 22.8.0 builds.

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