Weathermap 0.97b Released (security fixes, etc)
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Weathermap 0.97b Released (security fixes, etc)
http://www.network-weathermap.com/releases/0.97b
0.97b is out - this patches recently announce security issues, and also includes almost 3 years' worth of bugfixes, including a memory leak and the SQL problems folks have been hitting recently.
My plan is to get back to work on 0.98 and have some new features soon, too.
0.97b is out - this patches recently announce security issues, and also includes almost 3 years' worth of bugfixes, including a memory leak and the SQL problems folks have been hitting recently.
My plan is to get back to work on 0.98 and have some new features soon, too.
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!)
- _raindrop18
- Cacti User
- Posts: 194
- Joined: Thu Jan 29, 2009 5:52 pm
- Location: US
Re: Weathermap 0.97b Released (security fixes, etc)
thanks Howie for update!
I have install the new version and I got this error when I run weathermap with example.conf
I have cacti 8.8a and php 5.4.1 on REdHut Linix.
thanks
I have install the new version and I got this error when I run weathermap with example.conf
when the poller run6749 Segmentation fault
I have cacti 8.8a and php 5.4.1 on REdHut Linix.
thanks
Re: Weathermap 0.97b Released (security fixes, etc)
I updated from .97a to .97b (copied the weathermap folder over the old one) and am getting errors in the editor.
Fatal error: Call to undefined function wm_module_checks() in /var/www/html/plugins/weathermap/editor.php on line 86
If I edit editor.php to skip the module check, I get the welcome page and then when I click on my existing config file I get the following error when it hits the first wm_debug call:
Fatal error: Call to undefined function wm_debug() in /var/www/html/plugins/weathermap/editor.php on line 113
I looked at editor.php and lib/Weathermap.class.php and lib/WeatherMap.functions.php and all seem to be included properly so editor.php should be getting to the functions in lib/Weathermap.functions.php.
If I call the function wm_modules_check directly after the require_once 'lib/Weathermap.class.php'; line, the error shows up on that line.
If I call wm_parse_string() right after the include of Weathermap.functions.php, I get this:
Fatal error: Call to undefined function wm_parse_string() in /var/www/html/plugins/weathermap/editor.php on line 6
Makes me think something is wrong in the Weathermap.class.php file.
I hope some of this helps.
-Luke
Update: I deleted the weathermap directory and put a fresh copy of 0.97b in there and am now only getting this error:
Deprecated: Function split() is deprecated in /var/www/html/plugins/weathermap/editor.php on line 32
It shows up on the welcome page and the actual page that lets me edit the map.
Update again: Ok I ended up deleting the weathermap folder again and reinstalling 0.97a and it's all good again. How do you recommend upgrading from .97a to .97b?
Fatal error: Call to undefined function wm_module_checks() in /var/www/html/plugins/weathermap/editor.php on line 86
If I edit editor.php to skip the module check, I get the welcome page and then when I click on my existing config file I get the following error when it hits the first wm_debug call:
Fatal error: Call to undefined function wm_debug() in /var/www/html/plugins/weathermap/editor.php on line 113
I looked at editor.php and lib/Weathermap.class.php and lib/WeatherMap.functions.php and all seem to be included properly so editor.php should be getting to the functions in lib/Weathermap.functions.php.
If I call the function wm_modules_check directly after the require_once 'lib/Weathermap.class.php'; line, the error shows up on that line.
If I call wm_parse_string() right after the include of Weathermap.functions.php, I get this:
Fatal error: Call to undefined function wm_parse_string() in /var/www/html/plugins/weathermap/editor.php on line 6
Makes me think something is wrong in the Weathermap.class.php file.
I hope some of this helps.
-Luke
Update: I deleted the weathermap directory and put a fresh copy of 0.97b in there and am now only getting this error:
Deprecated: Function split() is deprecated in /var/www/html/plugins/weathermap/editor.php on line 32
It shows up on the welcome page and the actual page that lets me edit the map.
Update again: Ok I ended up deleting the weathermap folder again and reinstalling 0.97a and it's all good again. How do you recommend upgrading from .97a to .97b?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Weathermap 0.97b Released (security fixes, etc)
Hmm, you should be able to overwrite it like that. I have moved a bunch of things from the root to the lib directory, but having them in both places shouldn't do too much harm...
Is it possible it didn't overwrite the editor.php for some reason? Sounds like maybe something like that.
Is it possible it didn't overwrite the editor.php for some reason? Sounds like maybe something like 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: Weathermap 0.97b Released (security fixes, etc)
Which redhat? I would have to try myself - there's nothing in Weathermap that should cause a segfault! PHP will do that when it runs out of memory though - what is your memory_limit? Running 'php check.php' should tell you._raindrop18 wrote:thanks Howie for update!
I have install the new version and I got this error when I run weathermap with example.confwhen the poller run6749 Segmentation fault
I have cacti 8.8a and php 5.4.1 on REdHut Linix.
thanks
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: Weathermap 0.97b Released (security fixes, etc)
Hi Howie:
I'm cuban and rencently I've installed cacti in my network with your plugin. I can tell you that it's amazing!!!
I've installed the version 0.97a, and for now I don't think update it to the new version, but it's good to know that you are alive because your latest release before this was 3 years ago. Maybe when you release the version 0.98 (or will be 1.0!!!!), I'll do the update.
I'm cuban and rencently I've installed cacti in my network with your plugin. I can tell you that it's amazing!!!
I've installed the version 0.97a, and for now I don't think update it to the new version, but it's good to know that you are alive because your latest release before this was 3 years ago. Maybe when you release the version 0.98 (or will be 1.0!!!!), I'll do the update.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Weathermap 0.97b Released (security fixes, etc)
OK - you should consider the security problem though. XSS potentially allows external users to hijack your Cacti login session.georkings wrote:Hi Howie:
I'm cuban and rencently I've installed cacti in my network with your plugin. I can tell you that it's amazing!!!
I've installed the version 0.97a, and for now I don't think update it to the new version, but it's good to know that you are alive because your latest release before this was 3 years ago. Maybe when you release the version 0.98 (or will be 1.0!!!!), I'll do the update.
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: Weathermap 0.97b Released (security fixes, etc)
I redid the weathermap folder with only .97b files in it and it still gives this error on the welcome page and the editing page:Howie wrote:Hmm, you should be able to overwrite it like that. I have moved a bunch of things from the root to the lib directory, but having them in both places shouldn't do too much harm...
Is it possible it didn't overwrite the editor.php for some reason? Sounds like maybe something like that.
Deprecated: Function split() is deprecated in /var/www/html/plugins/weathermap/editor.php on line 32
Also, on the editing page, it doesn't show the map. In firefox, it just says 'weathermap' while in IE10 it looks like a missing picture where the map should be.
Re: Weathermap 0.97b Released (security fixes, etc)
I replaced the split() function with explode() and it works normally now.
I changed
$parts = split(":",
to
$parts = explode(":",
I changed
$parts = split(":",
to
$parts = explode(":",
Re: Weathermap 0.97b Released (security fixes, etc)
Ok, then I'll do the update. Thanks for you reply.Howie wrote:OK - you should consider the security problem though. XSS potentially allows external users to hijack your Cacti login session.georkings wrote:Hi Howie:
I'm cuban and rencently I've installed cacti in my network with your plugin. I can tell you that it's amazing!!!
I've installed the version 0.97a, and for now I don't think update it to the new version, but it's good to know that you are alive because your latest release before this was 3 years ago. Maybe when you release the version 0.98 (or will be 1.0!!!!), I'll do the update.
- _raindrop18
- Cacti User
- Posts: 194
- Joined: Thu Jan 29, 2009 5:52 pm
- Location: US
Re: Weathermap 0.97b Released (security fixes, etc)
here is check.php out put. there is no problem reported.Howie wrote:Which redhat? I would have to try myself - there's nothing in Weathermap that should cause a segfault! PHP will do that when it runs out of memory though - what is your memory_limit? Running 'php check.php' should tell you._raindrop18 wrote:thanks Howie for update!
I have install the new version and I got this error when I run weathermap with example.confwhen the poller run6749 Segmentation fault
I have cacti 8.8a and php 5.4.1 on REdHut Linix.
thanks
This is PHP Version 5.4.1 running on "Linux server-A 2.6.18-308.4.1.el5 #1 SMP Wed Mar 28 01:54:56 EDT 2012 x86_64" with a memory_limit of '128M'.
Re: Weathermap 0.97b Released (security fixes, etc)
Hi,
I had the same problem as lreagor after the update of Weathermap 97a to 97b.
When I'm trying to edit an existing map, I have all the time the editor welcome page (to create a new map or a copy of one) and I have this error on apache error.log :
[error] [client x.x.x.x] File does not exist: /var/www/cacti/plugins/weathermap/editor-resources/images, referer: http://x.x.x.x/cacti/plugins/weathermap ... editor.css
If I create a link for images directory in editor-resources directory, there is no more error.
Also, if I'm trying to create a new map on editor, nothing happen (no errors and no config file)
Do you have an idea ?
Thanks.
I had the same problem as lreagor after the update of Weathermap 97a to 97b.
When I'm trying to edit an existing map, I have all the time the editor welcome page (to create a new map or a copy of one) and I have this error on apache error.log :
[error] [client x.x.x.x] File does not exist: /var/www/cacti/plugins/weathermap/editor-resources/images, referer: http://x.x.x.x/cacti/plugins/weathermap ... editor.css
If I create a link for images directory in editor-resources directory, there is no more error.
Also, if I'm trying to create a new map on editor, nothing happen (no errors and no config file)
Do you have an idea ?
Thanks.
Re: Weathermap 0.97b Released (security fixes, etc)
Also time taken by Weathermap creation almost doubled:
So reverted back to 0.97a.
So reverted back to 0.97a.
04/07/2013 10:58:20 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Sun, 07 Apr 13 22:58:20 +0530: 27 maps were run in 34 seconds with 23 warnings.
04/07/2013 10:48:35 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97b run complete - Sun, 07 Apr 13 22:48:35 +0530: 27 maps were run in 51 seconds with 23 warnings.
04/07/2013 10:43:29 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97b run complete - Sun, 07 Apr 13 22:43:29 +0530: 27 maps were run in 50 seconds with 23 warnings.
04/07/2013 10:38:40 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97b run complete - Sun, 07 Apr 13 22:38:40 +0530: 27 maps were run in 54 seconds with 23 warnings.
04/07/2013 10:33:47 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97b run complete - Sun, 07 Apr 13 22:33:47 +0530: 27 maps were run in 53 seconds with 23 warnings.
04/07/2013 10:28:35 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97b run complete - Sun, 07 Apr 13 22:28:35 +0530: 27 maps were run in 54 seconds with 23 warnings.
04/07/2013 10:23:44 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97b run complete - Sun, 07 Apr 13 22:23:44 +0530: 27 maps were run in 54 seconds with 10077 warnings.
04/07/2013 10:18:19 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Sun, 07 Apr 13 22:18:19 +0530: 27 maps were run in 31 seconds with 23 warnings.
04/07/2013 10:13:21 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Sun, 07 Apr 13 22:13:21 +0530: 27 maps were run in 32 seconds with 23 warnings.
04/07/2013 10:08:19 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Sun, 07 Apr 13 22:08:19 +0530: 27 maps were run in 33 seconds with 23 warnings.
04/07/2013 10:03:14 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Sun, 07 Apr 13 22:03:14 +0530: 27 maps were run in 33 seconds with 23 warnings.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Weathermap 0.97b Released (security fixes, etc)
Hmm, any chance you could (privately) share the biggest of your maps? No idea what is happening there...sukanta wrote:Also time taken by Weathermap creation almost doubled:
So reverted back to 0.97a.
Also, what are the 27 warnings?
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: Weathermap 0.97b Released (security fixes, etc)
Howie wrote:Hmm, any chance you could (privately) share the biggest of your maps? No idea what is happening there...sukanta wrote:Also time taken by Weathermap creation almost doubled:
So reverted back to 0.97a.
Also, what are the 27 warnings?
PM Send...
Who is online
Users browsing this forum: No registered users and 1 guest