[mrtg] Monitoring Windows 2000 CPU Usage (Somix Template)

James Davis jamesd at jml.net
Tue Apr 27 13:25:29 MEST 2004


I'm running MRTG from the package included in Debian Sarge (2.9.17-4). I'm
using it to monitor some Windows 2000 servers and I'm getting lovely
graphs of network usage. However I'd also like to monitor CPU usage and
produced the following for my mrtg.conf using the Somix Template.

Target[TS1CPU]: at
MaxBytes[TS1CPU]: 16000
Options[TS1CPU]:  gauge, unknaszero
WithPeak[TS1CPU]: wmy
YLegend[TS1CPU]: % Utilization
ShortLegend[TS1CPU]: %
Legend1[TS1CPU]: Proc Load in next minute
Legend2[TS1CPU]: .
Legend3[TS1CPU]: Maximal 5 Minute Proc Load
Legend4[TS1CPU]: .
LegendI[TS1CPU]:  Load:
LegendO[TS1CPU]: .
Colours[TS1CPU]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
Title[TS1CPU]: Terminal Server 1
PageTop[TS1CPU]: <H1>Terminal Server 1</H1>

However, this produces the following errors. I've searched the mailing
list archives, read the FAQ and looked at Google but not got too far. SNMP
on the servers would appear to be working okay, since the network traffic
graphs get drawn successfully. Can anyone suggests some steps I should
take to further investigate this problem?



SNMP Error: Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: SNMPv1_Session (remote host:
"sofa-ts1.sofaworkshop.com"  [].161)
                  community: "RMCPUB"
                 request ID: 1091039613
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/share/perl5/SNMP_util.pm line 487 SNMPGET Problem for sysUptime sysName on
RMCPUB at sofa-ts1.sofaworkshop.com::::::v4only
 at /usr/bin/mrtg line 1840 ERROR: Target[ts1cpu][_IN_] '
$target->[0]{$mode} ' did not eval into defined data ERROR:
Target[ts1cpu][_OUT_] ' $target->[0]{$mode} ' did not eval into defined

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