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    


15 minute polling interval?

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
jcotton



Joined: 27 Jun 2005
Posts: 25

PostPosted: Thu Jul 24, 2008 3:26 pm    Post subject: 15 minute polling interval? Reply with quote

Can anyone provide instructions for configuring Cacti for 15 minute polling? This would be across all devices. Several threads have been started requesting this information, but none were responded to. Any help would be greatly appreciated.
Justin
Back to top
TheWitness
Developer


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

PostPosted: Thu Jul 24, 2008 11:03 pm    Post subject: Reply with quote

Whoops, well, I have been a way for a while. The way that you accomplish a 15 minute poller interval is to keep your System Poller Interval at 5 minutes and your cron also at 5 minutes. Then, you edit each data template that you want to have a 15 minute poller interval and set the STEP to 900 seconds. You might also want to increase the heartbeat to something like 1800 seconds.

Once this is done, you can create graphs and the poller interval will be 15 minutes. Now, keep in mind that any graphs that were created using the old 5 minute interval will have to be deleted and recreated using the modified template.

I hope that helps.

TheWitness
Back to top
jcotton



Joined: 27 Jun 2005
Posts: 25

PostPosted: Fri Jul 25, 2008 5:35 pm    Post subject: Reply with quote

Thank you Sir!
Back to top
opornik



Joined: 13 Apr 2006
Posts: 11
Location: Poland/Warsaw

PostPosted: Fri Aug 01, 2008 6:51 am    Post subject: Reply with quote

Hi,
I have the same problem. I would like the poller to run every 15 or even 30 minutes. But the difference to above posts is that my poller runtime exceeds 300 seconds. Now it is about 350 sec.

How to manage this?

My configuration is based on running perl scripts parsing text files. There is no SNMP involved. Now I have over 5600 data sources so the polling is so long, even using 2 spine processes with 3 threads each (I tried different configurations but with worse results).

Meanwhile I set cron to 30 minutes interval and modified poller.php file and change the line that kills poller when running over 298 seconds.
But maybe there is some better way? Now I get many warnings about not 5 minutes intervals.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group