You must use TWO OIDs, not one, not three, but two.  They must be joined

in the center with an ampersand, otherwise, the magical divination 
shall not work.

Try something like:

Target[milesv_cpu]:
.1.3.6.1.4.1.42.3.13.1&.1.3.6.1.4.1.42.3.13.1:[EMAIL PROTECTED]:


I can't remember if you need the leading dot in each OID or not...

Paul

>>> "Brian Steele" <[EMAIL PROTECTED]> 1/25/2005 9:45:14
AM >>>
I'm attempting to use MRTG to monitor CPU time on a Solaris 9 server. 
I
cannot figure out how to set up the Target line.  Snmpwalk works fine
with the specified OID.  Here is an example:
 

>snmpwalk -v 1 -c public 192.168.150.250 .1.3.6.1.4.1.42.3.13.1

SNMPv2-SMI::enterprises.42.3.13.1.0 = Counter32: 29628917

 

However, when I set the target line to: 

 

Target[milesv_cpu]: .1.3.6.1.4.1.42.3.13.1:[EMAIL PROTECTED]: 

 

The result is:

 

0' instead of a numberpu][_IN_] '.1.3.6.1.4.1.42.3.13.
$target->[8]{$mode} ' evaluated to '*

0' instead of a numberpu][_OUT_] '.1.3.6.1.4.1.42.3.13.
$target->[8]{$mode} ' evaluated to '*

 

Why does one work and the other not?

 

Brian

 



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