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> 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> 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&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> error status: noSuchName<br> 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: "<a href="http://10.2.1.3">
10.2.1.3</a>" [<a href="http://10.2.1.3">10.2.1.3</a>].161)<br> community: "press@nyKey"<br> request ID: 1534273303<br> PDU bufsize: 8000 bytes<br> timeout: 2s
<br> retries: 5<br> backoff: 1)<br> 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> 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->[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->[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> error status: noSuchName<br> index 1 (OID: 1.3.6.1.2.1.25.3.3.1.2.1)<br>SNMPv1_Session (remote host: "<a href="http://10.2.1.3">10.2.1.3</a>" [
<a href="http://10.2.1.3">10.2.1.3</a>].161)<br> community: "press@nyKey"<br> request ID: 707258015<br> PDU bufsize: 8000 bytes<br> timeout: 2s<br>
retries: 5<br> backoff: 1)<br> 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> 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_] '( $target->[1]{$mode} ) \ 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_] '( $target->[1]{$mode} ) \ 1' (warn): (Missing operator before \?)<br><br>Can you help?<br><br>Thanks<br>