monitor memory usage on w2k/2k3 server?
Daniel maher
dmaher at acetechnology.com
Wed Jun 1 19:13:38 CEST 2005
Modifying check_snmp_storage.pl was, of course, my first instinct as well. Unfortunately, it is apparently easier said than done. To explain;
A quick reference at mibDepot.com for storage-related items reveals the hrStorage object group, which is exactly where one would expect to find storage-related items. Items of note include the hrStorageSize and hrStorageUsed tabs. So far so good, as these are the key items that check_snmp_storage.pl uses to poll for data.
Here's where the problem lies, however. An snmpwalk of a number of Windows machines in-house reveals hrStorage entries for the physical hard disks, as well as for virtual memory - but not for physical memory.
Another interesting item is the hrMemorySize scalar, which does in fact report the total size of the physical memory, but does not appear to have a "usage" counterpart anywhere. Thus, determining the total amount of RAM is easy, but figuring out how much of that is being used - that's the kicker.
Finally, the hrStorageRam object, while vaguely tantalising, does not appear at all during an snmpwalk of any of the target machines.. thus it remains a mystery entirely.
Daniel Maher
System Engineer
ACE TECHNOLOGY INC.
-----Original Message-----
From: Andreas Ericsson [mailto:ae at op5.se]
Sent: June 1, 2005 12:54 PM
To: Daniel maher
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] monitor memory usage on w2k/2k3 server?
>
> Does anybody have any ideas?
>
Modify check_snmp_storage.pl to require the proper OID's.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list