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    


Linkstatus stays green in weathermap when target device down

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
polletj
Cacti User


Joined: 30 Aug 2006
Posts: 51
Location: Antwerp/Belgium

PostPosted: Wed Feb 28, 2007 5:54 am    Post subject: Linkstatus stays green in weathermap when target device down Reply with quote

When the target device is down then the linkstatus stays green for that interface.

Solution:

SCALE 1 70 0 255 0
SCALE 70 100 255 0 0

iso

SCALE 0 70 0 255 0
SCALE 70 100 255 0 0


Then the link color will change into grey.


Back to top
Howie
Cacti Guru User


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

PostPosted: Sat Mar 03, 2007 9:51 am    Post subject: Re: Linkstatus stays green in weathermap when target device Reply with quote

polletj wrote:
When the target device is down then the linkstatus stays green for that interface.

Solution:

SCALE 1 70 0 255 0
SCALE 70 100 255 0 0

iso

SCALE 0 70 0 255 0
SCALE 70 100 255 0 0


Then the link color will change into grey.




yep. Weathermap doesn't know about link status. It only follows the data you give it If you say to colour from 0, then it will!

One other thing you can do in 0.9 (it may work in 0.8x too, actually):
Code:
SCALE 0 0  192 192 192
SCALE 0 70 0 255 0
SCALE 70 100 255 0 0


So you can specify a colour for EXACTLY 0, and another for 0.000001 onwards In 0.8 I belive it'll work but you must list the 0-0 line first. 0.9 has had the sorting function fixed so it will work for any line-order.
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
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group