rrd file stop be updated.

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

Moderators: Developers, Moderators

Post Reply
mjjzr
Posts: 8
Joined: Mon Oct 10, 2005 4:23 am

rrd file stop be updated.

Post by mjjzr »

after some time of use, the cacti works well, and last Friday, I shutdown some of the servers for maintain break, and after I restarted the servers,
I noticed that, my cacti can't update the rrd files any more.
all the rrd file's time stamp are still last week.
and I try to find some clues from the cacti log, but nothing special.

could any one give me some advice ?
cacti version is 0.8.6d
thanks.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please check the timestamps.
Goto Settings and select Logging Level = DEBUG. The find a rrdtool update statement in the cacti.log. Copy this to command line and execute from there to see any possible update errors
Reinhard
mjjzr
Posts: 8
Joined: Mon Oct 10, 2005 4:23 am

Post by mjjzr »

lvm wrote:Please check the timestamps.
Goto Settings and select Logging Level = DEBUG. The find a rrdtool update statement in the cacti.log. Copy this to command line and execute from there to see any possible update errors
Reinhard
Hi Lvm
thanks for your advice.
I've tried by command:
cat ./cacti.log |grep -i rrdtool
but no matched lines .and also I have take a look in the file,and no rrdtool have been invoked. 8-(
any other comments ?
BTW:
I've just upgrade the cacti to 0.86h and rrdtool to 1.2.12
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Did you set DEBUG mode? This is required for getting rrdtool statements logged in cacti.log
Reinhard
mjjzr
Posts: 8
Joined: Mon Oct 10, 2005 4:23 am

Post by mjjzr »

lvm wrote:Did you set DEBUG mode? This is required for getting rrdtool statements logged in cacti.log
Reinhard
Hi lvm
I've got the log ,and it's looks llike this:

Code: Select all

01/23/2006 06:04:12 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (772,'traffic_in','2006-01-23 18:03:39','3205155578')"
01/23/2006 06:04:12 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (773,'traffic_in','2006-01-23 18:03:39','3205155668')"
01/23/2006 06:04:12 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (773,'traffic_out','2006-01-23 18:03:39','218307295')"
and also some like this :

Code: Select all

01/23/2006 06:03:40 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select  poller_output.output,  poller_output.time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
but no message about rrdtool being invoked, and still the rrd file not be updated , and I've try to create a new graph ,and also the new rrd file have not being created.

I've upgrade the cacti to 0.86h with the 4 patch, but still not work. 8-(

many thanks if any clues.

Br
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The first code snippet shows clearly, that data is retrieved and stored in mysql (intermediately). But wait, you told us
mjjzr wrote:BTW:
I've just upgrade the cacti to 0.86h and rrdtool to 1.2.12
Did you remember to tell cacti about the /new/path/to/the/rrd/binary (see Settings->Path)?
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests