Maps not being created via Cacti poller
Moderators: Developers, Moderators
Maps not being created via Cacti poller
Not sure what happened, but maps are no longer being created/updated when the Cacti poller runs. If I run the weathermap-cacti-rebuild.php script from the command line, it creates/updates the maps just fine. I turned on Debugging to the Cacti log and see nothing other than weathermap start and stop. I even tried logging in as the user running the weathermap-cacti-rebuild.php (www-data), and that worked fine, so I am pretty sure it is not a permissions issue. I ran the check.php as well, and everything looked fine.
This is what I have installed. OS is Ubuntu 10.04 2.6.32-34-server.
Cacti Version: 0.8.7g, Plugin Architecture Version: 2.9
Autom8 Automate Cacti Tasks General Active Reinhard Scheck http://docs.cacti.net/plugin:autom8 0.35b7
Configstore ConfigStore General Active Chadd J. Christiansen http://cacti.net 0.7
Mactrack Device Tracking General Active Larry Adams http://cacti.net 2.9
Settings Global Plugin Settings System Active Jimmy Conner http://cactiusers.org 0.7
Boost Large Site Performance Booster System Active The Cacti Group http://www.cacti.net 5.1
Weathermap PHP Network Weathermap Old PIA Active Howard Jones http://www.network-weathermap.com/ 0.97a
Rrdclean RRD File Cleaner General Active Reinhard Scheck http://docs.cacti.net/plugin:rrdclean 0.40
Syslog Syslog Monitoring General Active Jimmy Conner http://cactiusers.org 1.10
Thold Thresholds General Active Jimmy Conner http://docs.cacti.net/plugin:thold 0.4.7
Any help would be great, I am at a bit of a loss here. Thanks,
-chadd.
This is what I have installed. OS is Ubuntu 10.04 2.6.32-34-server.
Cacti Version: 0.8.7g, Plugin Architecture Version: 2.9
Autom8 Automate Cacti Tasks General Active Reinhard Scheck http://docs.cacti.net/plugin:autom8 0.35b7
Configstore ConfigStore General Active Chadd J. Christiansen http://cacti.net 0.7
Mactrack Device Tracking General Active Larry Adams http://cacti.net 2.9
Settings Global Plugin Settings System Active Jimmy Conner http://cactiusers.org 0.7
Boost Large Site Performance Booster System Active The Cacti Group http://www.cacti.net 5.1
Weathermap PHP Network Weathermap Old PIA Active Howard Jones http://www.network-weathermap.com/ 0.97a
Rrdclean RRD File Cleaner General Active Reinhard Scheck http://docs.cacti.net/plugin:rrdclean 0.40
Syslog Syslog Monitoring General Active Jimmy Conner http://cactiusers.org 1.10
Thold Thresholds General Active Jimmy Conner http://docs.cacti.net/plugin:thold 0.4.7
Any help would be great, I am at a bit of a loss here. Thanks,
-chadd.
Re: Maps not being created via Cacti poller
chadd wrote:Not sure what happened, but maps are no longer being created/updated when the Cacti poller runs. If I run the weathermap-cacti-rebuild.php script from the command line, it creates/updates the maps just fine. I turned on Debugging to the Cacti log and see nothing other than weathermap start and stop. I even tried logging in as the user running the weathermap-cacti-rebuild.php (www-data), and that worked fine, so I am pretty sure it is not a permissions issue. I ran the check.php as well, and everything looked fine.
This is what I have installed. OS is Ubuntu 10.04 2.6.32-34-server.
Cacti Version: 0.8.7g, Plugin Architecture Version: 2.9
Autom8 Automate Cacti Tasks General Active Reinhard Scheck http://docs.cacti.net/plugin:autom8 0.35b7
Configstore ConfigStore General Active Chadd J. Christiansen http://cacti.net 0.7
Mactrack Device Tracking General Active Larry Adams http://cacti.net 2.9
Settings Global Plugin Settings System Active Jimmy Conner http://cactiusers.org 0.7
Boost Large Site Performance Booster System Active The Cacti Group http://www.cacti.net 5.1
Weathermap PHP Network Weathermap Old PIA Active Howard Jones http://www.network-weathermap.com/ 0.97a
Rrdclean RRD File Cleaner General Active Reinhard Scheck http://docs.cacti.net/plugin:rrdclean 0.40
Syslog Syslog Monitoring General Active Jimmy Conner http://cactiusers.org 1.10
Thold Thresholds General Active Jimmy Conner http://docs.cacti.net/plugin:thold 0.4.7
Any help would be great, I am at a bit of a loss here. Thanks,
-chadd.
Well, that is weird... Problem seems to be resolved. I increased the max memory in php.ini from 512M to 1024M and that fixed it... I just started adding more maps so must need more than 512M for more than one map?? Anyway, whatever.. Hope this helps someone else!
-chadd.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Maps not being created via Cacti poller
No, there's a memory leak in 0.97a so the more maps you have the more memory you need
Fixed in dev version.
Fixed in dev version.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: Maps not being created via Cacti poller
Howie wrote:No, there's a memory leak in 0.97a so the more maps you have the more memory you need
Fixed in dev version.
Is the dev stable enough to use? If not, no worries. Thanks, and great plugin BTW. It is a big favorite among management types. If you could implement magical map creation though, that would be great .
-chadd.
Re: Maps not being created via Cacti poller
Same problem here upgrade to version 0.8.7h
Poller polled, but weathermap doesn't updating the map. Applied weather-cacti-rebuild.php, the map works fine, and keep telling me to increase memory_limit in php.ini, i did it with 1024M, still no luck.
I have 5 maps currently.
Poller polled, but weathermap doesn't updating the map. Applied weather-cacti-rebuild.php, the map works fine, and keep telling me to increase memory_limit in php.ini, i did it with 1024M, still no luck.
I have 5 maps currently.
Re: Maps not being created via Cacti poller
Yeah, I did the same thing with my memory limit. Howie said that 0.97a has a memory leak, so I upgraded to 0.98dev. That memory problem seems to have passed, but the problem with the maps not being created still exists. It seems to be directly tied to a conflict with the thold plugin (for me anyway). If I disable thold, the maps update fine via the poller. I had the same problem before I upgraded, but now I am at 0.8.7h with PIA3.0, the latest thold, and the dev weathermap plugin, and the problem still persists. I will give it a bit more effort today, but I suspect the problem bit of code is not going to just jump out at me.. Good luck.litass wrote:Same problem here upgrade to version 0.8.7h
Poller polled, but weathermap doesn't updating the map. Applied weather-cacti-rebuild.php, the map works fine, and keep telling me to increase memory_limit in php.ini, i did it with 1024M, still no luck.
I have 5 maps currently.
-chadd.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Maps not being created via Cacti poller
I'd have to build another dev environment to test - I can't run the current thold on my regular Cacti system. Possibly I'll have time this weekend to look at that.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Maps not being created via Cacti poller
Also, if you aren't getting ANY maps, it's unlikely to be memory_limit. Unless your map is absolutely enormous - the rough math is: width*height*3 bytes for the main map image, plus some more for each node, plus the actual data. 1024MB of image data is a lot (like 10000px by 10000px)!
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: Maps not being created via Cacti poller
Thanks Howie. I don't suspect that it is a memory problem at this point. If I disable the thold plugin in plugin management the maps get created fine. It seems to be a problem related to thold - what, I have absolutely no clue.. Thanks for the help.
-chadd.
-chadd.
Re: Maps not being created via Cacti poller
ok chadd, I will try it later, I have latest thold plugin too..chadd wrote:Yeah, I did the same thing with my memory limit. Howie said that 0.97a has a memory leak, so I upgraded to 0.98dev. That memory problem seems to have passed, but the problem with the maps not being created still exists. It seems to be directly tied to a conflict with the thold plugin (for me anyway). If I disable thold, the maps update fine via the poller. I had the same problem before I upgraded, but now I am at 0.8.7h with PIA3.0, the latest thold, and the dev weathermap plugin, and the problem still persists. I will give it a bit more effort today, but I suspect the problem bit of code is not going to just jump out at me.. Good luck.litass wrote:Same problem here upgrade to version 0.8.7h
Poller polled, but weathermap doesn't updating the map. Applied weather-cacti-rebuild.php, the map works fine, and keep telling me to increase memory_limit in php.ini, i did it with 1024M, still no luck.
I have 5 maps currently.
-chadd.
Re: Maps not being created via Cacti poller
After disabled Thold plugin, the weathermap started running. (0.97a)
The svn revision 522, the Plugin Management" will be blank out.
The svn revision 522, the Plugin Management" will be blank out.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Maps not being created via Cacti poller
That likely has something to do with it. Make sure you don't make second copies of ANY plugin in the plugins directory. Lot's of things will screw up if you have two copies of a plugin in that directory. Make backups via 'tar -zcf' instead of 'cp -rp'.litass wrote:After disabled Thold plugin, the weathermap started running. (0.97a)
The svn revision 522, the Plugin Management" will be blank out.
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?
Re: Maps not being created via Cacti poller
As I posted in the other thread. Looks like a duplicate function: format_number();TheWitness wrote:That likely has something to do with it. Make sure you don't make second copies of ANY plugin in the plugins directory. Lot's of things will screw up if you have two copies of a plugin in that directory. Make backups via 'tar -zcf' instead of 'cp -rp'.litass wrote:After disabled Thold plugin, the weathermap started running. (0.97a)
The svn revision 522, the Plugin Management" will be blank out.
TheWitness
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Maps not being created via Cacti poller
0.4.8-2 released to address.
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?
Re: Maps not being created via Cacti poller
It's working now after updated to thold_0.4.8, thanks a lot !
Who is online
Users browsing this forum: No registered users and 2 guests