[mrtg] using templates for windows 2000 cpu mrtg graphs

Pradeep Agrawal pa_kota at yahoo.com
Thu Jan 24 04:56:06 MET 2002


Hi

I have mrtg running on my windows 2000 server. it is working fine , i am monitoring my routers and windows server int. very well.
my problem is I am not able to monitor CPU load of windows 2000 server. I gave following commands..


E:\installed\mrtg-2.9.17\bin>perl cfgmaker public at 10.192.18.229 --global "workDi
r: c:\inetpub\wwwroot\mrtg\testcpu" --host-template=w2kcpu.txt --output testcpum
rtg.cfg


Following is my w2kcpu.txt file whic i saved in e:\installed\mrtg-9.2.17\bin

# Windows 2000 processor utilization. Based on MIBII Host MIB.
#
# Vendor Specific Auto-Disocery Entry:
# 1.3.6.1.2.1.25.3.3.1.2|1.3.6.1.2.1.25.3.3.1.2|microsoft_win2k_cpu|tree|CPU Utilization
#
# Example CFGNAME: [DEVICE NAME]-percent_processor_util
# (add instance number to the end of the name for multiple processors)

Target[pradeep_cpu]: 1.3.6.1.2.1.25.3.3.1.2.1&1.3.6.1.2.1.25.3.3.1.2.1:public at 10.192.18.229
MaxBytes[pradeep_cpu]: $MAX
Options[pradeep_cpu]: gauge, unknaszero
WithPeak[pradeep_cpu]: wmy
YLegend[pradeep_cpu]: % Utilization
ShortLegend[pradeep_cpu]: %
Legend1[pradeep_cpu]: Proc Load in next minute
Legend2[pradeep_cpu]: .
Legend3[pradeep_cpu]: Maximal 5 Minute Proc Load
Legend4[pradeep_cpu]: .
LegendI[pradeep_cpu]: Load:
LegendO[pradeep_cpu]: .
Colours[pradeep_cpu]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
Title[pradeep_cpu]: $DEVICE
PageTop[pradeep_cpu]: <H1>$DEVICE</H1>


# The following information allows you to perform some task(s)
# whenever a minimum of maximum threshold has been breached
# In order to activate this features, simply remove the # from the
# lines below.

# ThreshMinI[pradeep_cpu]: $THRESHOLDMIN
# ThreshMaxI[pradeep_cpu]: $THRESHOLDMAX
# ThreshProgI[pradeep_cpu]: BATCHLOCthreshold_in.bat
# ThreshProgOKI[pradeep_cpu]: BATCHLOCthreshold_oki.bat

# ThreshMinO[pradeep_cpu]: $THRESHOLDMIN
# ThreshMaxO[pradeep_cpu]: $THRESHOLDMAX
# ThreshProgO[pradeep_cpu]: BATCHLOCthreshold_out.bat
# ThreshProgOKO[pradeep_cpu]: BATCHLOCthreshold_oko.bat

but above command generate cfg file for only interface.
I checked MIB with snmputil command it looks like it is ok.

Please suggest what is wrong with my steps.

Regards
Pradeep Agrawal

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