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'm using Cacti powered by Symetricore in AWS marketplace. Cacti is deployed in EC2 instance on AWS.
I have added my Cisco Routers CSR1000v which are deployed on AWS as well to Cacti server. The Cacti server could retrieve the SNMP information from the routers. After that, I added the interfaces that I'd like to have their graphs. However, after more than an hour I could not see anything in the graphs. Even though I have traffic going through my network nodes.
Please, find attached the graph debug mode of one of my routers and SNMP information.
2019/06/20 15:35:01 - POLLER: Poller[1] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '60' seconds, with a maximum of a '60' second Cron, but 301.0 seconds have passed since the last poll!
2019/06/20 15:35:03 - SYSTEM STATS: Time:1.2455 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:6 RRDsProcessed:3
2019/06/20 15:40:01 - POLLER: Poller[1] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '60' seconds, with a maximum of a '60' second Cron, but 300.4 seconds have passed since the last poll!
2019/06/20 15:40:02 - SYSTEM STATS: Time:1.2254 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:4 RRDsProcessed:2
2019/06/20 15:40:53 - ERROR PHP WARNING: sizeof(): Parameter must be an array or an object that implements Countable in file: /usr/share/cacti/site/lib/utility.php on line: 541
2019/06/20 15:35:01 - POLLER: Poller[1] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '60' seconds, with a maximum of a '60' second Cron, but 301.0 seconds have passed since the last poll!
2019/06/20 15:35:03 - SYSTEM STATS: Time:1.2455 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:6 RRDsProcessed:3
2019/06/20 15:40:01 - POLLER: Poller[1] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '60' seconds, with a maximum of a '60' second Cron, but 300.4 seconds have passed since the last poll!
2019/06/20 15:40:02 - SYSTEM STATS: Time:1.2254 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:4 RRDsProcessed:2
2019/06/20 15:40:53 - ERROR PHP WARNING: sizeof(): Parameter must be an array or an object that implements Countable in file: /usr/share/cacti/site/lib/utility.php on line: 541
It's working now!
Obviously, I had to change Poller Interval and Cron Interval time.
From your log, you do have polling enabled. It appears the cron interval is set to 300 seconds, but the data profile selected is set for 60 seconds. The cron is in /etc/cron.