[mrtg] Monitor Solaris CPU from MRTG

Brian Steele bsteele at morrisprintinggroup.com
Tue Jan 25 15:45:14 MET 2005


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



More information about the mrtg mailing list