You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If MySQL / MariaDB uses a different timezone than the pollers or the main LibreNMS application does, Poller Cluster Health appears in red, as Last CheckIn time "exceeds" the allowed time (UTC -> UTC+2 = 2h exceed last checkin) , despite pollers are actually working and scanning devices properly.
Since MySQL uses NOW(), it will default to Database Timezone.
The problem
If MySQL / MariaDB uses a different timezone than the pollers or the main LibreNMS application does, Poller Cluster Health appears in red, as Last CheckIn time "exceeds" the allowed time (UTC -> UTC+2 = 2h exceed last checkin) , despite pollers are actually working and scanning devices properly.
Since MySQL uses
NOW()
, it will default to Database Timezone.librenms/LibreNMS/service.py
Lines 808 to 811 in eb65361
Both application and database should be comparing against UTC in order to solve this problem.
Use
UTC_TIMESTAMP()
function instead ofNOW()
.Output of ./validate.php
What was the last working version of LibreNMS?
No response
Anything in the logs that might be useful for us?
No response
The text was updated successfully, but these errors were encountered: