Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[INFO] Weathermap 0.94 released (now 0.941)
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Thu Nov 15, 2007 6:00 pm    Post subject: [INFO] Weathermap 0.94 released (now 0.941) Reply with quote

http://www.network-weathermap.com/

Released earlier than planned to fix some small 0.8.7 issues. The good stuff is poller_output support and INBWFORMAT, mainly.

Code:

0.94    ADDED - INBWFORMAT and OUTBWFORMAT allow you to format the text for BWLABEL, same as for COMMENTs
        ADDED - New cactithold/cactimonitor data source plugin reads data from Cacti's Threshold plugin.
                (Original development for this plugin was paid for by Stellar Consulting - Thanks!)
        ADDED - New LINKSTYLE command allows you to have one-way (one arrow) links.
        ADDED - RRD DS can use Cacti's poller_output to get data without running RRDtool at all.
                (this also means it can work with the Boost plugin for large installations)
                See targets.html for more info on this one.
        ADDED - Editor - Align horizontal and Align-vertical for links. Calculates link offsets to make link vertical/horizontal.
        CHANGE - Finally a better tab image, and a red 'active' one too, for the Cacti plugin.
        FIXED - "Full Screen Maps" mode in Cacti Plugin was broken by me adding the "View Only First" mode.
        FIXED - Imagemaps for horiz/vert format legend were wrong in editor (thanks to Alex Moura for pointing this out)
        FIXED - Changes for compatibility with Cacti 0.8.7's moved config file.


0.941 update - Bugfixes only. Fix for '-' DS names. Fix for logging chattiness. Hopefully a fix for 'doesn't refresh' problem.


Last edited by Howie on Sat Dec 01, 2007 9:06 am; edited 1 time in total
Back to top
diveboy



Joined: 09 Nov 2006
Posts: 11

PostPosted: Thu Nov 15, 2007 11:18 pm    Post subject: Reply with quote

Works a treat on my 0.8.7 thanks Howie
Back to top
adrianmarsh
Cacti User


Joined: 17 Aug 2005
Posts: 417
Location: UK

PostPosted: Fri Nov 16, 2007 7:56 am    Post subject: Reply with quote

I'm getting a bunch of log entries like the below, even though I'm set to quiet:

*****************************************************************
11/16/2007 12:55:46 PM - WEATHERMAP: Poller[0] poller_output done
poller_output starting
11/16/2007 12:55:46 PM - WEATHERMAP: Poller[0] *****************************************************************
*****************************************************************
Back to top
adrianmarsh
Cacti User


Joined: 17 Aug 2005
Posts: 417
Location: UK

PostPosted: Fri Nov 16, 2007 7:58 am    Post subject: Reply with quote

Oh wait.. for some reason 0.94 thinks one of the DSs is bad...
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Fri Nov 16, 2007 8:09 am    Post subject: Reply with quote

adrianmarsh wrote:
I'm getting a bunch of log entries like the below, even though I'm set to quiet:

*****************************************************************
11/16/2007 12:55:46 PM - WEATHERMAP: Poller[0] poller_output done
poller_output starting
11/16/2007 12:55:46 PM - WEATHERMAP: Poller[0] *****************************************************************
*****************************************************************


Ooops. You'll need to comment out two lines in setup.php - the ones that contain that text.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Fri Nov 16, 2007 9:47 am    Post subject: Reply with quote

adrianmarsh wrote:
Oh wait.. for some reason 0.94 thinks one of the DSs is bad...


Care to elaborate? (error messages, TARGET line...?)
Back to top
nduda78
Cacti User


Joined: 01 Mar 2005
Posts: 106

PostPosted: Mon Nov 19, 2007 12:06 pm    Post subject: Reply with quote

How does the new cactithold/monitor stuff work?
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Mon Nov 19, 2007 12:13 pm    Post subject: Reply with quote

nduda78 wrote:
How does the new cactithold/monitor stuff work?


Aside from what's in the manual? What isn't working?
Back to top
nduda78
Cacti User


Joined: 01 Mar 2005
Posts: 106

PostPosted: Mon Nov 19, 2007 12:48 pm    Post subject: Reply with quote

Howie wrote:
nduda78 wrote:
How does the new cactithold/monitor stuff work?


Aside from what's in the manual? What isn't working?


Where can I find this info in the manual? I'm new since .93 , but the manual looks the same, no search functions? Can you link me to these new features for cactithold/monitor
Back to top
nduda78
Cacti User


Joined: 01 Mar 2005
Posts: 106

PostPosted: Mon Nov 19, 2007 1:24 pm    Post subject: Reply with quote

Also, question.... The following line displays "0% of MB"

INBWFORMAT {node:node05688:inpercent}% of {node:node05688:max_bandwidth_in:%m}MB

The node in question is a router, 45MB bndwidth. I was the label to say something like "76% of 45MB". What is wrong in my syntax?
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Mon Nov 19, 2007 1:33 pm    Post subject: Reply with quote

nduda78 wrote:
Howie wrote:
nduda78 wrote:
How does the new cactithold/monitor stuff work?


Aside from what's in the manual? What isn't working?


Where can I find this info in the manual? I'm new since .93 , but the manual looks the same, no search functions? Can you link me to these new features for cactithold/monitor


http://www.network-weathermap.com/manual/latest/pages/config-reference.html#LINK_TARGET

and

http://www.network-weathermap.com/manual/latest/pages/targets.html#cactithold

Also, since I host a copy of the manual there IS a search function - Google Actually google hasn't picked up the new release yet, but normally, adding 'site:network-weathermap.com' to your search terms will do the trick. I'll see if I can get that to work a little nicer on the site.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Mon Nov 19, 2007 1:38 pm    Post subject: Reply with quote

nduda78 wrote:
Also, question.... The following line displays "0% of MB"

INBWFORMAT {node:node05688:inpercent}% of {node:node05688:max_bandwidth_in:%m}MB

The node in question is a router, 45MB bndwidth. I was the label to say something like "76% of 45MB". What is wrong in my syntax?


INBWFORMAT is for formatting the little 'bandwidth' boxes on links. If you want to do this for a NODE instead, use the LABEL keyword on a node.

Also, the %m should be %k, and you don't need the M after the } either - %k will add M,K,G etc as appropriate.

I think you are probably confused between nodes and links though. links have bandwidth, not nodes, usually. It's the T3 interface going to somewhere-or-other (the link) that has a bandwidth of 45Mbit, not the actual router. See what I mean?
Back to top
nduda78
Cacti User


Joined: 01 Mar 2005
Posts: 106

PostPosted: Mon Nov 19, 2007 2:05 pm    Post subject: Reply with quote

Ok, I got it, i am understanding now. Anyway to shorten the amount of digits after the "." .... I'd be happy knowing "75.45%" or something.


cacti.jpg
 Description:
 Filesize:  6.21 KB
 Viewed:  4649 Time(s)

cacti.jpg


Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Mon Nov 19, 2007 2:21 pm    Post subject: Reply with quote

nduda78 wrote:
Ok, I got it, i am understanding now. Anyway to shorten the amount of digits after the "." .... I'd be happy knowing "75.45%" or something.


Yes - {link:this:inpercent:%d}% (force it to an integer), or {link:this:inpercent:%.2f}% (2 decimal places) will do the trick.
Back to top
nduda78
Cacti User


Joined: 01 Mar 2005
Posts: 106

PostPosted: Mon Nov 19, 2007 3:00 pm    Post subject: Reply with quote

Howie, thanks for you help today. I've been able to redo many maps with the new features. One small side question, what is the syntax to get an image to appear in the hoverover of a link? Can OVERLIBCAPTION be used to point to a local png file? I was reading up on the special tokens and don't see that OVERLIBCAPTION can, maybe I am wrong.

Basically on my hoverover I want the title to say something, which i did with OVERLIBCAPTION. Then a small image (like the logo of the ISP being used on that link), then the normal bandwidth graph , and finally NOTES , which works fine.

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group