[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wrong scale value being used
- From: Dunc <dunc.lockwood@xxxxxxxxxxxxx>
- Subject: Wrong scale value being used
- Date: Thu, 18 Mar 2010 15:14:36 +0000
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 The relevant bits are here........ DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:964] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: ReadData complete for LINK Chiller-3Condenser-3Return: 22.5 22.5 DEBUG: [NewColourFromPercent@xxxxxxxxxxxxxxxxxxxx:1256] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: NCFPC Chiller-3Condenser-3Return CONDENSERRETSCALE 2.25E-5 '' 0_1 0 0 0 DEBUG: [NewColourFromPercent@xxxxxxxxxxxxxxxxxxxx:1256] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: NCFPC Chiller-3Condenser-3Return CONDENSERRETSCALE 2.25E-5 '' 0_1 0 0 0 Now in my scale, I have black (0 0 0) for values between 0 and 1, and so the generated colour is correct for what it thinks the value is, but I've got no idea why the value changes from 22.5 to 2.25E-5 within the space of a line above. Anyone any ideas? By the way, this happened with 0.97 but I've got the same behaviour with 0.97a too as I've just tried it. 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. ----
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:892] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: ReadData for LINK Chiller-3Condenser-3Return:
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:901] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: ReadData: New Target: gauge:{link:this:target}:ds0:ds1
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:496] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: Special DS names seen (ds0 and ds1).
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:516] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: SCALING result by 1
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:574] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: RRD ReadData: Target DS names are ds0 and ds1
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:322] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: RRD ReadData: traditional style
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:362] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: RRD ReadData: Running: /usr/bin/rrdtool fetch /home/mrtg/workdir/ASHENVIRODEV/ash-sens-1port2subport1.rrd AVERAGE --start now-800 --end now
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919180: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919240: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919300: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919360: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919420: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919480: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919540: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919600: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919660: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919720: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919780: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919840: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919900: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > 1268919960: nan nan
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:382] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: > DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:390] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: RRD ReadData: Read 15 lines from rrdtool
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:391] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: RRD ReadData: Headings are: ds0 ds1
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:400] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: --
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:400] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: --1268919960: nan nan
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:400] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: --1268919900: 2.2500000000e+01 2.2500000000e+01
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:421] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: 2.2500000000e+01 is OK value for ds0
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:421] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: 2.2500000000e+01 is OK value for ds1
DEBUG: [wmrrd_read_from_real_rrdtool@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:455] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: RRD ReadDataFromRealRRD: Returning (2.2500000000e+01,2.2500000000e+01,1268919900)
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:616] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: RRD ReadData: Returning (22.5,22.5,1268919900)
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:950] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: Aggregate so far: 22.5 22.5
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:957] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: DataTime MINMAX: 1268919900 -> 1268919900
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:964] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: ReadData complete for LINK Chiller-3Condenser-3Return: 22.5 22.5
DEBUG: [NewColourFromPercent@xxxxxxxxxxxxxxxxxxxx:1256] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: NCFPC Chiller-3Condenser-3Return CONDENSERRETSCALE 2.25E-5 '' 0_1 0 0 0
DEBUG: [NewColourFromPercent@xxxxxxxxxxxxxxxxxxxx:1256] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: NCFPC Chiller-3Condenser-3Return CONDENSERRETSCALE 2.25E-5 '' 0_1 0 0 0
DEBUG: [add_note@xxxxxxxxxxxxxxxxxxxx:106] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: Adding note inscalekey='0_1' to Chiller-3Condenser-3Return
DEBUG: [add_note@xxxxxxxxxxxxxxxxxxxx:106] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: Adding note outscalekey='0_1' to Chiller-3Condenser-3Return
DEBUG: [add_note@xxxxxxxxxxxxxxxxxxxx:106] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: Adding note inscaletag='' to Chiller-3Condenser-3Return
DEBUG: [add_note@xxxxxxxxxxxxxxxxxxxx:106] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: Adding note outscaletag='' to Chiller-3Condenser-3Return
DEBUG: [add_note@xxxxxxxxxxxxxxxxxxxx:106] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: Adding note inscalecolor='#000000' to Chiller-3Condenser-3Return
DEBUG: [add_note@xxxxxxxxxxxxxxxxxxxx:106] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: Adding note outscalecolor='#000000' to Chiller-3Condenser-3Return
DEBUG: [ReadData@xxxxxxxxxxxxxxxxxxxx:1031] /usr/local/etc/mrtg-tbsh/weathermap/ASHENVIRODEV/php_weathermap.conf: ReadData: Setting 22.5,22.5
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Re: [php-weathermap] Wrong scale value being used
- From: Howard Jones
- Re: [php-weathermap] Wrong scale value being used
- Prev by Date: PHP Weathermap 0.97a released
- Next by Date: Re: [php-weathermap] Wrong scale value being used
- Previous by thread: PHP Weathermap 0.97a released
- Next by thread: Re: [php-weathermap] Wrong scale value being used
- Index(es):