<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>This is the paragraph I’m using, it does work on Server 2003.
There is a difference in the oid’s for 2000 and 2003, I think. I do see a
difference between your oid and mine. I don’t know if that’s it, though. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Target[Server-cpu]:.1.3.6.1.4.1.311.1.1.3.1.1.33.9.0&amp;.1.3.6.1.4.1.311.1.1.3.1.1.33.9.0:public@Server
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>AbsMax[Server-cpu]: 100 <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>MaxBytes[Server-cpu]: 100 <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Title[Server-cpu]: CPU Utilization (average) <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>PageTop[Server-cpu]: CPU Utilization &lt;h1&gt;Cpu Utilization
for Server&lt;/h1&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Options[Server-cpu]: gauge,growright,nopercent, noo <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>YLegend[Server-cpu]: CPU Utilization <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>ShortLegend[Server-cpu]: % <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>LegendI[Server-cpu]:&amp;nbsp;CPU Utilization
(percentage)&amp;nbsp<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Bob Grabbe</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Michigan Proteome Consortium</span><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>University of Michigan</span><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>bgrabbe@umich.edu<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>_____________________________________________________________<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>If we knew what we were doing, it wouldn't be called research,
would it ?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>--Albert Einstien</span><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
mrtg-bounces@lists.oetiker.ch [mailto:mrtg-bounces@lists.oetiker.ch] <b>On
Behalf Of </b>Toto Capuccino<br>
<b>Sent:</b> Monday, June 04, 2007 11:51 AM<br>
<b>To:</b> mrtg@lists.oetiker.ch<br>
<b>Subject:</b> [mrtg] OIDs query not working from mrtg but working from
command line<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Hi<br>
<br>
I just installed mrtg and i am reading the doc.<br>
I would like to create a graph of CPU utilization of Windows 2003 server.<br>
I have a simple OID to query:<br>
&nbsp;1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108<br>
<br>
It works from the command line<br>
snmpget -v 1 -c press@nyKey <a href="http://10.2.1.3">10.2.1.3</a>&nbsp;
1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108<br>
SNMPv2-SMI::enterprises.9600.1.1.5.1.5.6.95.84.111.116.97.108 = Gauge32: 0 <br>
<br>
So i have started writing my cfg file<br>
Target[<a href="http://10.2.1.3">10.2.1.3</a>]:
1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108&amp;1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108:press\@nyKey@<a
href="http://10.2.1.3"> 10.2.1.3</a><br>
Title[<a href="http://10.2.1.3">10.2.1.3</a>]: Cpu Utilzation for nlamssv03<br>
MaxBytes[<a href="http://10.2.1.3">10.2.1.3</a>]: 100<br>
<br>
It doesn't work.<br>
<br>
I get this error :<br>
env LANG=C /usr/bin/mrtg test2.cfg<br>
SNMP Error:<br>
Received SNMP response with error code<br>
&nbsp; error status: noSuchName<br>
&nbsp; index 2 (OID: 1.3.6.1.4.1.9600.1.1.5.6.95.84.111.116.97.108)<br>
SNMPv1_Session (remote host: &quot;<a href="http://10.2.1.3"> 10.2.1.3</a>&quot;
[<a href="http://10.2.1.3">10.2.1.3</a>].161)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
community: &quot;press@nyKey&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
request ID: 1534273303<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PDU bufsize: 8000 bytes<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
timeout: 2s <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
retries: 5<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
backoff: 1)<br>
&nbsp;at /usr/share/perl5/SNMP_util.pm line 490<br>
SNMPGET Problem for 1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108
1.3.6.1.4.1.9600.1.1.5.6.95.84.111.116.97.108 sysUptime sysName on
press@nyKey@10.2.1.3::::::v4only<br>
&nbsp;at /usr/bin/mrtg line 2043<br>
2007-06-04 17:12:59: ERROR: Target[<a href="http://10.2.1.3">10.2.1.3</a>][_IN_]
' $target-&gt;[1]{$mode} ' did not eval into defined data <br>
2007-06-04 17:12:59: ERROR: Target[<a href="http://10.2.1.3">10.2.1.3</a>][_OUT_]
' $target-&gt;[1]{$mode} ' did not eval into defined data<br>
<br>
<br>
I have also tried with another OIDs loading 2 MIBS<br>
1.3.6.1.2.1.25.3.3.1.2.1 <br>
<br>
SNMP Error:<br>
Received SNMP response with error code<br>
&nbsp; error status: noSuchName<br>
&nbsp; index 1 (OID: 1.3.6.1.2.1.25.3.3.1.2.1)<br>
SNMPv1_Session (remote host: &quot;<a href="http://10.2.1.3">10.2.1.3</a>&quot;
[ <a href="http://10.2.1.3">10.2.1.3</a>].161)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
community: &quot;press@nyKey&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
request ID: 707258015<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PDU bufsize: 8000 bytes<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
timeout: 2s<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
retries: 5<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
backoff: 1)<br>
&nbsp;at /usr/share/perl5/SNMP_util.pm line 490<br>
SNMPGET Problem for .1.3.6.1.2.1.25.3.3.1.2.1 .1.3.6.1.2.1.25.3.3.1.2.1
sysUptime sysName on press@nyKey@10.2.1.3::::::v4only <br>
&nbsp;at /usr/bin/mrtg line 2043<br>
2007-06-04 17:16:10: ERROR: Target[<a href="http://10.2.1.3">10.2.1.3</a>][_IN_]
'(&nbsp; $target-&gt;[1]{$mode}&nbsp; ) \ 1' (warn): (Missing operator before
\?)<br>
2007-06-04 17:16:10: ERROR: Target[ <a href="http://10.2.1.3">10.2.1.3</a>][_OUT_]
'(&nbsp; $target-&gt;[1]{$mode}&nbsp; ) \ 1' (warn): (Missing operator before
\?)<br>
<br>
Can you help?<br>
<br>
Thanks<o:p></o:p></p>

</div>

</body>

</html>