[mrtg] Re: Syntax problems.

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Apr 10 15:48:29 MEST 2001


McClain, Dave wrote:

> I am a newbie that is having problems with creating the configuration files.
> I have several routers that I need to monitor.  Aside from monitoring the
> usual interface in and out packets that you get with a standard config., I
> also need to monitor ifInErrors.  The id for this is 1.3.6.1.2.1.2.2.1.14.
> 
> Can someone help me with the syntax that I need to use?  I am still hung up
> on the use of the target, and loadmib commands.  Also, can I put the
> commands for each of the 24 routers I need to monitor in one config file, or
> do I need to use a separate config for each router.

To answer that last question first: it is at your discretion.

If you specify the OID in numeric format, you don't have to use loadmibs.

For more information, see 
http://faq.mrtg.org/FAQ023.html
http://faq.mrtg.org/FAQ005.html
http://faq.mrtg.org/FAQ006.html

Also, not *yet* in the faq (but coming soon):
if you use a normal counter in the normal way, and receive less than 300
errors per 5 minutes, you'll end up with < 1 per second.  This is rounded
down to 0 by MRTG. Use the perminute or perhour option.

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 |
+----------------------------------------------------------------------+
| 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