<html>
<body>
<font size=3>Am 18:07 01.06.2005 schrieb Daniel maher:<br>
</font><blockquote type=cite class=cite cite=""><font face="arial" size=2>Hello
all,<br>
<br>
I am looking for a way to monitor the usage of physical RAM on Windows
2000 (and 2003) servers. I have tried Xavier Dusart’s
check_mem_2k.pl plugin, as well as Manubulon’s
check_snmp_storage.pl. Dusart’s plugin fails entirely, while
Manubulon’s only appears to pull out the virtual memory, not the physical
RAM. What makes this tricky (I suppose), is that I cannot install
any agents on the Windows servers; this means no NSClient or any such
thing.<br>
<br>
Does anybody have any ideas?</blockquote><br>
Hello Daniel,<br><br>
you can query W2K3 Server for physical memory. There is a table of
storage entries (disks, virtual memory, physical memory) in the host
resource MIB:<br><br>
</font><font face="Courier New, Courier" size=2>1.3.6.1.2.1.25.2.3.1.2.index<x-tab> </x-tab><x-tab> </x-tab>hrStorageType<br>
1.3.6.1.2.1.25.2.3.1.3.index<x-tab> </x-tab><x-tab> </x-tab>hrStorageDesc<br>
1.3.6.1.2.1.25.2.3.1.4.index<x-tab> </x-tab><x-tab> </x-tab>hrStorageAllocUnits<br>
1.3.6.1.2.1.25.2.3.1.5.index<x-tab> </x-tab><x-tab> </x-tab>hrStorageSize<br>
1.3.6.1.2.1.25.2.3.1.6.index<x-tab> </x-tab><x-tab> </x-tab>hrStorageUsed<br><br>
</font><font face="arial" size=2>with the type<br><br>
</font><font face="Courier New, Courier" size=2>25.2.1.2<x-tab> </x-tab>type
= physical mem<br><br>
</font><font face="arial" size=2>for physical memory. You have to search
for "25.2.1.2" in the "Type" field to get the index.
Then you have to query "AllocUnits", "Size" and
"Used" for this index and multiply "AllocUnits" and
"Size" to get the physical memory size (IIRC in Bytes). By
multiply "AllocUnits" and "Used" you get the used
physical memory (IIRC in Bytes).<br><br>
This method unfortunately does not work for W2K.<br><br>
-vol</font></body>
</html>