[mrtg] Probleme with .log .old file

Jean-Edouard BABIN listes at jeb.com.fr
Thu Aug 1 23:55:28 MEST 2002



Hi,

today i have add this to my mrtg.cfg:

Target[dns]: `sh /home/jeb/mrtg/bin/script/named.sh`
Options[dns]: growright,nopercent
Title[dns]: DNS statististics
MaxBytes[dns]: 320000
AbsMax[dns]: 640000
PageTop[dns]: <H1><center>DNS statististics</center></H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>NS1</TD></TR>
 </TABLE>
YLegend[dns]: Number of Query
ShortLegend[dns]: query
Legend1[dns]: number of success query
Legend2[dns]: number of recursion query
Legend3[dns]: max number of success in 5 minutes
Legend4[dns]: max number of recursion in 5 minutes
LegendI[dns]: &nbsp;success 
LegendO[dns]: &nbsp;recursion 
WithPeak[dns]: ymw

and i have restart mrtg...
sh /home/jeb/mrtg/bin/script/named.sh give
14513
1133
109 days and 5H19
NS1

and my .log is strange:
$ head /home/httpd/www/mrtg/test.log 
1028238465 14513 1133
1028238465 0 0 0 0
1028238165 0 0 0 0
1028238000 0 0 0 0
1028237700 0 0 0 0
1028237400 0 0 0 0

but mrtg was restarted for one hours (with 5 minutes interval)
i tryed with gauge and that work, but i don't want to use gauge because the
number should increase...
i am using mrtg 2.9.21

-- 
Jean-Edouard BABIN
Jeb-Soft: http://www.jeb.com.fr

--
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