RELEASED: < 1 Minute to 5 Minute Polling Interval Patch
Moderators: Developers, Moderators
-
- Posts: 11
- Joined: Fri Sep 30, 2005 5:12 pm
- Location: Madison, WI
Problems with 1 minute patch
I have checked everything and did two complete reinstalls to make sure I didn't mess something up. I am running cactid and I see the poller fetching the OIDs every minute. The only thing that I can't get to work is the blasted graphs for 1 minute polling. All other graphs are working.
The only thing I see that I did differently than the PDF was that I created a data query rather than adjusted one so that I would have 5 minute graphing and 1 minute graphing ability. The 1 minute graphs show up as broken images.
The PDF guide seems to go vague in section 4, among other places. If I could get this working, I would contribute a setup guide. I am using 0.8.6j with plugin architecture 1.1 on Linux. Any suggestions on troubleshooting this problem?
The only thing I see that I did differently than the PDF was that I created a data query rather than adjusted one so that I would have 5 minute graphing and 1 minute graphing ability. The 1 minute graphs show up as broken images.
The PDF guide seems to go vague in section 4, among other places. If I could get this working, I would contribute a setup guide. I am using 0.8.6j with plugin architecture 1.1 on Linux. Any suggestions on troubleshooting this problem?
Cacti 10 seconds doesn't work
Hi,
I'm a french user of Cacti, so first, sorry for my english
I apply the patch to Cacti v0.8.6j and works fine when the poller is set to "Every minute", but under (20, 15 or 10), no graph is created.
Thanks.
I'm a french user of Cacti, so first, sorry for my english
I apply the patch to Cacti v0.8.6j and works fine when the poller is set to "Every minute", but under (20, 15 or 10), no graph is created.
Thanks.
- Attachments
-
- Pb_Cacti_1.jpg (161.54 KiB) Viewed 9212 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
There is an alternate open source cron that does 1 second cron. You have to replace your normal cron with it, or setup a wrapper script.
This post has more details on the replacement script.
TheWitness
This post has more details on the replacement script.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Do you mean the new patch will be OK for cacti 0.8.6i and 0.8.6j ?cigamit wrote:As of an hour ago, the Multi polling patch has now been added to the Plugin Architecture SVN (so basically now you only need 1 patch!). I have also made a few minor enhancements to it, mainly to protect you from setting the interval to a setting, but having the cron run at a different interval. So basically, if your cron is set to 1 minute / 10 sec / whatever, and you have Cacti set to a 5 Minute interval, it will still only poll every 5 minutes no matter what the cron is set to run.Bazou wrote:Is the patch for 0.8.6i (with PlugArch 1.1) still available somewhere?
I will probably push out the new version tomorrow after some more testing.
No, I have removed the "I" patches from the latest PA SVN, as "J" has been out for 6 months now. If your going to be manually patching cacti files with the latest PA, you might as well upgrade cacti to the latest stable version also. Back porting the patch to old, outdated versions just takes way too much time (most of the time I have to re-patch the files by hand to get a workable patch).Bazou wrote:Do you mean the new patch will be OK for cacti 0.8.6i and 0.8.6j ?cigamit wrote:As of an hour ago, the Multi polling patch has now been added to the Plugin Architecture SVN (so basically now you only need 1 patch!). I have also made a few minor enhancements to it, mainly to protect you from setting the interval to a setting, but having the cron run at a different interval. So basically, if your cron is set to 1 minute / 10 sec / whatever, and you have Cacti set to a 5 Minute interval, it will still only poll every 5 minutes no matter what the cron is set to run.Bazou wrote:Is the patch for 0.8.6i (with PlugArch 1.1) still available somewhere?
I will probably push out the new version tomorrow after some more testing.
Hi !
No questions
No BlaBla
Just THANKS !
I play with cacti since a week and it's a real pleasure !
I just finish the final cacti server for my boss with the 1 min average patch and it's working very well :
I also donate some money because it really give me skills in linux (enough to make it work anyway) and much fun because i love cacti graph !
thank you again
No questions
No BlaBla
Just THANKS !
I play with cacti since a week and it's a real pleasure !
I just finish the final cacti server for my boss with the 1 min average patch and it's working very well :
I also donate some money because it really give me skills in linux (enough to make it work anyway) and much fun because i love cacti graph !
thank you again
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
it seems that multiple polling interval has been added to the upcoming 0.8.6k release : http://svn.cacti.net/cgi-bin/viewcvs.cg ... 9&view=rev
Does it replace this patch ?
it seems that multiple polling interval has been added to the upcoming 0.8.6k release : http://svn.cacti.net/cgi-bin/viewcvs.cg ... 9&view=rev
Does it replace this patch ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Yep, this patch will not be necessary in Kfmangeant wrote:Hi
it seems that multiple polling interval has been added to the upcoming 0.8.6k release : http://svn.cacti.net/cgi-bin/viewcvs.cg ... 9&view=rev
Does it replace this patch ?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Jimmy,
Don't forget to get those poller.php changes in...
Larry
Don't forget to get those poller.php changes in...
Larry
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
And will the plugin arch still be needed ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Fortunately/Unfortunately yes. Even though the author is a part of the team now
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
What is required of us to install this on a 0.8.6j version.?fmangeant wrote:Hi
it seems that multiple polling interval has been added to the upcoming 0.8.6k release : http://svn.cacti.net/cgi-bin/viewcvs.cg ... 9&view=rev
Does it replace this patch ?
I am not sure if it is just a copy over the existing files, or what.
Thanks
Cacti v0.8.8a
Weathermap 9.7a
--------------------
Weathermap 9.7a
--------------------
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Well, you have both that step and to also change your include/config.php file.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 3
- Joined: Thu Aug 09, 2007 8:11 am
RELEASED: < 1 Minute to 5 Minute Polling Interval Patch
All,
I need a 15m snmp polling interval (5m would be too intrusive and our switches are quite large so polling multiple switches would exceed 5m). I'm trying to hack this patch to do the job and have updated the poller_interval in config_settings, config_array, etc but the issue I'm having is I get a devide by 0 on line 180 in poller.php on poller_inteval.
I suspect this is because this is a new install with the patch put directly on a new install, and then devices added afterwards. Any recommendations on the easiest way to go after the 15m polling inteval? Should I reinstall, add devices, then add the patch?
Thanks
Carmody
I need a 15m snmp polling interval (5m would be too intrusive and our switches are quite large so polling multiple switches would exceed 5m). I'm trying to hack this patch to do the job and have updated the poller_interval in config_settings, config_array, etc but the issue I'm having is I get a devide by 0 on line 180 in poller.php on poller_inteval.
I suspect this is because this is a new install with the patch put directly on a new install, and then devices added afterwards. Any recommendations on the easiest way to go after the 15m polling inteval? Should I reinstall, add devices, then add the patch?
Thanks
Carmody
Who is online
Users browsing this forum: No registered users and 0 guests