RRDs only updated in irregular intervals

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
yellowpaper
Posts: 9
Joined: Wed Dec 14, 2011 6:38 am

RRDs only updated in irregular intervals

Post by yellowpaper »

Hello,

for quite some time now the poller seems to work incorrect, seemingly inserting data as he wants to, which looks like that:
Image

After that I checked my log which is giving me following results:

Code: Select all

08/02/2012 01:07:05 PM - SYSTEM STATS: Time:123.3111 Method:cmd.php Processes:1 Threads:N/A Hosts:16 HostsPerProcess:16 DataSources:23 RRDsProcessed:38
08/02/2012 01:07:05 PM - SYSTEM STATS: Time:123.3114 Method:cmd.php Processes:1 Threads:N/A Hosts:16 HostsPerProcess:16 DataSources:23 RRDsProcessed:37
08/02/2012 01:11:18 PM - SYSTEM STATS: Time:76.4885 Method:cmd.php Processes:1 Threads:N/A Hosts:16 HostsPerProcess:16 DataSources:23 RRDsProcessed:23
08/02/2012 01:16:20 PM - SYSTEM STATS: Time:78.7223 Method:cmd.php Processes:1 Threads:N/A Hosts:16 HostsPerProcess:16 DataSources:23 RRDsProcessed:23
08/02/2012 01:21:59 PM - SYSTEM STATS: Time:117.9412 Method:cmd.php Processes:1 Threads:N/A Hosts:16 HostsPerProcess:16 DataSources:23 RRDsProcessed:36
08/02/2012 01:21:59 PM - SYSTEM STATS: Time:117.9418 Method:cmd.php Processes:1 Threads:N/A Hosts:16 HostsPerProcess:16 DataSources:23 RRDsProcessed:37
It's not saying that i was an error or a warning, but it clearly states that its processing a different amount of RRDs from poll to poll but doesnt tell me why. Before I dig into the php code myself I wanted to ask if someone knows what could possibly cause this problem. Btw. I upgraded to 0.8.7i with PIA.

Greetings,

yellowpaper
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: RRDs only updated in irregular intervals

Post by paulgevers »

Code: Select all

08/02/2012 01:07:05 PM
08/02/2012 01:07:05 PM
08/02/2012 01:21:59 PM
08/02/2012 01:21:59 PM
You seem to have multiple crons running.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
yellowpaper
Posts: 9
Joined: Wed Dec 14, 2011 6:38 am

Re: RRDs only updated in irregular intervals

Post by yellowpaper »

Yep, that has been it. Thanks!
stigia
Posts: 8
Joined: Fri Aug 03, 2012 11:24 am

Re: RRDs only updated in irregular intervals

Post by stigia »

hi , i have this same problem with graphics... i first look if i have another cron running but that not the case... i had post i another part of forum o if you don't mind i will post the link here for you to see it

Clik me for help me >.<
yellowpaper
Posts: 9
Joined: Wed Dec 14, 2011 6:38 am

Re: RRDs only updated in irregular intervals

Post by yellowpaper »

This looks very similar to my problem and your messages actually indicate that you are having 2 crons. Try using this to make sure:

Code: Select all

 grep "poller.php" /etc/cron* -R
stigia
Posts: 8
Joined: Fri Aug 03, 2012 11:24 am

Re: RRDs only updated in irregular intervals

Post by stigia »

yellowpaper wrote:This looks very similar to my problem and your messages actually indicate that you are having 2 crons. Try using this to make sure:

Code: Select all

 grep "poller.php" /etc/cron* -R
i didn't get it at first time when you talk about 2 crons. but finally i look over the crontab file and ia had 2 different users, trying to poll at same time so i delete one of them and let work cacti all nite. i just checked and it works perfectly. i will conduct test by all day and let you now if something is wrong. ty for help ^.^
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests