I believe that I read somewhere that if the date timestamp passed to target is different then the current timestamp that this will result in a zero.
In otherwords if there is a delay in receiving the data it can result in a zero.
Enclosed is the full configuration.
-------- ck-temp.cfg
WorkDir: C:\inetpub\wwwroot\MRTG
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
Options[_]: growright, bits
# to Run as Daemon
RunAsDaemon: yes
# START RDTOOL Add-ons -------------------------------------
# Modify Logfiles (*.log) to RRD format (*.rrd)
LogFormat: rrdtool
# RRD Executable (rrdtool.exe) location
PathAdd: e:\rrd\rrdtool\bin
# RRD Perl module (RRDs.pm) location
LibAdd: e:\rrd\rrdtool\bindings\perl-shared
# STOP RDTOOL Add-ons -------------------------------------#
EnableIPv6: no
### Explicit Defaults for routers.cgi
routers.cgi*Ignore: yes
routers.cgi*Icon: temp-sm.gif
routers.cgi*ShortDesc: Weather
Include: config\weather.cfg
-------- weather.cfg
Target[weather_1]: `E:\mrtg-2.15.2\bin\ck_temp.pl 22172`
MaxBytes[weather_1]: 200
Unscaled[weather_1]: dwym
YLegend[weather_1]: Temp/Feels Like
ShortLegend[weather_1]: ° F
WithPeak[weather_1]: ymwd
LegendI[weather_1]: Temp Outside
LegendO[weather_1]: Feels Like Outside
Legend1[weather_1]: Temp Outside
Legend2[weather_1]: Feels Like Outside
Options[weather_1]: gauge,nopercent,unknaszero
Title[weather_1]: Temperature for Triangle, Va.
PageTop[weather_1]: <H1>Temperature according to weather.com</H1>
Target[weather_2]: `E:\mrtg-2.15.2\bin\ck_humid.pl 22172`
MaxBytes[weather_2]: 100
Unscaled[weather_2]: dwym
YLegend[weather_2]: Humidity/Dew Point
ShortLegend[weather_2]: %
WithPeak[weather_2]: ymwd
LegendI[weather_2]: Humidity
LegendO[weather_2]: Dew Point
Legend1[weather_2]: Humidity
Legend2[weather_2]: Dew Point
Options[weather_2]: gauge,nopercent,unknaszero
Title[weather_2]: Humidity/Dew Point for Triangle, Va.
PageTop[weather_2]: <H1>Statistics according to weather.com</H1>Statistics: Posted by billf57 — Fri Jul 25, 2008 2:21 am
]]>