How to change the interval in 0.8.2 ...

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

Moderators: Developers, Moderators

Post Reply
luhma
Posts: 1
Joined: Tue Jul 22, 2003 9:29 am

How to change the interval in 0.8.2 ...

Post by luhma »

Hi folks,

i need to change the display average from 5 minutes to 1 minute...
i found an entry in the forum, but unfortunately my Version seems
to be very different... At least I'm not able to find the parameters
given there...

Has someone done this before? Does it even make sense? I just feel
the amount of traffic will fake the result of my interface checks...

best regards in advance,
Luhma

:roll:
ranc0r
Posts: 9
Joined: Fri Nov 15, 2002 7:42 pm

Post by ranc0r »

I too have made some attemps to change the default step in cacti, and have had mixed results.

First, keep in mind the default php poller is not very fast. If you are monitoring alot of devices 1 minute will not be enough to poll them all.

Second, you will need to change the default RRAs that match the steps you want to create. The best place to find how to do this is the RRD tutorial on rrdtool.org.

Third, you will need to change the default step and heartbeat in the data templates. The easiest way to do this is from mysql. You would make the following changes:

Code: Select all

UPDATE data_template_data SET rrd_step=60 WHERE rrd_step=300;
UPDATE data_template_rrd SET rrd_heartbeat=120 WHERE rrd_heartbeat=600;
Fourth, you will need to change your cron job to run every minute.

Like I mentioned, I haven't been able to get Cacti working with a nondefault step. The biggest problem I had was that there were obvious differences between the graph previews and the graphs themselves. That left my boss a little confused :)

good luck.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests