<div>hi all, </div>
<div> </div>
<div>I have the same problem as Bobby Bradshaw (from whom I quoted the message below) : <br> </div>
<div>My Nagios setup is:<br>Nagios v1.3 (October 24, 2004)<br>Nagios plugins v1.4.1<br> </div>
<div>I have Nagios running correctly, sending notifications, checking ping and HTTP on several hosts. BUT I have exactly the same problem as Bobby Bradshaw which is the fact that I can't get Nagios to run "./check_nt -H 
<a href="http://192.168.1.111">192.168.1.111</a> -v UPTIME" command without getting a "CRITICAL - Socket timeout after 10 seconds" error or any of the check_nt commands without an error. I have the Nsclient 
2.01 on my Windows NT host. </div>
<div> </div>
<div>The error I have is the fact that the system doesn't find the <strong><font color="#ff0000">check_nt</font></strong> service BUT I have installed it in the <font face="Arial" color="#0000ff" size="2">/usr/local/nagios/libexec/ 
<font color="#333333">file, in fact in my case I changed the path to <font face="Arial" color="#0000ff" size="2">/usr/lib/nagios/plugins/ <font color="#333333">since it's where the services are located in my configuration.
</font></font> </font></font></div>
<div> </div>
<div>I have exactly the same question as Bobby Brawn : Is there better documentation than what is provided with Nsclient? Can I get some pointers on ALL the cfg files that I have to edit to get the <font color="#ff0000">
<strong>check_nt</strong></font> command to work.<br>  <br>Bobby Bradshaw, I saw that u solved your problem, can u tell how did u do ? If anyone has an idea, please advise. Thanks in advance !! </div>
<div> </div>
<div>Quoc-Dan DANG</div>
<div> </div>
<div> </div>
<div>NB: I have edited the "checkcommands.cfg" file by adding the following lines : </div>
<div> </div>
<div> </div>
<div># 'check_nt_disk' command definition<br>define command{<br> command_name  check_nt_disk<br> command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$<br>}</div>
<div>
<p><br># 'check_nt_upload' command definition<br>define command {<br> command_name    check_nt_cpuload<br> command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$<br>}</p>
<p><br># 'check_nt_uptime' command definition<br>define command {<br> command_name    check_nt_uptime<br> command_line    $USER1$/check_nt #-H $HOSTADDRESS$ -p 1248 -v UPTIME<br>}</p>
<p><br># 'check_nt_clientversion' command definition<br>define command {<br> command_name    check_nt_clientversion<br> command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION<br>}</p>
<p><br># 'check_nt_process' command definition<br>define command {<br> command_name    check_nt_process<br> command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$<br>}</p>
<p><br># 'check_nt_service' command definition<br>define command{<br> command_name check_nt_service<br> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l $ARG1$<br>}</p>
<p><br># 'check_nt_memuse' command definition<br>define command{<br> command_name check_nt_memuse<br> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$<br>}</p>
<p><br># 'check_nt_fileage' command definition<br>define command{<br> command_name check_nt_fileage<br> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE –l $ARG1$ -w $ARG2$ -c $ARG3$<br>}</p>
<p><br># 'check_nt_pagingfile' command definition<br>define command{<br> command_name check_nt_pagingfile<br> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "<a href="file://Paging/">\\Paging</a>
 File(_Total)\\%% Usage","Paging File usage is %.2f %%" -w $ARG1$ -c $ARG2$ <br>}</p>
<p><br> </p></div>
<div><u><strong><font color="#ff0000">QUOTE from Bobby Bradshaw who had the same problem as I currently have :</font></strong></u> </div>
<div> </div>
<div>"From: nagios-users-admin@li... on<br>> behalf<br>> > of<br>> > >>Bobby Bradshaw<br>> > >>Sent: Fri 8/19/2005 2:43 PM<br>> > >>To: nagios-users@li...<br>> > >>Subject: [Nagios-users] check_nt configurations/setup
<br>> > >><br>> > >><br>> > >>Hi all,<br>> > >><br>> > >>My Nagios setup is:<br>> > >>Suse 9.3 Professional<br>> > >>Nagios v1.2<br>> > >>Nagios plugins 
v1.4<br>> > >>Nagios nrpe v2.0<br>> > >><br>> > >>I have Nagios running correctly, sending notifications, checking ping<br>> and<br>> > >>HTTP on several hosts.  Although, I am having so much trouble trying to
<br>> > get<br>> > >>Nagios to run "./check_nt -H <a href="http://192.168.1.111">192.168.1.111</a> -v UPTIME" command without<br>> > >>getting a "CRITICAL - Socket timeout after 10 seconds" error or any of
<br>> the<br>> > >>check_nt commands without an error.  I have the Nsclient 2.01 on my<br>> > Windows<br>> > >>XP host.  Is there better documentation than what is provided with<br>> > Nsclient?
<br>> > >> Can I get some pointers on ALL the cfg files that I have to edit to get<br>> > the<br>> > >>check_nt command to work.<br>> > >><br>> > >>Thanks in advance!<br>
> > >><br>> > >>--<br>> > >>Bobby Bradshaw, Jr.<br>> > >>bobby.bradshaw@gm...<br>> > ><br>> > ><br>> > ><br>> ><br>> > --<br>> > Andreas Ericsson                   
andreas.ericsson@op...<br>> > OP5 AB                             <a target="_NEW" href="http://www.op5.se/">http://www.op5.se</a><br>> > Lead Developer<br>> ><br>> ><br>> > -------------------------------------------------------
<br>> > SF.Net email is Sponsored by the Better Software Conference & EXPO<br>> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle<br>> Practices<br>> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
<br>> > Security * Process Improvement & Measurement * <a target="_NEW" href="http://www.sqe.com/bsce5sf">http://www.sqe.com/bsce5sf</a><br>> > _______________________________________________<br>> > Nagios-users mailing list
<br>> > Nagios-users@li...<br>> > <a target="_NEW" 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
<br>> reporting<br>> > any issue.<br>> > ::: Messages without supporting info will risk being sent to /dev/null<br>> ><br>> ><br>><br>><br>> --<br>> Bobby Bradshaw, Jr.<br>> bobby.bradshaw@gm
...<br>><br>><br><br><br>--<br>Bobby Bradshaw, Jr.<br><a href="mailto:bobby.bradshaw@gm">bobby.bradshaw@gm</a>...<br><br> </div>
<div>
<ul>
<table border="0">
<tbody>
<tr>
<td nowrap bgcolor="#dddddd">From: Bobby Bradshaw <bobby@gm...><br><a href="https://sourceforge.net/mailarchive/message.php?msg_id=12716990"><b><img height="12" alt="" src="https://images-ssl.sourceforge.net/images/msg.gif" width="10" border="0">
 Re: check_nt configurations/setup</b></a>   <br>2005-08-22 08:18 </td></tr>
<tr>
<td><pre> Found it.   Thank you guys very much.
 
 Much appreciated</pre></td></tr></tbody></table></ul></div>
<div> </div>