<div>that command was for Virtual Memory use Performance Counters:</div>
<div> </div>
<div>For NC_NET the following syntex can be used to get Physical Memory however I did not test the command so it may contain an error.</div>
<div> </div>
<div> define service {<br>       use                     generic-service<br>       host_name               winserver<br>       service_description     Memuse<br>       servicegroups           load<br>       check_command           check_ntmem!COUNTER! -l "^memory^Available MBytes" -w 80 -c 90
<br> }<br><br>Tony (author of NC_net)<br><br> </div>
<div><span class="gmail_quote">On 6/19/07, <b class="gmail_sendername">Palle Jensen</b> <<a href="mailto:palleje@gmail.com">palleje@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Arun<br>I dont know if this helps, but this is how i have it set up.<br><br>In commands.cfg:<br>define command{
<br><br>       command_name    check_ntmem<br><br>       command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$<br><br>     }<br>And in service.cfg<br>define service {<br>       use                     generic-service
<br>       host_name               winserver<br>       service_description     Memuse<br>       servicegroups           load<br>       check_command           check_ntmem!MEMUSE! -w 80 -c 90<br>}<br><br>And that works fine here.
<br>- Palle<br><br>-----------------------<br>This thread is located in the archive at this URL:<br><a href="http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=2041">http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=2041
</a><br><br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by DB2 Express<br>Download DB2 Express C - the FREE version of DB2 express and take<br>control of your XML. No limits. Just data. Click to get it now.
<br><a href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</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">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>