[mrtg] Re: mrtg + mimesweeper

PAUL WILLIAMSON pwilliamson at mandtbank.com
Tue Jan 28 16:16:24 MET 2003


Simple.  RTFM.

Output should be in the format:

green value
blue value
uptime
system name

You only need green value, then put 0 for the rest of the values 
if you want.

Paul

>>> "Ed Slavin" <edslavin at hotmail.com> 01/28/03 10:04AM >>>

I would like to create graphs for the mimesweeper filter areas (spam, 
obscene, etc.) this will show the # of msg in each area. Using perl to count 
the number of .a files in a given DIR will be equal to the amount in that filter.. I can output this very similar to the 'regular' mrtg log files - here's my question(s):
1) Must I format the top line of the log as time, total in, total out??
(if so this adds lots of math I was trying to avoid, of course I would then lose total counts...)
2) for all subsequent lines I only need the real value so was going to use the real value and just plug 3 zeros in after it:

1043765576 22 0 0 0
1043765577 2 0 0 0

to get MRTG to read/graph it as it would normally without an external perl script to parse it..

Any ideas on how to get the top line of the log 'correct' that is, actual running totals.. ANY help is APPRECIATED!! ir if someone has done this 
already and doesnt mind sharing some code ;)



_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail 

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


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