[INFO] Weathermap 0.96 released.

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

trogs
Posts: 14
Joined: Mon Apr 20, 2009 5:31 pm

Post by trogs »

Hi, I was having the problem of unclickable nodes with debian etch + php 5.2.0-8+etch13

The new file from SVN seems to have fixed it though :)
toe_cutter
Cacti User
Posts: 168
Joined: Fri Sep 12, 2008 2:41 am
Location: Sweden

Post by toe_cutter »

Howie wrote:
toe_cutter wrote:Edit: max_bandwidth_in seems to follow the default value and not per link.
Where? In the editor? In the actual map?
Uhm, iirc it was both in the editor and the actual map, but the new classes fixed that apparently.
Howie wrote:
toe_cutter wrote: Edit2: I checked the map-page html source, and it would seem that no areamap for the nodes are included. No idea if it should be like this but so you know.
No, that's shouldn't be like that. The way this is done is changed in 0.96 to allow for ZORDER, but it's been changed for almost a year now. I'd be surprised if no-one reported it during that time. I can reproduce this bug anyway, so I can work on it.
Yay, i found something nobody else did! :D
Howie wrote:
toe_cutter wrote: Edit3: Timestamp and legend are still clickable.
Well that's a relief ;-)

Am I right to think that your links are now longer grey? (is that what you meant by fixing ReadData? It looks like your TARGET lines have been chewed up with IN/OUTCOMMENT lines, from the errors)
My links are no longer grey because of the new classes, but they were grey even after i fixed my chewed up INCOMMENT (I had edited the link in the editor and just added the comment to the end of the line), so itd seem that it didnt cause the grey links. Looking back i should probably have included a screenshot of the map(s) for you to see, but hindsight.. :)
Howie wrote:In subversion now is a version with clickable nodes...
http://www.network-weathermap.com/svn/repos/trunk/

You only need to download the Weathermap.class.php

Please could you confirm that this fixes your problem? And also if you still have trouble with reading data, because that seems to work for me.
Yep, works a charm now :D Nodes are clickable both on map and in the editor. Links arent grey anymore either. Havent noticed anything else broken yet, but ill be sure to let you know if i do heh :)

Thanks alot for a brilliant plugin!
My colleagues are O_O *happyface* about these maps, and i actually got headhunted yesterday to work fulltime with monitoring :D Dunno if ill take it but still... :)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

toe_cutter wrote: My colleagues are O_O *happyface* about these maps, and i actually got headhunted yesterday to work fulltime with monitoring :D Dunno if ill take it but still... :)
Nice! I wish things like that would happen to me, sometimes :-)
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!)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

I'm up to 4 bugfixes so far, of different seriousnesses:

Code: Select all

0.96a   FIXED - New z-ordering code did not work correctly on PHP4. This broke (at least) the editor. (thanks toe_cutter)
        FIXED - \n is no longer treated as a newline in TARGETs (thanks NetAdmin)
        FIXED - KILO was broken completely between 0.95b and 0.96 (thanks Jethro Binks)
        FIXED - Link comments in certain positions could cause div-by-zero errors. (thanks again Jethro)
I have one other outstanding one about USEICONSCALE to investigate still.

Fetching Weathermap.class.php and WeatherMapLink.class.php from the svn repository above is enough to get the bugfixes.
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!)
mercolino
Posts: 25
Joined: Wed Aug 29, 2007 6:14 pm

Post by mercolino »

I installed a the 0.96 version, and the page plugin management just disappeared, the link it's there but there is no information about plugins... also it duplicates the options to give permission in Users settings, that means that if i click in an user to give permission to see Weathermap it apperars two times The option to view and to Modify...

I am using 0.8.7d, PHP 5.1.6 on a Linux box running CentOS

thanks
mercolino
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

mercolino wrote:I installed a the 0.96 version, and the page plugin management just disappeared, the link it's there but there is no information about plugins... also it duplicates the options to give permission in Users settings, that means that if i click in an user to give permission to see Weathermap it apperars two times The option to view and to Modify...

I am using 0.8.7d, PHP 5.1.6 on a Linux box running CentOS

thanks
mercolino
It works for me, with 0.8.7d, PHP 5.1.6 and CentOS 5 (my live Cacti server).

There are supposed to be two options in permissions though. That's normal.
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!)
mercolino
Posts: 25
Joined: Wed Aug 29, 2007 6:14 pm

Post by mercolino »

Howie wrote:
mercolino wrote:I installed a the 0.96 version, and the page plugin management just disappeared, the link it's there but there is no information about plugins... also it duplicates the options to give permission in Users settings, that means that if i click in an user to give permission to see Weathermap it apperars two times The option to view and to Modify...

I am using 0.8.7d, PHP 5.1.6 on a Linux box running CentOS

thanks
mercolino
It works for me, with 0.8.7d, PHP 5.1.6 and CentOS 5 (my live Cacti server).

There are supposed to be two options in permissions though. That's normal.
Howie thanks for your quick response, then should be something that I am doing wrong upgrading the plugin let me check another time. However about the problem in the Realm Permission in User Settings, is as following:

I uninstalled the plugin Wheathermap, renamed the folder, and commented the line at global.php, and still appears the two options (view and modify) at the Realm Permission Tab.

When I install the plugin again it appears two sets of permission, the old one that doesn't work, and the new one that works.

Really it doesn't affect how the plugin or cacti works. I think that is just my Obssesive Compulsive side that doesn't want to see that :). Any idea?

Thanks
Mercolino
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Ahhh... with the new plugin architecture, you can't just have folders hanging around in the plugins directory. You need to move the old weathermap folder (the renamed one) somewhere else. You might indeed find that this causes problems on the plugin mgmt page, because it sees both of those weathermap folders.

It'd be nice if it told you this, and warned about it in the Plugin Management page though...

I had the same with thold, where I have my own patched version, the original, and the new one, and strange things happened.
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!)
mercolino
Posts: 25
Joined: Wed Aug 29, 2007 6:14 pm

Post by mercolino »

Howie wrote:Ahhh... with the new plugin architecture, you can't just have folders hanging around in the plugins directory. You need to move the old weathermap folder (the renamed one) somewhere else. You might indeed find that this causes problems on the plugin mgmt page, because it sees both of those weathermap folders.

It'd be nice if it told you this, and warned about it in the Plugin Management page though...

I had the same with thold, where I have my own patched version, the original, and the new one, and strange things happened.

YESSS!!!! It works now and it works great!!!!! Thanks a lot my friend....
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests