Followed Doc Steps But Cron Now Failing

My cron didn’t use to fail maybe this is related to some update?

I am not on this server that much so please let me know… does librenms update itself?

I see that I am running in about:

Version 1.33-186-ge308287 - Thu Nov 30 2017 17:51:20 GMT-0500
DB Schema #217
Web Server Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/7.0.20
PHP 7.0.20
MySQL 5.5.52-MariaDB
RRDtool 1.4.8

My validate.php is…

====================================

Component Version
LibreNMS 1.33-186-ge308287
DB Schema 217
PHP 7.0.20
MySQL 5.5.52-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Database connection successful
[OK] Database schema correct
[FAIL] The poller (hostname) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (hostname.fqdn) has not completed within the last 5 minutes, check the cron job.
[WARN] Some devices have not been polled in the last 5 minutes. You may have performance issues.
[FIX] Check your poll log and see: http://docs.librenms.org/Support/Performance/
Devices:
10.x.x.101
[FAIL] Some devices have not completed their polling run in 5 minutes, this will create gaps in data.
[FIX] Check your poll log and see: http://docs.librenms.org/Support/Performance/
Devices:
10.x.x.101

==================================

  1. I don’t understand why cron is now failing. I followed steps here: https://docs.librenms.org/#Installation/Installation-CentOS-7-Apache/#cron-job

Is anything supposed to show up in crontab? Because I noticed that it says there are no crontabs for users root or librenms.

  1. I don’t know why I have two pollers for one server… one is just hostname of the server and the other poller is the FQDN of same server.

  2. Not sure why this device is saying polling isn’t complete. I can see it in the GUI.

UPDATE:

I had manually ran discover.php earlier.

I checked validate.php again and now it says…

====================================

Component Version
LibreNMS 1.33-186-ge308287
DB Schema 217
PHP 7.0.20
MySQL 5.5.52-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Database connection successful
[OK] Database schema correct
[FAIL] The poller (hostname.fqdn) has not completed within the last 5 minutes, check the cron job.

1 Like

Check in the Web UI Settings → Pollers

So should I just delete the second one? It’s both the same server. One is just using the fqdn and the other is not.

If you only have one poller and you not doing distributed polling then Yes.

I deleted it and everything is fine now. Thanks!