Weathermap 0.97b Released (security fixes, etc)

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

cameronpalma
Posts: 1
Joined: Fri Apr 19, 2013 3:54 am

Re: Weathermap 0.97b Released (security fixes, etc)

Post by cameronpalma »

Fist of all huge thanks to creator of Weathermap.

I'm using PHP Weathermap 0.97b and i'm experiencing this notice
Notice: Use of undefined constant target - assumed 'target' in /home/mon/stats2.advancedhosters.com/weathermap/editor.php on line 760
I got this when I press 'Vert' in editor

Also I got Notice: Use of undefined constant target - assumed 'target' in /home/mon/stats2.advancedhosters.com/weathermap/editor.php on line 727
when I Press 'Horiz' in editor

The main prob is that the position of link doesn't change after I get this Notices.

Please assist. Thanks
netwpl
Posts: 1
Joined: Fri May 31, 2013 5:55 am

Re: Weathermap 0.97b Released (security fixes, etc)

Post by netwpl »

looksl ike there is a bug in 0.97c!

config:

NODE gauge_uptime_VIX
LABEL {node:this:bandwidth_in:%.0f} days up

since 0.97c there are only 2 characters working after the label.

if i do: days up, ill get "xxxxx up" on the html page.

but when i do a

NODE gauge_uptime_VIX
LABEL {node:this:bandwidth_in:%.0f} da ys up

ill get "da ys up" on the html page.

gone back to 0.97a and everything is working..
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: Weathermap 0.97b Released (security fixes, etc)

Post by sukanta »

cameronpalma wrote:Fist of all huge thanks to creator of Weathermap.

I'm using PHP Weathermap 0.97b and i'm experiencing this notice
Notice: Use of undefined constant target - assumed 'target' in /home/mon/stats2.advancedhosters.com/weathermap/editor.php on line 760
I got this when I press 'Vert' in editor

Also I got Notice: Use of undefined constant target - assumed 'target' in /home/mon/stats2.advancedhosters.com/weathermap/editor.php on line 727
when I Press 'Horiz' in editor

The main prob is that the position of link doesn't change after I get this Notices.

Please assist. Thanks
=======
Please change following to fix at editor.php:
if(isset($map->links[target])) {

To:
if(isset($map->links[$target])) {
esathler
Posts: 21
Joined: Wed Feb 04, 2009 2:31 pm

Re: Weathermap 0.97b Released (security fixes, etc)

Post by esathler »

Hi Howie, thanks for the update!

I moved from 0.95b to 0.97c and it works great!

One minor question: since I have a link to the output maps, I noticed the output files have changed names, since
I also renamed the config files to have the .config extension, removed the "old ones" and added the "new ones" with .config

I did the same on another server and notice the output files got different names in my two identical installs of 0.97c.

I know that I can not control the name of the output file since I am using as a cacti plugin.

Is there a way that I can control, even vaguely, the name of the output file ? at least so that will be the same across different servers ? (ps: the maps are identical) or the name is truly at random ? On 0.95b that was not the case ... they had the same output name across different servers.

thanks again!
zeki893
Posts: 8
Joined: Wed Jan 04, 2012 9:17 pm

Re: Weathermap 0.97b Released (security fixes, etc)

Post by zeki893 »

JJX wrote:I have comment out that line.
When I open editor I get a white page and this error:
[Fri Apr 12 12:58:40 2013] [error] PHP Fatal error: Call to undefined function wm_module_checks() in /var/www/cacti/plugins/weathermap/editor.php on line 86, referer: http://cacti.mysite.com/plugins/weather ... n-mgmt.php
After deleting the old installation and using a clean copy of 0.97c it worked.
Some fine tuning with editor is required (to open the maps directly)

thanks deleting the old one worked for me. make sure you backup your configs before deleting the old installation. 8)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests