[mrtg] Re: MRTG not saving history of plot in .log files

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sat Oct 6 01:13:18 MEST 2001


Oliver Schulze L. wrote:

> I'm trying to plot the sendmail traffic using mailstats(8)

How many mails are transfered every second?
> 
> The problem is that the .log file, always look like:
> 1002189578 200 10

In == 200, out == 10.  So, you probably have less than one
message per second.  After dividing by 300 you end up with
a number below 1.  The integer below 1 is 0.

> WorkDir: /var/www/html/intranet/status/mrtg
> Options[_]: growright, integer

[...]

> Options[sendmail_inet]: growright

This line makes "growright, integer" disappear.  The default as
specified with "[_]" is not used because you specify a target
specific options line.

> The script in the target contains:
> #!/bin/sh
> echo "200"
> echo "10"
> echo "5 days"
> echo "your.host.com"
> exit 0

Right.  Now go to http://faq.mrtg.org/ and read the Intro to monitoring.
Pay extra attention to "difference" and/or "delta".

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