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.
no 'rrdtool update' being called
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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.
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]
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Ok, stop your poller from running, IE edit your cron and comment out the line.
Run the following query on your cacti database:
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".
Run the following query on your cacti database:
Code: Select all
delete from poller_output;
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]
[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]
done.rony wrote:Ok, stop your poller from running, IE edit your cron and comment out the line.
mysql> delete from poller_output;rony wrote:Run the following query on your cacti database:Code: Select all
delete from poller_output;
Query OK, 19400 rows affected (0.00 sec)
check.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.
Thats working now! thank you so much, can you explain to me why this happened?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".
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Normal issue when upgrading from a way older version.
I don't know why it's not mentioned in the documentation.
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]
[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]
Who is online
Users browsing this forum: No registered users and 2 guests