[mrtg] Monitoring Win2k from FreeBSD

Laurence Sanford lauasanf at wilderness.homeip.net
Sat Apr 30 23:21:15 MEST 2005


I would like to monitor at least the CPU load on a pair of win2k 
computers I have on my network. I am already monitoring traffic from 
both. I have looked high and low, and tried a multitude of mibs to get 
this information from the win boxes via SNMP, but been unsuccessful so 
far. While I can snmpbulkwalk from FreeBSD with this command and get 
results:

root at devel(/usr/local/etc/mrtg)# snmpbulkwalk -v2c -c public 192.168.1.3 
1.3.6.1.4.1.9600.1.1.5.1.5
SNMPv2-SMI::enterprises.9600.1.1.5.1.5.1.48 = Gauge32: 63
SNMPv2-SMI::enterprises.9600.1.1.5.1.5.6.95.84.111.116.97.108 = Gauge32: 0

I can't seem to make anything about getting this information please 
MRTG. I get errors and blank graphs reguardless of what I try. Here are 
the current traffic entries for these two machines, both of which work, 
as well as a commented out failed attempt at a cpu monitor on one of the 
machines from my mrtg.cfg file:

Target[192.168.1.3_16777219]: 16777219:public at 192.168.1.3:
SetEnv[192.168.1.3_16777219]: MRTG_INT_IP="192.168.1.3" 
MRTG_INT_DESCR="KTI-ET32/Px-Adapter."
MaxBytes[192.168.1.3_16777219]: 1250000
Options[192.168.1.3_16777219]: logscale
XSize[192.168.1.3_16777219]: 600
YSize[192.168.1.3_16777219]: 200
Title[192.168.1.3_16777219]: Traffic Analysis for 16777219 -- SAMSON
PageTop[192.168.1.3_16777219]: <H1>Traffic Analysis for 16777219 -- 
SAMSON</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>SAMSON in Indian Hill</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>root</TD></TR>
   <TR><TD>Description:</TD><TD>KTI-ET32/Px-Adapter.  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>192.168.1.3 ()</TD></TR>
 </TABLE>

#Target[192.168.1.3_hrProcessorLoad.1]: 
1.3.6.1.4.1.9600.1.1.5.1.5:public at 192.168.1.3:::::1
#MaxBytes[192.168.1.3_hrProcessorLoad.1]: 100
#Title[192.168.1.3_hrProcessorLoad.1]: CPU LOAD
#PageTop[192.168.1.3_hrProcessorLoad.1]: <H1>Active CPU Load %</H1>
#Unscaled[192.168.1.3_hrProcessorLoad.1]: ymwd
#ShortLegend[192.168.1.3_hrProcessorLoad.1]: %
#YLegend[192.168.1.3_hrProcessorLoad.1]: CPU Utilization
#Legend1[192.168.1.3_hrProcessorLoad.1]: Active CPU in % (Load)
#Legend2[192.168.1.3_hrProcessorLoad.1]:
#Legend3[192.168.1.3_hrProcessorLoad.1]:
#Legend4[192.168.1.3_hrProcessorLoad.1]:
#LegendI[192.168.1.3_hrProcessorLoad.1]:  Active
#LegendO[192.168.1.3_hrProcessorLoad.1]:
#Options[192.168.1.3_hrProcessorLoad.1]: growright,nopercent
#XSize[192.168.1.3_hrProcessorLoad.1]: 600
#YSize[192.168.1.3_hrProcessorLoad.1]: 200


Target[192.168.1.2_16777219]: 16777219:public at 192.168.1.2:
SetEnv[192.168.1.2_16777219]: MRTG_INT_IP="192.168.1.2" 
MRTG_INT_DESCR="Network-Everywhere-Fast-Ethernet-Adapter-NDIS5-Driver"
MaxBytes[192.168.1.2_16777219]: 12500000
Options[192.168.1.2_16777219]: logscale
XSize[192.168.1.2_16777219]: 600
YSize[192.168.1.2_16777219]: 200
Title[192.168.1.2_16777219]: Traffic Analysis for 16777219 -- BEAUTY
PageTop[192.168.1.2_16777219]: <H1>Traffic Analysis for 16777219 -- 
BEAUTY</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>BEAUTY in Indian Hill</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>root</TD></TR>
   
<TR><TD>Description:</TD><TD>Network-Everywhere-Fast-Ethernet-Adapter-NDIS5-Driver  
</TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>192.168.1.2 ()</TD></TR>
 </TABLE>

Can anyone point me the right direction on this problem? I've look at 
all of the windows SNMP pages I can find, gone over the manual with a 
fine toothed comb, but still come up missing something. Thanks in advance.

Drew

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list