[mrtg] Re: Monitoring Win2k from FreeBSD
Koelstra, J. (Jan)
JKoelstra at MINSZW.NL
Mon May 2 09:52:16 MEST 2005
Hi Laurence,
Two additions:
First:
Your bulkwalk returns ...9600.1.1.5.1.5.1.48
It seems in your config you have lost the .48
Second:
Graphing a percentage requires 'Gauge' at the options line. If not MRTG will compute the rate per second which will result in only zero's in the graphs.
Hth,
Jan.
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Garth K. Williams
Sent: Sunday, May 01, 2005 4:22 AM
To: 'Laurence Sanford'; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Monitoring Win2k from FreeBSD
Laurence. Go to www.snmp-informant.com, and then select support and knowledge-base, and then choose the new one I put there last night. You can download a ZIP of MRTG config files for Windows 2000 for use with SNMP Informant. You'll just have to change the OIDs, since the config files in the zip are based on the Advanced version and not the Standard version which is what you are using.
The real issue is that your CPU target[]: line needs 2 OID strings, not one.
Target[XYZ]: OID1&OID2:SNMP_community at IP_Address
Make OID1 and OID2 the same, or set one to % Privileged Time and the other to % User Time. That's what I do!
Garth
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Laurence Sanford
Sent: Saturday, April 30, 2005 3:21 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Monitoring Win2k from FreeBSD
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
--
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
_________________________________________________________
Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail.
Aan dit bericht kunnen geen rechten worden ontleend.
Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen.
_________________________________________________________
The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt.
This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.
_________________________________________________________
--
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