I’ve been using LibreNMS since January 2022, I’m pretty sure it was working last week, for sure the week before (so sometime in July 2022), but today the “All Ports” feature shows no data.
The output of ./validate.php
librenms@vm-libreNMS:~$ ./validate.php
Component
Version
LibreNMS
22.7.0-46-g36e7a7793
DB Schema
2022_07_03_1947_add_app_data (244)
PHP
8.1.8
Python
3.8.10
Database
MariaDB 10.3.34-MariaDB-0ubuntu0.20.04.1
RRDTool
1.7.2
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] Both Dispatcher Service and Python Wrapper were active recently, this could cause double pollig
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
If you are having troubles with discovery/polling include the pastebin output of:
I was fiddling with the Gear…Global Settings … Poller, I swear I selected Distributed Poller and set the Default Poller Group = General and rebooted, and it cleared the Poller issues but the All Ports data didnt reappear. Then later, the Validate shows the problem again …“FAIL: Both Dispatcher Service and Python Wrapper were active recently, this could cause double polling”.
And below, the OK in green shows that the “Dispatcher Service is enabled” and “Python poller wrapper is polling”
I ended up editing the cron file on my install and commenting out most of the cron entries per this link Dispatcher Service (RC) - LibreNMS Docs. This isn’t very clearly documented though.
At this point I no longer have the both dispatcher service and Python Wrapper service running. My python Wrapper no longer shows as running. We’ll see in some number of hours if discovery and everything else still works properly.
In addition, I have also stopped the librenms service but I still get the following message “[FAIL] Both Dispatcher Service and Python Wrapper were active recently, this could cause double polling”, when I run ./validate.php
Is it necessary to make any further configuration?