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    


Less than percentage in scales

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



Joined: 05 Apr 2008
Posts: 16

PostPosted: Wed Apr 16, 2008 3:59 pm    Post subject: Less than percentage in scales Reply with quote

Hi,

I'm just wondering if it is possible to change the text that is displayed next to the colour in the key, to say <10%, for example, instead of 5% - 10%.

This is because my scale has a lot of values for very low percentages (0.001 - 0.05%), and they are a bit too long to fit on the map!

Thanks a lot,

Rob

Edit: Thinking about this more, is there a way to DEFINE scales as less than, or greater than, as well as just displaying them that way?
Back to top
Howie
Cacti Guru User


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

PostPosted: Wed Apr 16, 2008 5:02 pm    Post subject: Reply with quote

The answer is no on both of those... I think there will be some legend-related tweaking after the next release, because that stuff hasn't really changed in a while.

You might like to try KEYSTYLE horizontal or KEYSTYLE vertical though, if you have a lot of scale lines.
Back to top
robgolding63



Joined: 05 Apr 2008
Posts: 16

PostPosted: Thu Apr 17, 2008 9:13 am    Post subject: Reply with quote

Okay, I had just seen a weathermap somewhere with a scale like:

Code:

<0.001%
<0.01%
<0.05%
<0.1%
<0.5%
<1%

etc.

It's quite possible that the scale was drawn into the background image, however, or that it was made in the perl version of weathermap or something.

Anyway, would you have any tips on making scales suitable for extremely low traffic percentages? Everyone seems to use 0-20% for the first category, when my bandwidth usage never goes much above 1%. That's because this is a 100/1000 LAN, and the traffic usage sits around 10-100K, unless something like a file copy is going on, when there is a massive spike, then it all calms back down again.

At the moment I'm using this scale:

Code:

SCALE DEFAULT 0   0   220 220 220

SCALE DEFAULT 0   0.001   202 225 255
SCALE DEFAULT 0.001   0.005   176 226 255
SCALE DEFAULT 0.005   0.01   135 206 255
SCALE DEFAULT 0.01   0.05   0 191 255    
SCALE DEFAULT 0.05   0.1   0 154 205
SCALE DEFAULT 0.1   0.5   24 116 205

SCALE DEFAULT 0.5   1   154 255 154
SCALE DEFAULT 1   2   67 205 128
SCALE DEFAULT 2   5   46 139 87

SCALE DEFAULT 5   10   238 197 145
SCALE DEFAULT 10   30   205 170 125
SCALE DEFAULT 30   60   255 165 79
SCALE DEFAULT 60   70   238 118 33
SCALE DEFAULT 70    80   205 79 57
SCALE DEFAULT 80    90   255 64 64
SCALE DEFAULT 90    100   139 0 0


Which gives a lot of detail very low down, and not much higher up. I'm trying to achieve something with even more detail, but can't really find enough colours! A gradient scale would be nice, but with a lot of experimenting I can't seem to get enough detail .

The above scale produces this:

Thanks a lot,

Rob



scale.png
 Description:
 Filesize:  3.95 KB
 Viewed:  791 Time(s)

scale.png


Back to top
Howie
Cacti Guru User


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

PostPosted: Thu Apr 17, 2008 9:21 am    Post subject: Reply with quote

It was probably a different weathermap package - I'm not the only game in town

Personally, I just use as many bands as I feel, and use either vertical or horizontal keys. It depends a lot on what you want to use the map for. I use them as a quick overview, rather than something I can take detailed readings directly from. After all, Cacti is there in the background, and the current bandwidth is printed on the links (if you use BWLABEL bits).
Back to top
robgolding63



Joined: 05 Apr 2008
Posts: 16

PostPosted: Thu Apr 17, 2008 9:23 am    Post subject: Reply with quote

Yeah it probably was. I think the only reason I'm looking for more detail really, is that otherwise my map is just constantly all one colour. I like to be able to trace where the traffic is flowing .

Thanks again anyway, I'll just do some more experimenting and report back!

Rob
Back to top
Howie
Cacti Guru User


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

PostPosted: Thu Apr 17, 2008 9:49 am    Post subject: Reply with quote

robgolding63 wrote:
Yeah it probably was. I think the only reason I'm looking for more detail really, is that otherwise my map is just constantly all one colour. I like to be able to trace where the traffic is flowing .

Thanks again anyway, I'll just do some more experimenting and report back!

Rob


You could also look at gradient scales, I guess.
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