Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


where is the patch for the change the polling interval

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
ofirhason



Joined: 19 Sep 2005
Posts: 1

PostPosted: Mon Sep 19, 2005 6:01 am    Post subject: where is the patch for the change the polling interval Reply with quote

where is the patch for the change the polling interval
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Mon Sep 19, 2005 8:19 am    Post subject: Reply with quote

It is not posted.
Back to top
microthorne



Joined: 22 Sep 2005
Posts: 6

PostPosted: Fri Sep 23, 2005 4:12 pm    Post subject: Reply with quote

How can you change the polling interval? We are using Cacti to monitor resources while running performance tests. Five minutes intervals do not provide enough detail for analyzing the test environmentl. We would like to set the polling interval somewhere near every 15 seconds. Is this possible?
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Fri Sep 23, 2005 4:24 pm    Post subject: Reply with quote

The polling interval itself is defined by the cronjob. It defaults to 5 minutes but you may change this.
But this will not help a lot, until you change the data store as well. So you must have a look at the rrd's. There it is defined as the so called "Step" value. You'll find it if you look at a data template (Step defaults to 300 seconds which in turn reflects to 5 min polling interval). Until you do not have to change an existing rrd, you may change this value. But you will run into problems, as the default rra stores 600 values at the unconsolidated rra level. If you choose 15 sec interval, 600*15=150 min is all you will store at that detail. So you must change the rra as well (see "Data Sources" -> "RRA") or (better) create new rra's for your data sources.
If you want to store e.g. 6000 values at 15 sec interval, your rrd will grow in size.
Last: as far as I know, all this is "unsupported", but MAY work. Did not try that by myself; this is just a starting point. Please look at http://www.rrdtool.orgfor more details (e.g. the tutorials will help!)
Reinhard
Back to top
microthorne



Joined: 22 Sep 2005
Posts: 6

PostPosted: Fri Sep 23, 2005 5:05 pm    Post subject: Reply with quote

lvm wrote:
The polling interval itself is defined by the cronjob.


Running on windows. The shortest interval I can set in the Task Scheduler is 1 minute. I have created a new RRA. Does the poller task need to match the interval I have set in the RRA?
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Sat Sep 24, 2005 4:38 am    Post subject: Reply with quote

microthorne wrote:
Does the poller task need to match the interval I have set in the RRA?

No, not necessarily. But the finest data representation to be displayed is defined by the "step" definition of the rra. If this equals 300 sec., you will not be able to see variations of the data below that resolution, even if you poll every 60 sec.
Reinhard
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group