[mrtg] rrd

Thorsten Clever tc at ndh.net
Thu May 31 09:39:57 MEST 2001


Hi all,

i have a very strange problem here.
I use rrdtool-1.0.28 and mrtg-2.090007 with the options growright, gauge and integer .
The script i use as target is a perl script and the output is something like this:

10
4
0
machinename.domain.com

fine so far but in the rrd file it comes out like this :

<!-- 2001-05-29 15:05:00 MET DST --> <row><v> 1.5053333333e+01 </v><v> 1.7254666667e+02 </v></row>
<!-- 2001-05-29 15:10:00 MET DST --> <row><v> 1.0000000000e+00 </v><v> 1.2240000000e+01 </v></row>
<!-- 2001-05-29 15:15:00 MET DST --> <row><v> 2.2666666667e-01 </v><v> 0.0000000000e+00 </v></row>
<!-- 2001-05-29 15:20:00 MET DST --> <row><v> 0.0000000000e+00 </v><v> 0.0000000000e+00 </v></row>
<!-- 2001-05-29 15:25:00 MET DST --> <row><v> 0.0000000000e+00 </v><v> 0.0000000000e+00 </v></row>
<!-- 2001-05-29 15:30:00 MET DST --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2001-05-29 15:35:00 MET DST --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2001-05-29 15:40:00 MET DST --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2001-05-29 15:45:00 MET DST --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2001-05-29 15:50:00 MET DST --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2001-05-29 15:55:00 MET DST --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2001-05-29 16:00:00 MET DST --> <row><v> NaN </v><v> NaN </v></row>


There is _no_ way that the script prints comma values.
Why does rrd write the database so strange?
There is no timeout or something cause i piped the output through a tee and i can
see that the script works fine.

thanks allready.
Thorsten

-- 

PIRONET NDH AG
Thorsten Clever - System Architect - ASP
Theodor-Heuss-Strasse 92-100 - 51149 Cologne - Germany
Phone: +49 (0)2203 935 300 - Fax: +49 (0)2203 935 3099
mailto:tc at ndh.net - http://www.pironet-ndh.com

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list