<div dir="ltr">this because in your server 2008 you will see that there is a virtual memory activated, go to Computer proprieties and see in performences you will have for exemple for " <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">R2 (x64) server box (has SQL installed on it) – 12GB ram installed</span> " 12GB of virtual memory.Finaly, Nagios take the some of memories ( virual memory + RAM).<div>
<br></div><div> <br><br><div class="gmail_quote">2013/1/9 Andrew Thompson <span dir="ltr"><<a href="mailto:andrew@fulgent.co.uk" target="_blank">andrew@fulgent.co.uk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Using the supplied check_nt plugin to check Memory Usage on Windows servers.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Some report correctly, others report a complete load of old tosh!!!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have tried 3 different versions of Windows OS, the version seems to make no odds.<u></u><u></u></p>
<p class="MsoNormal">Doesn’t matter if 32 or 64 bit either.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Some examples<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">MY primary domain controller – Windows Server 2008 R2 (x64) – 8GB ram installed<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Output from the check appears correct:<u></u><u></u></p>
<p class="MsoNormal">Memory usage: total:8205.64 Mb - used: 2902.96 Mb (35%) - free: 5302.67 Mb (65%)<u></u><u></u></p>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Another 2008 R2 (x64) server box (has SQL installed on it) – 12GB ram installed<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Output thinks its got 24GB:<u></u><u></u></p>
<p class="MsoNormal">Memory usage: total:24573.16 Mb - used: 1796.71 Mb (7%) - free: 22776.45 Mb (93%)
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">A Server 2003 Standard (x86) box (an internal test web server) – 512MB ram installed<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Output thinks its got over 1GB:<u></u><u></u></p>
<p class="MsoNormal">Memory usage: total:1257.50 Mb - used: 333.30 Mb (27%) - free: 924.20 Mb (73%)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">A Server 2012 (x64) box (with HyperV installed) – 28GB ram installed<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Output thinks tis got 32GB:<u></u><u></u></p>
<p class="MsoNormal">Memory usage: total:32500.80 Mb - used: 16709.37 Mb (51%) - free: 15791.43 Mb (49%)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Anybody any ideas as to why check_nt is returning incorrect info. I know its incorrect but Nagios doesn’t so where exactly is it reading these values from?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks in advance for anybodies input.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>------------------------------------------------------------------------------<br>
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery<br>
and much more. Keep your Java skills current with LearnJavaNow -<br>
200+ hours of step-by-step video tutorials by Java experts.<br>
SALE $49.99 this month only -- learn more at:<br>
<a href="http://p.sf.net/sfu/learnmore_122612" target="_blank">http://p.sf.net/sfu/learnmore_122612</a> <br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Cordialement,<div><br> Omar SADDIKI<br> Master Réseaux et Systèmes</div>
</div>
</div></div>