Discussion:
[mrtg] SNMP monitoring of Windows CPU/Memory/Disk
Bill Matthews
2005-06-09 17:57:46 UTC
Permalink
Hi There,

I use MRTG for watching my routers (of course) and also use it to
monitor CPU/Memory/Disk on my Unix/Linux servers.

My question is, does Windows 2000 or Windows 2003 come with an SNMP
agent? If not, could I install net-snmp? Anyone have the MIBs?

Thanks
BM
--
Unsubscribe mailto:mrtg-***@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
PAUL WILLIAMSON
2005-06-09 18:04:28 UTC
Permalink
Post by Bill Matthews
Hi There,
I use MRTG for watching my routers (of course) and also use it
to monitor CPU/Memory/Disk on my Unix/Linux servers.
My question is, does Windows 2000 or Windows 2003 come with an
SNMP agent? If not, could I install net-snmp? Anyone have the
MIBs?
Thanks
BM
Use SNMP Informant...much better.

Yeah, you could use net-snmp too, but not as good IMHO!
At least for the Windows boxes. It's great for the unix
boxen.

Microsoft's SNMP is as broken as they come. Not worth even
considering.

Paul
--
Unsubscribe mailto:mrtg-***@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
Shane Presley
2005-06-13 23:01:45 UTC
Permalink
Post by PAUL WILLIAMSON
Use SNMP Informant...much better.
Yeah, you could use net-snmp too, but not as good IMHO!
At least for the Windows boxes. It's great for the unix
boxen.
Microsoft's SNMP is as broken as they come. Not worth even
considering.
I'm having the same problem. I've got MS SNMP up, but trying to get
SNMP Informant up. The documentation seems lacking..or at least I
don't understand it. Is there an "install" guide?

Also tried Net-SNMP, it works, but I can't find the CPU/Memory MIBs.

Shane
--
Unsubscribe mailto:mrtg-***@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
Laurence Sanford
2005-06-13 22:55:37 UTC
Permalink
Post by Shane Presley
I'm having the same problem. I've got MS SNMP up, but trying to get
SNMP Informant up. The documentation seems lacking..or at least I
don't understand it. Is there an "install" guide?
Also tried Net-SNMP, it works, but I can't find the CPU/Memory MIBs.
Shane
Again, see my previous post in this thread, and try using snmpbulkwalk to
find the mibs. It's really not that hard. I'll take a look at some of the
output files I've got from snmpbulkwalk and clean some of them up, and
post the mibs somewhere if I can find the time.
--
Unsubscribe mailto:mrtg-***@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
Garth Williams
2005-06-14 01:14:33 UTC
Permalink
This post might be inappropriate. Click to display it.
Daniel maher
2005-06-10 18:43:46 UTC
Permalink
There is a guy on this list who will tell you just to use SNMP
Informant. I think he's the owner or something, because it's actually
the only thing I've ever seen him talk about. I've used it, and it's
actually a pretty decent tool, so at least he's not lying. ;)

That said, both Windows 2000 (Server) and 2003 come with an SNMP service
that can be quickly and easily enabled (for free). Just go to your
Services Viewer, and look for the item labelled SNMP. It can be
controlled just like any other Windows service.

Oh, and good luck trying to get useful memory stats out of a 2000 box.
The stats that 2003 spits out are good, though.


Daniel Maher
System Engineer
ACE TECHNOLOGY INC.


-----Original Message-----
From: mrtg-***@list.ee.ethz.ch [mailto:mrtg-***@list.ee.ethz.ch]
On Behalf Of Bill Matthews
Sent: June 9, 2005 1:58 PM
To: ***@list.ee.ethz.ch
Subject: [mrtg] SNMP monitoring of Windows CPU/Memory/Disk

Hi There,

I use MRTG for watching my routers (of course) and also use it to
monitor CPU/Memory/Disk on my Unix/Linux servers.

My question is, does Windows 2000 or Windows 2003 come with an SNMP
agent? If not, could I install net-snmp? Anyone have the MIBs?

Thanks
BM

--
Unsubscribe mailto:mrtg-***@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-***@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
PAUL WILLIAMSON
2005-06-10 19:53:27 UTC
Permalink
That might be me, it might not. I'm neither the owner, nor
the developer. Just a happy user.

Having said that, one problem I have is that the broken SNMP
that comes with MS servers has some serious drawbacks.
Interface indicies change randomly. The reported free disk
space is based on what the drive %full is at on boot, so if you
use up space while it's on (duh!, of course you will), it will
not catch the changes. There is no way to do 64 bit
counters on gig interfaces. Memory and process information
is spotty at best. Although some of this has gotten
better with 2003, there are few people out there that
have jumped to it.

SNMP Informant is free too. You just have to do a tad
bit more work to enable it vs. the stock MS one.

Paul
There is a guy on this list who will tell you just to use SNMP
Informant. I think he's the owner or something, because it's actually
the only thing I've ever seen him talk about. I've used it, and it's
actually a pretty decent tool, so at least he's not lying. ;)

That said, both Windows 2000 (Server) and 2003 come with an SNMP
service
that can be quickly and easily enabled (for free). Just go to your
Services Viewer, and look for the item labelled SNMP. It can be
controlled just like any other Windows service.

Oh, and good luck trying to get useful memory stats out of a 2000 box.
The stats that 2003 spits out are good, though.


Daniel Maher
System Engineer
ACE TECHNOLOGY INC.


-----Original Message-----
From: mrtg-***@list.ee.ethz.ch [mailto:mrtg-***@list.ee.ethz.ch]

On Behalf Of Bill Matthews
Sent: June 9, 2005 1:58 PM
To: ***@list.ee.ethz.ch
Subject: [mrtg] SNMP monitoring of Windows CPU/Memory/Disk

Hi There,

I use MRTG for watching my routers (of course) and also use it to
monitor CPU/Memory/Disk on my Unix/Linux servers.

My question is, does Windows 2000 or Windows 2003 come with an SNMP
agent? If not, could I install net-snmp? Anyone have the MIBs?

Thanks
BM

--
Unsubscribe mailto:mrtg-***@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-***@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-***@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
Bill Matthews
2005-06-13 15:47:38 UTC
Permalink
Thanks all. I'm still having some problems, both with the stock MS
service, and SNMP Informant.

Maybe my problem is I don't know which MIBs to watch?

In Linux/Unix I would watch:

ssCpuRawUser.0 & ssCpuRawSystem.0 to get CPU utlization
memTotalReal.0 & memAvailReal.0 to get memory
memTotalSwap.0 & memAvailSwap.0 to get SWAP
hrSystemProcesses.0 to get # of processes
hrStorageSize.whatever & hrStorageUsed.whatever to watch a disk

The only ones that work in W2K/W2K3 are hrSystemProcesses and
hrStorageSize. I can't seem to find any CPU, Mem, or Swap MIBs?

Thanks
BM
Post by PAUL WILLIAMSON
That might be me, it might not. I'm neither the owner, nor
the developer. Just a happy user.
Having said that, one problem I have is that the broken SNMP
that comes with MS servers has some serious drawbacks.
Interface indicies change randomly. The reported free disk
space is based on what the drive %full is at on boot, so if you
use up space while it's on (duh!, of course you will), it will
not catch the changes. There is no way to do 64 bit
counters on gig interfaces. Memory and process information
is spotty at best. Although some of this has gotten
better with 2003, there are few people out there that
have jumped to it.
SNMP Informant is free too. You just have to do a tad
bit more work to enable it vs. the stock MS one.
Paul
--
Unsubscribe mailto:mrtg-***@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
Laurence Sanford
2005-06-13 16:06:20 UTC
Permalink
Try this, watch for wrap, change to match your network numbers, etc. You
can also find mibs very close to these for drive usage, etc. It took me
several hours to track down all the win2k mibs I use using snmpbulkwalk
from my BSD box.

Target[192.168.1.3_hrProcessorLoad.1]:
1.3.6.1.4.1.9600.1.1.5.1.5.1.48&1.3.6.1.4
.1.9600.1.1.5.1.5.1.48:***@192.168.1.3:::::2
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]: Active CPU in % (Load)
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]: Active
Options[192.168.1.3_hrProcessorLoad.1]: growright,nopercent,gauge
Colours[192.168.1.3_hrProcessorLoad.1]:
RED#FF0000,BLUE#1000ff,RED2#CC0000,VIOLE
T#ff00ff
XSize[192.168.1.3_hrProcessorLoad.1]: 600
YSize[192.168.1.3_hrProcessorLoad.1]: 200

Target[192.168.1.3_memory]:
1.3.6.1.4.1.9600.1.1.2.1.0&1.3.6.1.4.1.9600.1.1.2.4.
0:***@192.168.1.3:::::2 / 1024
MaxBytes[192.168.1.3_memory]: 1500000000
Title[192.168.1.3_memory]: Memory usage
PageTop[192.168.1.3_memory]: <H1>Free and Used Memory</H1>
kMG[192.168.1.3_memory]: k,M,G,T,P,X
YLegend[192.168.1.3_memory]: Memory
ShortLegend[192.168.1.3_memory]: bytes
LegendI[192.168.1.3_memory]: Free Memory
LegendO[192.168.1.3_memory]: Commited Memory
Options[192.168.1.3_memory]: growright,nopercent,gauge
Colours[192.168.1.3_memory]:
BLUE#33FFFF,BLUE#1000ff,RED2#CC0000,VIOLET#ff00ff
XSize[192.168.1.3_memory]: 600
YSize[192.168.1.3_memory]: 200
Post by Bill Matthews
Thanks all. I'm still having some problems, both with the stock MS
service, and SNMP Informant.
Maybe my problem is I don't know which MIBs to watch?
ssCpuRawUser.0 & ssCpuRawSystem.0 to get CPU utlization
memTotalReal.0 & memAvailReal.0 to get memory
memTotalSwap.0 & memAvailSwap.0 to get SWAP
hrSystemProcesses.0 to get # of processes
hrStorageSize.whatever & hrStorageUsed.whatever to watch a disk
The only ones that work in W2K/W2K3 are hrSystemProcesses and
hrStorageSize. I can't seem to find any CPU, Mem, or Swap MIBs?
Thanks
BM
Post by PAUL WILLIAMSON
That might be me, it might not. I'm neither the owner, nor
the developer. Just a happy user.
Having said that, one problem I have is that the broken SNMP
that comes with MS servers has some serious drawbacks.
Interface indicies change randomly. The reported free disk
space is based on what the drive %full is at on boot, so if you
use up space while it's on (duh!, of course you will), it will
not catch the changes. There is no way to do 64 bit
counters on gig interfaces. Memory and process information
is spotty at best. Although some of this has gotten
better with 2003, there are few people out there that
have jumped to it.
SNMP Informant is free too. You just have to do a tad
bit more work to enable it vs. the stock MS one.
Paul
--
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-***@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
Continue reading on narkive:
Loading...