[mrtg] Re: External program problem (fwd)

Alex van den Bogaerdt alex at ergens.op.HET.NET
Fri Jul 28 01:07:33 MEST 2000


Aaron Dewell wrote:
> On Fri, 28 Jul 2000, Alex van den Bogaerdt wrote:
> > maxbytes set to 120 ...
> [...] 
> > ... and the input is 704.
> > 
> > Unless I'm making a huge mistake here, this can't be right.
> > 
> > Either your maxbytes setting is too low or the output of your script
> > is not correct.  Do you really have 704+ lines ?

> I have 960 lines.  960 / 8 = 120, since I'm counting the modems as bits,
> so MaxBytes is 120.  This is counting the entire pool, not just one 5300,
> of course.  Each individual one is 192.
> 
> So the 704 lines in use is valid for that moment in time.

The value returned by your script is assumed to be bytes.  This is the
value that is compared with MaxBytes and which is stored in the log file.

If you prefer to see bits instead of bytes, you can use the bits option
to influence the graphing part of MRTG.  It does not change the logging.

Set MaxBytes to 960 and remove the bits option (if any).  It should work
fine from that moment on.  You've lost historic data.

Be warned for future projects:
When you see a flat line (all those 70s) this means that there is something
wrong.  Either you missed several updates and MRTG copied the last known
value onto all others, or the input is above MaxBytes (or AbsMax, if any)
and it copied the last known good value.

If you would choose the UnknAsZero option, you would also see a flat line
but on the zero level.  In your case, I think this would be the better
choice as zero modems in use would alarm you probably.

regards,
-- 
   __________________________________________________________________
 / 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 |
+----------------------------------------------------------------------+
| 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