Polling has stopped

Tags: #<Tag:0x00007f84a2ed9198>

Hi Guys

My poller has stopped working yesterday at 17:00
I added an entry to the /etc/cron.d/librenms file as “root” which I think is the issue (I know my mistake)

I have now removed that entry but cant figure out the issue and how to get it backup and running

[email protected]:~$ ./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
[email protected]:~$

[email protected]:~$ ./validate.php

Component Version
LibreNMS 1.70.1-52-g4ba095853
DB Schema 2020_10_12_095504_mempools_add_oids (191)
PHP 7.4.3
Python 3.8.5
MySQL 10.3.25-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2


[OK] Composer Version: 2.0.8
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[email protected]:~$

Any help would be great if you are able to point me in the correct direction

Thanks in advance

If I run

/opt/librenms/cronic /opt/librenms/discovery-wrapper.py 1

as the libre user i get the below

Traceback (most recent call last):
File “/opt/librenms/discovery-wrapper.py”, line 185, in
logger = LNMS.logger_get_logger(LOG_FILE, debug=_DEBUG)
File “/opt/librenms/LibreNMS/library.py”, line 84, in logger_get_logger
file_handler, err_output = logger_get_file_handler(log_file)
TypeError: cannot unpack non-iterable bool object

Cannot create logfile. Trying to obtain temporary log file.
Message: [Errno 2] No such file or directory: ‘/etc/cron.d/logs/discovery_wrapper.log’
Trying temporary log file in /tmp/LibreNMS.library.log
Cannot create temporary log file either. Will not log to file. Message: [Errno 13] Permission denied: ‘/tmp/LibreNMS.library.log’

Delete /tmp/LibreNMS.library.log

Check /opt/librenms/ for files owned by root and chown them to librenms

Thanks Jellyfrog

I have Deleted /tmp/LibreNMS.library.log and check all the files in /opt/librenms/ and they all belong to librenms

As a check I have run /opt/librenms/cronic /opt/librenms/discovery-wrapper.py 1 and I can see in the gui that the poller is green and running so it looks good

thanks again

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