I love NC_Net it has saved me a lot of trouble while monitoring Windows Boxes.
Everything "just works" for me! :)
However today I realized, that the Memory Usage check on Windows 2008 reports
twice as much physical RAM as there actually is. The machines I monitor have 16 GB
RAM, but NC_Net reports 32GB:
Thanks a lot for your reply. Actually it seems that the MEMUSE check reports the size of
Physical RAM + Pagefile, otherwise my numbers wouldn't make much sense but please correct me
if I'm wrong.
In the example I've described above, the machine in question has 16GB RAM and a 16GB pagefile, thus
I had the 32GB in total as a check result.
I've figured out the Performance Counter to measure the physical RAM in MB, if anyone is
interested in it:
\Memory\Available MBytes
I'm not very knowledgeable of WMI, so there may be a better way to do this, and I'd appreciate
other solutions.
Regards,
Hammah
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
MemUse reports the number you see in taskmanager:
when you look at performance in taskmanager, it reports pagefile as Used/Size
thus it is not Physical + pagefile but the availible size of the page file (usually Physical + swap disk space).
As for other solutions
I always recomend using Performance counters first.
I usually go into performance monitor and read the descriptions of the counters when choosing what to implement
and I was going to recomend to use the availible MBytes in my last post.
However not everyone checks physical RAM, Hard faults is the indicator of using the Hard disk for memory swapping.
WMI is basically like a giant interface to check anything. it has a query language similar to SQL that enables finding almost anything in windows, however WMI is a bit different on each Host. it is driven completly by loaded drivers, thus nodes avalible on one windows host may not be availible on another. for the most part there is a large number of standard items that you can get through WMI, but why bother if you can find it easily in performance counters.
some of the items I seen WMI used to monitor are items like Users, Computer name, Windows Verison, ect…
NC_Net actually uses WMI to measure Diskspace, becasue WMI gives access to both free space and Total size while performane counters for logical disk only give access to Free space.
Hope this helps
Tony
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I love NC_Net it has saved me a lot of trouble while monitoring Windows Boxes.
Everything "just works" for me! :)
However today I realized, that the Memory Usage check on Windows 2008 reports
twice as much physical RAM as there actually is. The machines I monitor have 16 GB
RAM, but NC_Net reports 32GB:
check_nt -H W2K8IP -v MEMUSE
Memory usage: total:32746.03 Mb - used: 2648.80 Mb (8%) - free: 30097.23 Mb (92%) | 'Memory usage'=2648.80Mb;0.00;0.00;0.00;32746.03
Anyone had a similar situation? Any hint how I could check this differently to get
the correct size?
Thanks in Advance,
Hammah
NC_Net has always checked Page file size for Memuse. not Ram.
this was by design for cmpatibility with existing NSClient and opsys, ect…
Physical Ram can be checked using NC_Net via WMI, or Performance counters.
Tony (author of NC_NEt)
Donation for NC_Net are accepted via Montitech.com
Hi Tony,
Thanks a lot for your reply. Actually it seems that the MEMUSE check reports the size of
Physical RAM + Pagefile, otherwise my numbers wouldn't make much sense but please correct me
if I'm wrong.
In the example I've described above, the machine in question has 16GB RAM and a 16GB pagefile, thus
I had the 32GB in total as a check result.
I've figured out the Performance Counter to measure the physical RAM in MB, if anyone is
interested in it:
\Memory\Available MBytes
I'm not very knowledgeable of WMI, so there may be a better way to do this, and I'd appreciate
other solutions.
Regards,
Hammah
MemUse reports the number you see in taskmanager:
when you look at performance in taskmanager, it reports pagefile as Used/Size
thus it is not Physical + pagefile but the availible size of the page file (usually Physical + swap disk space).
As for other solutions
I always recomend using Performance counters first.
I usually go into performance monitor and read the descriptions of the counters when choosing what to implement
and I was going to recomend to use the availible MBytes in my last post.
However not everyone checks physical RAM, Hard faults is the indicator of using the Hard disk for memory swapping.
WMI is basically like a giant interface to check anything. it has a query language similar to SQL that enables finding almost anything in windows, however WMI is a bit different on each Host. it is driven completly by loaded drivers, thus nodes avalible on one windows host may not be availible on another. for the most part there is a large number of standard items that you can get through WMI, but why bother if you can find it easily in performance counters.
some of the items I seen WMI used to monitor are items like Users, Computer name, Windows Verison, ect…
NC_Net actually uses WMI to measure Diskspace, becasue WMI gives access to both free space and Total size while performane counters for logical disk only give access to Free space.
Hope this helps
Tony