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    


RELEASED: < 1 Minute to 5 Minute Polling Interval Patch
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Announcements
Author Message
TheWitness
Developer


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

PostPosted: Mon Aug 13, 2007 11:52 am    Post subject: Reply with quote

What poller are your using? What is your operating system for the poller? You may have to simply wait for 0.8.6k to obtain this functionality.

TheWitness
Back to top
carmodyquinn



Joined: 09 Aug 2007
Posts: 3

PostPosted: Mon Aug 13, 2007 1:13 pm    Post subject: RELEASED: < 1 Minute to 5 Minute Polling Interval Patch Reply with quote

Wow- thanks for the quick response - here is what I'm using:

cacti-0.8.6j
solaris 10u3 (aka 5.10)
net-snmp 5.0.9
rrd 1.2.19
php 5.2.3

If you can point me to the areas in the code where this is getting initialized then maybe I can figure something out?
Back to top
TheWitness
Developer


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

PostPosted: Mon Aug 13, 2007 1:23 pm    Post subject: Reply with quote

No plugin architecture?

TheWitness
Back to top
carmodyquinn



Joined: 09 Aug 2007
Posts: 3

PostPosted: Mon Aug 13, 2007 8:30 pm    Post subject: RELEASED: < 1 Minute to 5 Minute Polling Interval Patch Reply with quote

No plugins - was this suppose to be against a specific plugin?
Back to top
TheWitness
Developer


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

PostPosted: Mon Aug 13, 2007 8:34 pm    Post subject: Reply with quote

Then, simply apply the files, become familiar with the Documentation provided, and create your data templates.

TheWitness
Back to top
ashfieldm



Joined: 11 Oct 2005
Posts: 25

PostPosted: Wed Sep 19, 2007 11:51 am    Post subject: Reply with quote

Sorry, i'm coming into this late and finding the 9-page thread a bit confusing.

I want to be able to do 30 second polling. I'm running 0.8.6g cacti.

What in brief (i can figure out the docs) do I need to download to make this happen?

Thanks!
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5453
Location: Wisconsin, USA

PostPosted: Wed Sep 19, 2007 12:00 pm    Post subject: Reply with quote

You need to download 0.8.7 in October when it's released..
Back to top
ashfieldm



Joined: 11 Oct 2005
Posts: 25

PostPosted: Wed Sep 19, 2007 12:05 pm    Post subject: Reply with quote

Does that have the 30 second polling built-in?
Back to top
zeki



Joined: 09 Feb 2007
Posts: 47

PostPosted: Fri Sep 28, 2007 6:08 pm    Post subject: Reply with quote

i followed the instructions on page 7 to setup the 10 sec poller and once traffic exceeds 800mb it stops graphing, creating a big gap in my graph. i am using 64-bit graphing.
did i mess up somewhere in the settings that doesn't allow it to graph over 800mb?
i'll also attach a graph of the problem
TIA

edit: i think i found the answer here http://forums.cacti.net/viewtopic.php?t=21917&highlight=800mb
gonna try this then report back

update: i tried the method in the link and it works



800.jpg
 Description:
 Filesize:  113.87 KB
 Viewed:  3725 Time(s)

800.jpg




Last edited by zeki on Thu Oct 04, 2007 4:50 am; edited 1 time in total
Back to top
DeathWolf



Joined: 02 Oct 2007
Posts: 1

PostPosted: Tue Oct 02, 2007 8:55 am    Post subject: Reply with quote

I tried to follow the instructions as closely as possible(though a few screenshots were missing)
Everything seemed to go fine, exept I'm never seeing any rrd file created for my 1 min data sources...

Turning on data source shows this:

Code:
C:/www/cactid/rrdtool.exe create \
C:/www/htdocs/cacti/rra/natsuki_traffic_in_29.rrd \
--step 60  \
DS:traffic_out:COUNTER:120:0:100000000 \
DS:traffic_in:COUNTER:120:0:100000000 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \


However the poller never seems to be doing anything related to that data source... Any hints as of what to do?


Note: if anyone feels like doing/sharing his 1min templates, it would be really nice, importing instead of dup-and-mod is far nicer.
Back to top
ogiljae



Joined: 04 Apr 2007
Posts: 19

PostPosted: Fri Oct 19, 2007 4:54 pm    Post subject: How can I fix it Reply with quote

After installing 1 minute polling.
some Graphs drawn have differnet timings. I mean Before installing 1 minute polling patch, all Graphs were drawn at the same time.
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Fri Oct 19, 2007 5:01 pm    Post subject: Re: How can I fix it Reply with quote

ogiljae wrote:
After installing 1 minute polling.
some Graphs drawn have differnet timings. I mean Before installing 1 minute polling patch, all Graphs were drawn at the same time.



This is an important feature. What is happening is it is now taking your 5 minute graphs and spreading them out over the 5 minute interval. Since you now have 5 polling per 5 minutes (1 every minute). This way they are not all polled at once and cause the 1 minute polling to go over the 1 minute interval.
Back to top
ben_c
Cacti User


Joined: 14 May 2007
Posts: 179
Location: Melbourne, Australia.

PostPosted: Sun Oct 28, 2007 8:43 pm    Post subject: Reply with quote

mahuani wrote:
This is what I came up with to poll every 30 seconds
Code:

*/1 * * * * cactiuser /usr/bin/php /www/cacti.mahuani.net/htdocs/poller.php > /dev/null 2>&1
*/1 * * * * cactiuser /bin/sleep 30; /usr/bin/php /www/cacti.mahuani.net/htdocs/poller.php > /dev/null 2>&1


It's not pretty, but it seems to work


Would this work on existing rrd's that have step/heartbeat of 300/600 or would it just break them?
Back to top
gandalf
Developer


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

PostPosted: Mon Oct 29, 2007 2:57 pm    Post subject: Reply with quote

It would not "break" them. But you won't see any details below 5 min unless changing step/heartbeat. It simply updates those rrd's 10 times in 5 minutes.
Reinhard
Back to top
Raphael



Joined: 31 Oct 2007
Posts: 1

PostPosted: Wed Oct 31, 2007 1:58 am    Post subject: So is any of this valid for the latest version? Reply with quote

I installed the latest version the other day via the Debian Ubuntu server. So I am assuming it is the latest version. How dio you know which version you are running?

I tried the patch that was shown previously... but that just stops cacti from working. Obviously I'm running a newer version and things have changed.

I still don't have the option to do do 1min intervals. Can someone help?

cheers

G.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Announcements All times are GMT - 5 Hours
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next
Page 9 of 11

 



Powered by phpBB © 2001, 2005 phpBB Group