[mrtg] Re: can i kill it yet? <angst>

Chairman of the Bored list-mrtg-talk at L7.org
Fri Jan 12 02:16:24 MET 2001



hi guys,

I have a perl script that talks to a device over a serial link.

3 runs of the perl script:

root at franken-bsd (/home/mrtg/run)# ./test.pl
300118
500440
0
0
root at franken-bsd (/home/mrtg/run)# ./test.pl
300450
500382
0
0
root at franken-bsd (/home/mrtg/run)# ./test.pl
300779
500124
0
0

show the perl script works.

the config file :

WorkDir: /home/stats/
#.....................................................................
Target[test]: `/home/mrtg/run/test.pl`
MaxBytes[test]: 1250000000
Options[test]: growright, bits
Title[test]: test
PageTop[test]:<H3>Analysis</H3>
  <TABLE>
    <TR><TD>System:</TD><TD>efi at noc2</TD></TR>
    <TR><TD>Interface:</TD><TD>serial</TD></TR>
    <TR><TD>Max Speed:</TD><TD>fast</TD></TR>
    <TR><TD>Purpose in life:</TD><TD>geek stuff</TD></TR>
  </TABLE>
#---------------------------------------------------------------------

looks okay to me.

so i type

root at franken-bsd (/home/mrtg/run)# ./mrtg test.cfg
root at franken-bsd (/home/mrtg/run)# 

which gives me no errors after it creates the logfiles the first time.

however, after 60 minutes the log file looks like this:

979261801 300173 500851
979261801 0 0 0 0
979261501 0 0 0 0
979261500 0 0 1 1
979261200 1 1 21 4
979260900 1 3 21 35
979260600 0 0 0 0
979260300 0 0 0 0

which looks way wrong to me....

(should be in the 300,000 and 500,000 ranges according to my perl output)

suggestions?
-dd


                                \\\\\//                                    
       \\|//       _\\|//_      |     |      _\\|//_       \\|//           
       (@ @)      (' 0-0 ')     (.) (.)     (' @-@ ')      (o-o)           
+-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+    
                | Level Seven inc. http://www.L7.net/ |                 /"\
   The worlds "one stop" InterNetworking Provider 1 (360) 753 - 3556    \ /
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+  X 
ASCII Ribbon campaign against HTML E-Mail >- - - - - - - - - - - - - -> / \ 

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