Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I am new to Cacti and need some help.
I had some issues with cmd.php poller and decided to switch to the spine without knowing which one is better.
Now I get in cacti.log warnings like this:
POLLER: Poller[Main Poller] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 310.0 seconds have passed since the last poll!
Does the spine poller use the same cron job as cmd.php?
The fact that 10 seconds later than asked the poller is kicking in, is an OS level issue and could be symptomatic that you don't have enough compute resource. The warning merely lets you know that outside of a few seconds, it's considered a problem if the poller is not run on time.
We don't control cron, that is an os level item. You may want to google "why is my cron delayed" or something like that to see if you can find answers about it.
netniV is correct. I've seen cron get sloppy especially under high load. For the times it did not trigger properly, check the cron log in /var/log, and see if it started at the right time. Another case would be that it started at the right time, but something blocked the php script from loading in a timely fashion. This might happen under very high I/O load, where something like boost is not being used and the php files that needed to be loaded could not be accessed due to I/O contention. The best solution for that would be to put your RRDfiles on separate disk, or just to timply use SSD or Flash/NVMe. Both NVMe and PCIe flash are always super fast, and cheap these days.
True understanding begins only when we realize how little we truly understand...