[smokeping-users] Problem using Smokeping RRD in PHPWeathermap
Tony DeMatteis
tonyd at commspeed.net
Fri Jun 27 15:18:18 CEST 2014
Greetings all,
I'm trying to use my smokeping rrds latency/loss in my PHPWeathermaps
and getting a "no valid data" error. Graph generates fine in the
smokeping Web UI so I know it's not a lack of data. I wouldn't think it
a scaling issue. And I can clearly see from the phpweathermap debug
output that it's seeing nan data. I have tried a number of other RRDs
with same result. They too show the nan data. Could someone shed some
light on this for me?
Thank you all very much...
td
admin at noc2:/www/phpweathermap/htdocs# /usr/local/bin/php -q weathermap
--config configs/smokeping_test.conf --bulge
WARNING: configs/smokeping_test.conf: ReadData: NODE node09727, target:
gauge:/www/phpweathermap/htdocs/fs_smokeping/Network/switches/sw-mm2sqpk.rrd:median:loss
on config line 49 of configs/smokeping_test.conf had no valid data,
according to WeatherMapDataSource_rrd
admin at noc2:/www/phpweathermap/htdocs# /usr/local/bin/php -q weathermap
--config configs/smokeping_test.conf --bulge --debug
DEBUG: [ReadData at Weathermap.class.php:892] configs/smokeping_test.conf:
ReadData for NODE node09727:
DEBUG: [ReadData at Weathermap.class.php:901] configs/smokeping_test.conf:
ReadData: New Target:
gauge:/www/phpweathermap/htdocs/fs_smokeping/Network/switches/sw-mm2sqpk.rrd:median:loss
DEBUG: [ReadData at WeatherMapDataSource_rrd.php:496]
configs/smokeping_test.conf: Special DS names seen (median and loss).
DEBUG: [ReadData at WeatherMapDataSource_rrd.php:516]
configs/smokeping_test.conf: SCALING result by 1
DEBUG: [ReadData at WeatherMapDataSource_rrd.php:574]
configs/smokeping_test.conf: RRD ReadData: Target DS names are median
and loss
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:322]
configs/smokeping_test.conf: RRD ReadData: traditional style
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:362]
configs/smokeping_test.conf: RRD ReadData: Running:
/usr/local/bin/rrdtool fetch
/www/phpweathermap/htdocs/fs_smokeping/Network/switches/sw-mm2sqpk.rrd
AVERAGE --start now-800 --end now
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:382]
configs/smokeping_test.conf: > 1403873700: nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:382]
configs/smokeping_test.conf: > 1403874000: nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:382]
configs/smokeping_test.conf: > 1403874300: nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:382]
configs/smokeping_test.conf: > 1403874600: nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:382]
configs/smokeping_test.conf: > DEBUG:
[wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:390]
configs/smokeping_test.conf: RRD ReadData: Read 5 lines from rrdtool
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:391]
configs/smokeping_test.conf: RRD ReadData: Headings
are: uptime loss
median ping1 ping2 ping3 ping4
ping5 ping6 ping7 ping8
ping9 ping10 ping11 ping12 ping13
ping14 ping15 ping16 ping17
ping18 ping19 ping20
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:400]
configs/smokeping_test.conf: --
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:400]
configs/smokeping_test.conf: --1403874600: nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:400]
configs/smokeping_test.conf: --1403874300: nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:400]
configs/smokeping_test.conf: --1403874000: nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:400]
configs/smokeping_test.conf: --1403873700: nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
DEBUG: [wmrrd_read_from_real_rrdtool at WeatherMapDataSource_rrd.php:455]
configs/smokeping_test.conf: RRD ReadDataFromRealRRD: Returning
(NULL,NULL,0)
DEBUG: [ReadData at WeatherMapDataSource_rrd.php:616]
configs/smokeping_test.conf: RRD ReadData: Returning (NULL,NULL,0)
More information about the smokeping-users
mailing list