no 'rrdtool update' being called

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

Moderators: Developers, Moderators

Post Reply
ripienaar
Posts: 7
Joined: Fri Oct 24, 2003 7:59 am

no 'rrdtool update' being called

Post by ripienaar »

hello,

I've just upgraded from a pretty old cacti to the latest due to the security issues.

Most things seem to work on the surface, but in my log I see no calls to 'rrdtool update' and hence no updating of rra files.

From my logs:

07/05/2005 01:05:04 PM - CMDPHP: Poller[0] Host[2] DS[33] SNMP: v1: 192.168.76.5, dsname: mon1_mtTotal--5, oid: .1.3.6.1.4.1.2021.8.1.101.23, output: 179

So the snmp query does get data - 179 in this instance - but no rrdtool update anywhere in my log, at highest debug levels.

I've double checked permissions on all files, database is fine, graphs draw (empty graphs).

Any help would be appreciated.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Are you running poller.php?

Because, poller.php is the true poller. It is responsible for updating/creating the RRD files. It will call the configured poller, either cmd.php or cactid.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
ripienaar
Posts: 7
Joined: Fri Oct 24, 2003 7:59 am

Post by ripienaar »

rony wrote:Are you running poller.php?
Indeed I didn't notice this change from the old to the new, however I've done this and am getting the same results. Values being retrieved from SNMP, no rrdtool update calls.

thank you.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Ok, stop your poller from running, IE edit your cron and comment out the line.

Run the following query on your cacti database:

Code: Select all

delete from poller_output;
Then from the web interface, in "System Utilities" run "Clear Poller Cache". This will "rebuild", not really clear, the poller cache.

Re-enable you poller.

If it is updating the RRD files, you will see CACTI2RRD lines in the log files, when you have your "Poller Logging Level" set to "Debug".
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
ripienaar
Posts: 7
Joined: Fri Oct 24, 2003 7:59 am

Post by ripienaar »

rony wrote:Ok, stop your poller from running, IE edit your cron and comment out the line.
done.
rony wrote:Run the following query on your cacti database:

Code: Select all

delete from poller_output;
mysql> delete from poller_output;
Query OK, 19400 rows affected (0.00 sec)
rony wrote:Then from the web interface, in "System Utilities" run "Clear Poller Cache". This will "rebuild", not really clear, the poller cache.
check.
rony wrote:Re-enable you poller.
check.
rony wrote:If it is updating the RRD files, you will see CACTI2RRD lines in the log files, when you have your "Poller Logging Level" set to "Debug".
Thats working now! thank you so much, can you explain to me why this happened?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Normal issue when upgrading from a way older version.

I don't know why it's not mentioned in the documentation.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
ripienaar
Posts: 7
Joined: Fri Oct 24, 2003 7:59 am

Post by ripienaar »

hey,
rony wrote:Normal issue when upgrading from a way older version.

I don't know why it's not mentioned in the documentation.
Great, well thank you so much for your help, we have a big cacti with almost 300 graphs so I had some (understatement!) annoyed users, you saved the day :)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests