[mrtg] Re: Need help with current status values

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Feb 27 00:53:15 MET 2001


Icar wrote:

> 1 - Values are incremented each time MRTG do an update (5 mins). The amount
> is the number of emails send/received last 5 mins
> 2 - Values are number of emails send/received last 5 mins. So they are reset
> each time.

MRTG can process both.  For the second option you'd need to use ABSOLUTE.

However, your problem will most likely be different.

MRTG displays <something>s per SECOND.  If you graph below 300 mails
per 5 minutes (300 seconds) you end up with a number below 1.  The
integer below 1 is 0 and if 0 is displayed, er, you don't see much.

> I tried a lot of options in mrtg.cfg but i never get the correct value
> returned by script.

You should *never* see the numbers exactly as they are.  The closest you
can get is when you're monitoring things like temperature and in that case
you would use gauge.  However, you shouldn't do so.

> So i can send values reset all 5 mins or values always incremented but can
> anyone help me with mrtg.cfg file please ?

> Options[mailmsgs]: integer,noinfo,nopercent,growright,withzeroes

1) Check if the numbers make it into the log file at all.  Just look
   at the 1st line of the log.  Those numbers should be the same or
   else you're script doesn't return the data in the correct format
2) Check if those numbers are above 300.  If they are not, you have
   to graph mails per minute or even mails per hour.  There are
   options to do so
3) If this doesn't help, create a script that just returns the
   numbers 20000 and 30000. Use the absolute option and see if it
   is graphed.  If it is not, your MRTG installation doesn't work
   properly, if it does get graphed your original script doesn't work

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