[mrtg] Re: Use of the Target directive

Ivette Reategui reategi at mail.nlm.nih.gov
Wed Nov 21 14:00:46 MET 2001


Daniel, I read about the explicit OIDs, but I wanted to use the MIB variables instead.  Any idea why this is not working would be appreciated.

Thanks,

- Ivette

>>> "Daniel R . Kilbourne" <drk at netophilia.net> 11/20/01 06:23PM >>>
RTFM : 


directly from http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html  -  


Explicit OIDs

You can also explicitly define the OID to query by using the following syntax 'OID_1&OID_2:community at router' The following example will retrieve error counts for input and output on interface 1. MRTG needs to graph two variables, so you need to specify two OID's such as temperature and humidity or error input and error output. 
Example:

 Target[ezwf]: 1.3.6.1.2.1.2.2.1.14.1&1.3.6.1.2.1.2.2.1.20.1:public at myrouter





Ivette Reategui extolled:
> 
> Target[at-1/0/0.1-bps]:: Too many arguments
> [1] 23037
> ifOutOctets.1 at 10.10.10.10: Command not found
> 
> [1]    Exit 1               Target[at-1/0/0.1-bps]: ifInOctets.1

-- 
--------------------------------
    Daniel R. Kilbourne
    drk at netophilia.net 
________________________________


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