Here's the config...

WorkDir: ##################
Interval: 60
Include: /home/mrtg/lib/mrtg-globals.cfg

Target[########-spam]: `ssh -n ####### "cat /tmp/mrtg-spam.out"`
MaxBytes[########-spam]: 10000
Options[########-spam]: noo, nopercent, integer, gauge, withzeroes,
unknaszero
XSize[########-spam]: 400
YSize[########-spam]: 100
YLegend[########-spam]: # of spams
ShortLegend[########-spam]: msgs
LegendI[########-spam]:  # of spams:
Title[########-spam]: ######## Spam Stats
PageTop[########-spam]:<H2>Spam stats for ########</H2>

The dmz machine runs the script and output to tmp dir and this just gets it,
I find this easier than MRTG actually collecting the data. This is run
through a cron script at 10 after the hour.

The values returned are calculated for the last hour and are generally > 50
< 200 but never zero.

-----Original Message-----
From: PAUL WILLIAMSON [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 08, 2003 2:49 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [mrtg] Re: Long Intervals



It might retrun a value that get's normalized to less than one.

Have you tried putting in either perminute or perhour directives?

Is the number a gauge or a counter?

Post a brief part of the config and maybe that will give some more insight.

Paul

>>> Derek Winkler <[EMAIL PROTECTED]> 01/08/03 02:37PM >>>

Does anyone have experience with long intervals?

I have a config with interval set to 60, once every hour.

I've confirmed that my script never returns zero values but MRTG often
displays zero values in the graphs, sometimes every other hour, sometimes
every third, sometimes a couple in a row.

I never get any error messages from MRTG and the logfile itself has the zero
values.

It just seems to get very confused.



--
Unsubscribe mailto:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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

Reply via email to