|
|
| Author |
Message |
TheWitness Developer
Joined: 14 May 2002 Posts: 9255 Location: MI, USA
|
Posted: Wed Oct 04, 2006 5:46 pm Post subject: RELEASED: < 1 Minute to 5 Minute Polling Interval Patch |
|
|
All,
I held off for quite a while and finally decided, with the approval of the broader Cacti Group, to release this patch. I hope you all enjoy it.
I will also be releasing some additional interesting patches in the months to come. Again, enjoy.
Regards,
TheWitness
| Description: |
| Cacti 0.8.6j w/o Plugin Architecture |
|
 Download |
| Filename: |
PollingIntervalsPatchv8.zip |
| Filesize: |
24.58 KB |
| Downloaded: |
1087 Time(s) |
| Description: |
| Cacti 0.8.6j w/Plugin Architecture 1.1 |
|
 Download |
| Filename: |
PollingIntervalsPatchv8-pia1.1.zip |
| Filesize: |
24.65 KB |
| Downloaded: |
1131 Time(s) |
| Description: |
|
 Download |
| Filename: |
Cacti_Polling_Intervals.pdf |
| Filesize: |
708.59 KB |
| Downloaded: |
4414 Time(s) |
Last edited by TheWitness on Mon Feb 19, 2007 10:58 am; edited 3 times in total |
|
| Back to top |
|
 |
mahuani Cacti User
Joined: 01 Nov 2005 Posts: 66 Location: New Orleans, LA
|
Posted: Wed Oct 04, 2006 6:50 pm Post subject: |
|
|
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
Last edited by mahuani on Wed Jan 31, 2007 5:43 pm; edited 1 time in total |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5365 Location: Wisconsin, USA
|
Posted: Wed Oct 04, 2006 7:10 pm Post subject: |
|
|
| 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
|
Lol, that does work... Not a bad idea...
You could also just call a script that does the same..
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9255 Location: MI, USA
|
Posted: Wed Oct 04, 2006 9:12 pm Post subject: |
|
|
I remember JP talking about this at Linuxworld. He indicated, with the "new" cron syntax, that you could poll every second. However, I have not been able to find that syntax.
Larry
|
|
| Back to top |
|
 |
Linegod Developer
Joined: 20 Feb 2003 Posts: 453 Location: Canada
|
|
| Back to top |
|
 |
Alice Cacti User
Joined: 28 Oct 2003 Posts: 88 Location: Bucharest, RO.
|
Posted: Thu Oct 05, 2006 7:55 am Post subject: |
|
|
| Quote: | | I will release sometime before next Monday |
You promise? I'm in process of re-installing my cacti server. Should I wait for 0.8.6i with the patch or not?
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9255 Location: MI, USA
|
Posted: Thu Oct 05, 2006 6:50 pm Post subject: |
|
|
Ian should have it out by tomorrow night. After that, I will be releasing. Probably on Sunday.
TheWitness
|
|
| Back to top |
|
 |
rock_manlove
Joined: 02 Oct 2006 Posts: 44 Location: NJ, USA
|
Posted: Thu Oct 12, 2006 9:57 am Post subject: |
|
|
From where I can download this patch?
Thanks
|
|
| Back to top |
|
 |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2324 Location: Sophia-Antipolis, France
|
Posted: Thu Oct 12, 2006 9:58 am Post subject: |
|
|
| TheWitness wrote: | | Probably on Sunday. |
Wait a few days
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9255 Location: MI, USA
|
Posted: Thu Oct 12, 2006 7:24 pm Post subject: |
|
|
Bump for all watching
|
|
| Back to top |
|
 |
romput
Joined: 13 Oct 2006 Posts: 4
|
Posted: Fri Oct 13, 2006 2:02 am Post subject: Graph Tree |
|
|
Problem,
the first Graph i see in my Graph Tree is not the 1 Minute Average Graph. It is always the 5 Minute.
If if go in Zoom all 5 Graphs are build.
How could I change this?
Thanks
Romput
|
|
| Back to top |
|
 |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2324 Location: Sophia-Antipolis, France
|
Posted: Fri Oct 13, 2006 2:09 am Post subject: |
|
|
Hi
have you tried to change in your settings (the tab on the right) the default RRA ?
|
|
| Back to top |
|
 |
romput
Joined: 13 Oct 2006 Posts: 4
|
Posted: Fri Oct 13, 2006 3:18 am Post subject: |
|
|
So,
i found the option and change it to 1 Minute Graph. But it doesn't solve the problem. Should i delete and recreate the graph?
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9255 Location: MI, USA
|
Posted: Fri Oct 13, 2006 5:22 am Post subject: |
|
|
Please "READ" the documentation. If you don't understand it, please post in General!!!
TheWitness
|
|
| Back to top |
|
 |
cigamit Developer
Joined: 07 Apr 2005 Posts: 894 Location: B/CS Texas
|
Posted: Fri Oct 13, 2006 11:22 pm Post subject: 1 Minute Polling "Patch" |
|
|
The topic spoke of a "patch" but all I could find were already patched files. So I have went ahead and created the patch in case anyone else wants it too.
It should apply clean against stock Cacti v0.8.6i. Interesting thing to note is that poller.php (not the lib one) is included in the above file, but the only modification was to strip the newline at the end of the file.
It be interesting to see how some of the plugins actually handle working with this... A few will out right break with a faster poller, but the others might do fine.
| Description: |
|
 Download |
| Filename: |
1MinutePolling.patch |
| Filesize: |
11.33 KB |
| Downloaded: |
1918 Time(s) |
|
|
| Back to top |
|
 |
|