Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jun 26, 2019 5:38 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 170 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 12  Next
Author Message
 Post subject:
PostPosted: Wed Feb 28, 2007 3:59 am 
Offline
Cacti User

Joined: Tue Apr 05, 2005 9:52 am
Posts: 367
Location: Munich, Germany
Hello,

does boost works together with 1min-poller? I found that both change the poller.php file!

Thold in new version does not check the threshold-db - it ueses the rrd-files. So heavy disk load occours.
So I must put 1min poller, thold and boost together....

Does boost work with cactid?


Torsten


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 28, 2007 7:00 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
I released a PIA 1.1 version of the 1 Minute Patch. Therefore, yes.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject: This post was annoying me
PostPosted: Thu Mar 01, 2007 7:08 pm 
Offline
User avatar

Joined: Thu Feb 12, 2004 1:36 am
Posts: 1
I really wanted this to work in my cacti, but I was confused. So... Here is what I have found and would like to share with you. One point that seems to be the most confusing.. a PATCH is set of changes to a file, or a set of changed files. I prefer the set of changes TO a file... not changed files. Mainly because sometimes there may be other patches that you want to apply.

Download the 0.8.6j version of cacti. Patch it to your hearts content with the official patches: http://www.cacti.net/download_patches.php I did this earlier today to upgrade from an earlier version of cacti. Then I saw this post and was wondering... cool 1 minute graphs! where is the patch, not these patched files? What is the plug in architecture?... do I need that? Is it already in 0.8.6j? So.. here are the answers.

- Where is this 1 - 5 minute PATCH that is talked about in this http://forums.cacti.net/viewtopic.php?t=16482 post.
Well that is a set of changed files.. NOT a patch to files. So, I won't have any of that business. I have included a PollingIntervalsPatch v8 pia1.1 patch in this post. That will add this new 1 minute polling ability to a standard cacti 0.8.6j install already patched with the cacti plugin 1.1 architecture.

- What is the plug in 1.1 architecture?
It is a set of changes the the 0.8.6[i or j] version of cacti that can be either applied as a 'patch' or you can overwrite the files (ugh). Both a PATCH FILE and a set of PATCHED FILES are available in this link.
http://download.cactiusers.org/downloads/cacti-plugin-arch.zip

- Do I need the plug in architecture?
You do not need the plug in architecture to run the 1 Minute to 5 Minute Polling Interval Patch.. but since I am I didn't include a PATCH.. you will have to use the set of changed files that TheWitness has included as a zip file called PollingIntervalsPatchv8.zip. It will overwrite any patches that may have been applied previously...

- Is it already in 0.8.6j?
No, the plug in architecture is not automatically included. You have to download the file linked from cactiusers.org above.

Once you get all that in place then you can set up your poller in cron to run every 1 minute and apply the rest of that changes that TheWitness included in his great .pdf file. Maybe this will help others shave some time off of getting this applied.


Attachments:
File comment: This is a set of changes to the files. You need to apply it by copying it into your cacti 0.8.6j install directory and using the unix command 'patch -p1 -N < PollingIntervalsPatchv8-pia1.1.patch' to apply. Just like the official cacti patches.
PollingIntervalsPatchv8-pia1.1.patch [11.34 KiB]
Downloaded 677 times

_________________
someone


Last edited by someone on Thu Mar 01, 2007 7:13 pm, edited 1 time in total.
Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 01, 2007 7:13 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
So, just that you know, I hate patches (mainly because in a former life I was from Arkansas, the show me state, oh and I'm on Windows. Until a few years ago, I did not know how to spell diff and I have ExamDiff Pro a good diff viewer). I figure that if you are into this thing, that you can figure it out. Glad to see you are contributing to Cacti's future.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject: Re: This post was annoying me
PostPosted: Fri Mar 02, 2007 2:55 am 
Offline
Cacti User

Joined: Tue Apr 05, 2005 9:52 am
Posts: 367
Location: Munich, Germany
Hi Someone,
someone wrote:
Once you get all that in place then you can set up your poller in cron to run every 1 minute and apply the rest of that changes that TheWitness included in his great .pdf file. Maybe this will help others shave some time off of getting this applied.


Do you have a working installtion of this patch and the boost-plugin (boost+1min)? Both make changes to poller.XXX

Torsten


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 02, 2007 6:57 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
As long as you take the PIA 1.1 patch you are all set. This is because the current version of boost does not modify the poller.xxx file. It is the PIA 1.1 that does.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 03, 2007 10:12 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2765
Location: B/CS Texas
torstentfk wrote:
Thold in new version does not check the threshold-db - it ueses the rrd-files. So heavy disk load occours.
So I must put 1min poller, thold and boost together....


Actually, that is backwards. The new version doesn't use the rrd files, while the old one did. Much much faster now.

_________________
Report a bug
Download Releases
1.X Compatible Plugins


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 05, 2007 2:38 am 
Offline
Cacti User

Joined: Tue Apr 05, 2005 9:52 am
Posts: 367
Location: Munich, Germany
Sorry- mixed up.
the old one is onmy system faster than new one: the old runs within 10-20 seconds. the new one takes over 1 minute.

Torsten

cigamit wrote:
torstentfk wrote:
Thold in new version does not check the threshold-db - it ueses the rrd-files. So heavy disk load occours.
So I must put 1min poller, thold and boost together....


Actually, that is backwards. The new version doesn't use the rrd files, while the old one did. Much much faster now.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 03, 2007 9:45 am 
Offline

Joined: Thu Jun 15, 2006 7:03 am
Posts: 23
Location: Paris, France
Hi,

I've just installed a fresh version of cacti (latest version) and have applied the 1 min polling patch followed by the other patches available on the cacti homepage.

Problem is .... even after having done all the changes indicated in the PDF guide I can't generate any graphs using the 1min polling :/

Cacti doesn't even create the RRA files if I use the 1min polling template but it works fine when using normal 5 min polling

when I launch the poller directly via the terminal sometimes I get the following message :

Code:
CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled


any idea where I could have messed up ?

I've checked the config against another server of mine and it seems identical (other server works fine in 1min polling) but I'm not running the latest version on the other server

Are there any compatibility issues around using the 1 min polling patch with the latest version of cacti ?


Regards,

John Gillespie


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 03, 2007 9:46 am 
Offline

Joined: Thu Jun 15, 2006 7:03 am
Posts: 23
Location: Paris, France
If I have messed up the config part, where can I expect to find my mistake ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 04, 2007 4:49 am 
Offline

Joined: Thu Jun 15, 2006 7:03 am
Posts: 23
Location: Paris, France
I've got it working, some of the settings were wrong.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 7:52 am 
Offline

Joined: Thu Jan 18, 2007 8:22 am
Posts: 3
Hi,

I'm french so my english isn't very clear. sorry :)

I have a problem. I have installed this patch on cacti 0.8.6.j. Cacti is install with the plugin architecture on a RED HAT EL4. I have follow all the instructions in the .PDF I have created new RRA and duplicate the Data and Graphique Template. I put the contab at 1 min. All work well when I create a graph with 1 min poller in Setting. But When I change de Poller intervale in Setting, nothing is done. My poller is running every 1 min and not every 5 min. So the poller periode don't change and the values in the graph aren"t update every 5 min. I don't understand the interest of this plugin.

Is there any other modifications?

Thx.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 6:39 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14804
Location: MI, USA
It only affects "new" graphs. Old graphs are locked at 5 minute resolution. Even though you may poll every minute, you will simply get an average of the 5 measurements ever 5 minutes showing on the graph.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 16, 2007 1:48 pm 
Offline

Joined: Thu Oct 26, 2006 11:30 am
Posts: 6
TheWitness you rock man! Thanks for an awesome patch to Cacti!

If possible I am having one issue that I have yet to figure out, the 1 min polling works great and my 1 minute graphs are correct; however, all other graphs (not just for interface statistics but other things like "memory") are all spaced out by 5 minutes. I think that is because of the 1 minute polling interval. Is there any way to only show the collected data on those other graphs?

Thanks!

Tim

*EDIT*

My mistake, did not wait long enough. All graphs are working fine... :oops:


Last edited by tlister on Mon Apr 16, 2007 3:09 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 16, 2007 2:43 pm 
Offline

Joined: Mon Apr 16, 2007 2:39 pm
Posts: 8
cwalton wrote:
Did you tick the checkbox next to each data source when you modified the data query? I know I missed that one the first time.


YES!!! That was it!!! I overlooked the screenshot and focused on the text.


On that note, big THANK YOU to TheWitness for writing such a great document. It did not assume anything and guided you step by step on what to do.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 170 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 12  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group