[mrtg] Re: Monitor Solaris CPU from MRTG

PAUL WILLIAMSON pwilliamson at mandtbank.com
Tue Jan 25 15:53:24 MET 2005


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:public at 192.168.150.250:


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

Paul

>>> "Brian Steele" <bsteele at morrisprintinggroup.com> 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:public at 192.168.150.250: 

 

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



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