update daily wise not 5 minutes ..

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

Moderators: Developers, Moderators

Post Reply
isu_khan
Posts: 3
Joined: Thu Jan 05, 2006 5:55 am
Location: Karaci
Contact:

update daily wise not 5 minutes ..

Post by isu_khan »

Dear Cacti team
can u pelase guide me I need to get graph updated on 24 hours basis not every 5 minutes basis ?? can any body guide me how to do ??
Also another question .. I need to multiply by 20, the value in my current item ? also guide me for this CDEF ..
Regards
israr
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

CDEF=CURRENT_DATA_SOURCE,20,*
24h update:
- change step and heartbeat, see http://people.ee.ethz.ch/~oetiker/webto ... te.en.html
- define new rra's that define how long you want to keep those 24h data and how you want those to be consolidated. See some of my links in the signature and the rrdtool site
- make your poller run at 24h intervals
Search the forum for posts on this (but most times reduction of the polling interval was requested; but this works quite the same way)
Reinhard
isu_khan
Posts: 3
Joined: Thu Jan 05, 2006 5:55 am
Location: Karaci
Contact:

Post by isu_khan »

thanks for the reply. But i m not familir with RRD. can u please guide me which Step and Heart beat value should I use for the graph ?

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

Post by gandalf »

--step|-s step (default: 300 seconds)
Specifies the base interval in seconds with which data will be fed into the RRD.
So you should set this to 60 sec * 60 min * 24 h = 86400
heartbeat defines the maximum number of seconds that may pass between two updates of this data source before the value of the data source is assumed to be *UNKNOWN*.
As there may be a slight timeshift between daily updates, it is safe to set this to step * 1.5 = 129600. So you will have enough time to do the update and rrdtool will not assume a missing number (NaN).
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests