Hi Guys,
Afrer all my Librenms were updated to 1.33, I’m getting the following error on all systems when I run ./validate.php
[FAIL] The poller (ty6-librenms01.pan.local
) has not complete within the last 5 minutes, check the cron job
Hi Guys,
Afrer all my Librenms were updated to 1.33, I’m getting the following error on all systems when I run ./validate.php
[FAIL] The poller (ty6-librenms01.pan.local
) has not complete within the last 5 minutes, check the cron job
Same issue here, after the latest update I receive a poller error but the polling is working fine:
sh-4.2# ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.33
DB Schema | 213
PHP | 7.0.23
MySQL | 5.5.56-MariaDB
RRDTool | 1.4.8
SNMP | NET-SNMP 5.7.2
====================================
[OK] Database connection successful
[OK] Database schema correct
[FAIL] The poller (librenms.domain.tld
) has not complete within the last 5 minutes, check the cron job
Noticed that I’ve 2 pollers in the DB since this version like @amaizenshtein, one has a “return” at the end of the line.
There are now duplicate poller entries and one of them has a line return at the end. The schema file 212.sql was supposed to fix that, but it seems to have not in some cases (perhaps a timing issue).
New validation to fix the false positive and report the duplicates is pending.
Safe for production use? Code seems complex.
Can the old entry be deleted manually from the DB?
@FTBZ yes, this is only a change in the validation. It is actually a small change, but looks bigger because the code is re-organized a bit.
It is safe to delete all entries from the pollers table, they will be re-populated next poller run.
Component | Version |
---|---|
LibreNMS | 1.33-18-g1dfcde3 |
DB Schema | 215 |
PHP | 7.0.22 |
MySQL | 5.6.30 |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Database connection successful
[OK] Database schema correct
There was an issue of double pooler, I see it got fixed on 1.33-18-g1dfcde3