[mrtg] Re: Log file not updating

Krawczyk, Jeff Jeff.Krawczyk at weamfg.com
Tue Aug 3 23:06:32 MEST 1999


Thank You. This worked! However I have added 5 more "targets" to my config
file and the funny thing is some of these log files update and some
don't???? I'lll look more into this tomorror.

Thanks again!!
Jeff

-----Original Message-----
From: Alex van den Bogaerdt [mailto:alex at slot.hollandcasino.nl]
Sent: Tuesday, August 03, 1999 3:03 PM
To: Jeff.Krawczyk at weamfg.com
Cc: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Log file not updating


> Senerio: I want to monitor a Unix box and the item I want to monitor is
User
> CPU Usage.
> 
> Here is the output from my snmputil and telnet session:
> Variable = .iso.org.dod.internet.private.enterprises.11.2.3.1.1.13.0
> Value    = Counter - 254159000
> tweety$ snmpgetone tweety public 1.3.6.1.4.1.11.2.3.1.1.13.0
> computerSystemUserCPU.0 = 254164100
>
----------------------------------------------------------------------------

It looks like you are monitoring the total number of seconds.
This is a COUNTER so you should definately drop the GAUGE option.

There is another problem.
You are monitoring something that won't update more than once a
second. Therefore, when dividing it by the number of seconds, you
will always get a number below one. MRTG will round this down to
zero.

Problem number three: You've defined maxbytes. How can you be sure it
won't go over 100 ?


So:
Drop the gauge and maxbytes.
Start using per minute or perhour, or multiply by 300.


Regards,
Alex

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list