[mrtg] Re: Mailstats
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Thu Dec 27 04:20:54 MET 2001
David Gitman wrote:
>
> All this "mailstats" talk got me wondering. I decided to get it running
> and now I'm seeing some funkiness. In the MRTG log file (host.mail.log),
> only the first line has data (1009394402 878 2005). I look at the file
> again after MRTG runs a few times and the first line increments
> (1009394701 894 2054) but all the lines underneath report "0 0 0 0"
> (1009394701 0 0 0 0). Any ideas why it's not updating?
The numbers go from 878 to 894, and from 2005 to 2054. This happens
in 299 seconds. This means you have an increase of 16 and 49 in 299
seconds which is 16/299 and 49/299 per second. This is too little
for a normal counter however you could try to use the perhour option.
You are using gauge (learned this from your other mail) so it should
just work.
Check the script for unusual characters such as control characters.
Try another MRTG version.
Try running a test script, one that just reads something like
#!/bin/bash
echo 900
echo 3000
and see if this shows up.
Check your configuration for undesired options, perhaps on the [^]
target (and similar ones).
Try building a new config file, just the mailstats in it.
enough to do for now I guess :)
cheers,
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/ |
| http://rrdtool.eu.org --> tutorial |
+----------------------------------------------------------------------+
--
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