.rrd file are not updating.
Moderators: Developers, Moderators
.rrd file are not updating.
i am using cacti-0.8.7e version.
i followed all the instructions given on the site
http://www.cacti.net/downloads/docs/html
i gave permission to my rra/ and log/ file.
waiting for reply.
i followed all the instructions given on the site
http://www.cacti.net/downloads/docs/html
i gave permission to my rra/ and log/ file.
waiting for reply.
see i checked those links . everything is okay.
but still the .rrd files are not updating. i set the cronjob and it's running i can see the output but it's not updating rrd files.
hey one more thing if fresh setup is there and first time when cronjob runs it's creating .rrd files but after that it's not updating those files.
there is no error in cacti.log file.
but still the .rrd files are not updating. i set the cronjob and it's running i can see the output but it's not updating rrd files.
hey one more thing if fresh setup is there and first time when cronjob runs it's creating .rrd files but after that it's not updating those files.
there is no error in cacti.log file.
this was my error, i was passing wrong date.when i am trying to update the .rrd file manually using rrdtool i am getting error:
ERROR: localhost_cpu_nice_8.rrd: expected timestamp not found in data source from ucd/net
now i am able to run this successfully.
but still i am not able to update .rrd files.
my logs are in debug mode bt with no errors.
i don't why .rrd files r not getting update.
i m printing my poller output heregandalf wrote:Pipe the poller output STDOUT and STDERR to e.g. poller.log. This should get you an idea of what is going on
R.
Code: Select all
02/11/2010 01:52:29 AM - POLLER: Poller[0] NOTE: Poller Int: '15', Cron Int: '60', Time Since Last: '957', Max Runtime '58', Poller Runs: '4'
02/11/2010 01:52:29 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '15' seconds, with a maximum of a '300' second Cron, but 957 seconds have passed since the last poll!
02/11/2010 01:52:29 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 0 0]
02/11/2010 01:52:29 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 1 1]
Waiting on 2/2 pollers.
02/11/2010 01:52:31 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.41' [map 1min->load_1min]
02/11/2010 01:52:31 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.14' [map 5min->load_5min]
02/11/2010 01:52:31 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.05' [map 10min->load_15min]
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_load_15min_12.rrd --template load_15min 1265871150:0.05
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_load_1min_11.rrd --template load_1min 1265871150:0.41
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_cpu_user_10.rrd --template cpu_user 1265871150:147610
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_cpu_system_9.rrd --template cpu_system 1265871150:92987
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_cpu_nice_8.rrd --template cpu_nice 1265871150:12589
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_proc_7.rrd --template proc 1265871150:68
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_users_6.rrd --template users 1265871150:2
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1265871150:0.41:0.14:0.05
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1265871150:917496
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1265871150:708024
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_load_5min_13.rrd --template load_5min 1265871150:0.14
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_mem_buffers_14.rrd --template mem_buffers 1265871150:183792
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_mem_cache_15.rrd --template mem_cache 1265871150:699912
02/11/2010 01:52:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/localhost_mem_free_16.rrd --template mem_free 1265871150:707768
02/11/2010 01:52:31 AM - SYSTEM STATS: Time:1.3346 Method:cmd.php Processes:10 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:14 RRDsProcessed:14
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
Loop Time is: 1.3378369808197
Sleep Time is: 13.660033226013
Total Time is: 1.3399667739868
02/11/2010 01:52:44 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 0 0]
02/11/2010 01:52:44 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 1 1]
Waiting on 2/2 pollers.
02/11/2010 01:52:46 AM - SYSTEM STATS: Time:1.2967 Method:cmd.php Processes:10 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:14 RRDsProcessed:0
Loop Time is: 1.2980530261993
Sleep Time is: 13.701946973801
Total Time is: 16.302430868149
02/11/2010 01:52:59 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 0 0]
02/11/2010 01:52:59 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 1 1]
Waiting on 2/2 pollers.
02/11/2010 01:53:01 AM - SYSTEM STATS: Time:1.3007 Method:cmd.php Processes:10 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:14 RRDsProcessed:0
Loop Time is: 1.3021249771118
Sleep Time is: 13.697875022888
Total Time is: 31.307307958603
02/11/2010 01:53:14 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 0 0]
02/11/2010 01:53:14 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 1 1]
Waiting on 2/2 pollers.
02/11/2010 01:53:16 AM - SYSTEM STATS: Time:1.3048 Method:cmd.php Processes:10 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:14 RRDsProcessed:0
Loop Time is: 1.3062281608582
Sleep Time is: 13.693771839142
Total Time is: 46.312263965607
Code: Select all
02/11/2010 01:52:29 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 0 0]
02/11/2010 01:52:29 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 1 1]
Waiting on 2/2 pollers.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
This shows, that cacti at least tries to update the rrd files. So please log in as "cactiuser" (the user that runs the poller from crontab) and run e.g. and see, what happens
R.
Code: Select all
/usr/bin/rrdtool update /usr/share/cacti/rra/localhost_load_15min_12.rrd --template load_15min N:0.05
R.
gandalf wrote:This shows, that cacti at least tries to update the rrd files. So please log in as "cactiuser" (the user that runs the poller from crontab) and run e.g.and see, what happensCode: Select all
/usr/bin/rrdtool update /usr/share/cacti/rra/localhost_load_15min_12.rrd --template load_15min N:0.05
R.
i already tried this..... but the result is same, not updating .rrd files.
Who is online
Users browsing this forum: No registered users and 1 guest