[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [php-weathermap] Wrong scale value being used



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Howard Jones wrote:
> Dunc wrote:
>> Hi all,
>>
>> I've got a weird one which I hope someone can help me debug. I've
>> attached a file with the relevant debug output.
>>
>> I'm monitoring some temperatures, and most are working just fine, but on
>> one link the value read, and the value used to generate the colour are
>> out by a factor of 10^6
>>   
> You didn't include the most relevant debugging output - the config - but
> the default link bandwidth is 100M. My guess is that you haven't set it
> differently, and that 22.5/100000000 gets you a utilisation of 2.2e-5%,
> and therefore black.
> 
> Scales are based on percentages of maximum bandwidth, unless you use the
> 'absolute' option introduced in 0.97, which has a few limitations
> regarding things like legend formatting.

You're absolutely right.

I even compared this section of config to a working one too, obviously
not very well :-)

I've just switched everything to absolute and it's all fine.


Thanks very much Howard, and keep up the good work with weathermap.

Cheers,

Dunc

- --
Duncan Lockwood
Principle Network Engineer

The Bunker Secure Hosting Limited
Ash Radar Station
Marshborough Road
Sandwich
Kent CT13 0PL
UNITED KINGDOM

t: 01304 814 800
f: 01304 814 899
e: dunc@xxxxxxxxxxxxx
w: www.thebunker.net
PGP on Key Servers

- ----
This email and any attachments it may contain is confidential and solely
intended for the use of the named addressee(s) only. Any views or
opinions presented are solely those of the author and do not necessarily
represent those of The Bunker. If you are not the intended recipient,
be advised that you have received this email in error and that you
should not rely on it or take any action based on it. You should not
publish, use, disseminate, print, forward or copy this email as it is
strictly prohibited. Please contact the sender if you have received this
email in error and destroy it.
- ----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuiSTUACgkQOZKi9YO9TB5VoQCcCqxPEZrtxcJcnza84+kBSNcL
jPkAnit+RSptJ5jKoMmjJBjPkGSzSQUc
=NgdP
-----END PGP SIGNATURE-----

Copyright 1994-2005, by Howard Jones. howie@thingy.com