<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2>Hi Anthony,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2>What is then the exact syntax?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2>This will not work:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2>define
command{<BR>
command_name
check_nt_disc_average_sec_write<BR>
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
"PhysicalDisk\Average Disk sec/Write" -l $ARG1$ -w $ARG2$ -c
$ARG3$<BR>}<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2>thx,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=203520213-19042007><FONT face=Arial
color=#0000ff size=2>Marc</DIV></FONT></SPAN><FONT face=Arial color=#0000ff
size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=nl dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Van:</B> nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>Namens </B>Anthony
Montibello<BR><B>Verzonden:</B> 19 april 2007 14:26<BR><B>Aan:</B> Nagios Users
Mailinglist<BR><B>Onderwerp:</B> Re: [Nagios-users] example how to monitor a
performance counterfrom windows with nsclient?[Scanned]<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi Marc,</DIV>
<DIV> </DIV>
<DIV>Install a widows plugin onto the Windows Host.</DIV>
<DIV>I recomend NC_NEt, then use check_nt or compile and use check_nc_net</DIV>
<DIV>if using check_nc_net the syntex is in the help "check_nc_net
--help=COUNTER"</DIV>
<DIV> </DIV>
<DIV>nc_net is availible from sourceforge: <A
href="http://sourceforge.net/projects/nc-net">http://sourceforge.net/projects/nc-net</A></DIV>
<DIV> </DIV>
<DIV>There are also other plugins availibles for monitoring windows. see nagios
exchange or review through this mailing lists archives.</DIV>
<DIV> </DIV>
<DIV>Good Luck,</DIV>
<DIV>Tony (author of NC_net)<BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 4/19/07, <B class=gmail_sendername>Marc
Jonkers</B> <<A href="mailto:MarcJonkers@mgzl.nl">MarcJonkers@mgzl.nl</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial><FONT
size=2>H<SPAN>i,</SPAN></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial><FONT
size=2><SPAN></SPAN></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial><FONT size=2><SPAN>Has somebody
a example of the checkcommands.cfg for me with a performance counter for
Windows 2003?</SPAN></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial><FONT size=2><SPAN>I want to
monitor <A><FONT color=#000000>Check Average Disc
sec/Write</FONT></A>.</SPAN></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial><FONT
size=2><SPAN></SPAN></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial><FONT
size=2><SPAN>thx,</SPAN></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial><FONT
size=2><SPAN></SPAN></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial><FONT
size=2><SPAN>Marc</SPAN></FONT></FONT></SPAN></DIV></DIV><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
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://sourceforge.net/powerbar/db2/"
target=_blank>http://sourceforge.net/powerbar/db2/</A><BR>_______________________________________________<BR>Nagios-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
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></BODY></HTML>