Problems with nsclient ...Connection refused by host

Tim Shouldice tim at mintoskatingclub.com
Tue Sep 16 22:12:55 CEST 2003


The current version of check_nt is compatible with all old versions of NSClient, however 
new versions of NSClient require the current check_nt for all functions to work properly. 

Tim Shouldice



On Sep 12, "Josh Van As" <JVanas at finncorp.com> wrote:
> Don't know what the official answer here is.  But I only upgraded a few
> 
> of my services to 1.8.4, just the ones that were having problems.  I am
> 
> still using the same check_nt bin (from the 1.3.1 plug-in download). 
> 
> 
> 
>  
> 
> 
> 
> Seems to be working fine for us.
> 
> 
> 
>  
> 
> 
> 
> -Josh
> 
> 
> 
>  
> 
> 
> 
> -----Original Message-----
> 
> From: Jason Payne - iLand Internet Solutions Corp.
> 
> [mailto:jason.payne at iland.com] 
> 
> Sent: Thursday, September 11, 2003 5:42 PM
> 
> To: nagios-users at lists.sourceforge.net
> 
> Subject: RE: [Nagios-users] Problems with nsclient ...Connection refused
> 
> by host
> 
> 
> 
>  
> 
> 
> 
> Is it possible to upgrade the service only, or is the service dependant
> 
> on the check_nt script version?  We have nsclient on many hosts and I
> 
> wouldn't like having to upgrade all of them at once.
> 
> 
> 
>  
> 
> 
> 
> -Jason
> 
> 
> 
> -----Original Message-----
> 
> From: Josh Van As [mailto:JVanas at finncorp.com]
> 
> Sent: Wednesday, September 10, 2003 9:17 AM
> 
> To: Matthew.Quinney at hollandandholland.com
> 
> Cc: nagios-users at lists.sourceforge.net
> 
> Subject: RE: [Nagios-users] Problems with nsclient ...Connection refused
> 
> by host
> 
> 
> 
> Upgrade to 1.8.4 solved my problems as well...
> 
> 
> 
>  
> 
> 
> 
> Thanks (everyone) for the help!
> 
> 
> 
>  
> 
> 
> 
> -----Original Message-----
> 
> From: Matthew.Quinney at hollandandholland.com
> 
> [mailto:Matthew.Quinney at hollandandholland.com] 
> 
> Sent: Wednesday, September 10, 2003 9:16 AM
> 
> To: Josh Van As
> 
> Cc: nagios-users at lists.sourceforge.net;
> 
> nagios-users-admin at lists.sourceforge.net
> 
> Subject: Re: [Nagios-users] Problems with nsclient ...Connection refused
> 
> by host
> 
> 
> 
>  
> 
> 
> 
> 
> 
> Josh, 
> 
> 
> 
> I have upgraded a lot of my machines to NSClient 1.084 and that helped
> 
> stability. 
> 
> 
> 
> Matthew
> 
> 
> 
> 
> 
> 
> 
> 
> 
> "Josh Van As" <JVanas at finncorp.com> 
> 
> Sent by: nagios-users-admin at lists.sourceforge.net 
> 
> 
> 
> 10/09/2003 13:35 
> 
> 
> 
> 
> 
> To
> 
> 
> 
> <nagios-users at lists.sourceforge.net> 
> 
> 
> 
> 
> 
> cc
> 
> 
> 
>  
> 
> 
> 
> 
> 
> Subject
> 
> 
> 
> [Nagios-users] Problems with nsclient ...Connection refused by host
> 
> 
> 
>  
> 
> 
> 
> 
> 
>  
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> I am running nsclient 1.07.1 on about 10 different Windows 2000/2003
> 
> Servers.  On 2 of the servers, after a reboot, the nsclient occasionally
> 
> stops responding to checks..... 
> 
> 
> 
> I issue the command: 
> 
> 
> 
> ./check_nt -H server.domain -v CPULOAD -l 5,50,80 
> 
> 
> 
> And the response is: 
> 
> 
> 
> Connection refused by host 
> 
> 
> 
> The service claims to be running on the Windows box.  I even try
> 
> restarting the service to no avail. 
> 
> 
> 
> Does anyone have any idea what might be causing this? 
> 
> 
> 
> TIA! 
> 
> 
> 
> -Josh 
> 
> 
> 
> 
> 
> _____________________________________________________________________
> 
> This e-mail has been scanned for viruses by the uuNet Internet Managed
> 
> Scanning Service - powered by MessageLabs. 
> 
> 
> 
> 
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> 
> <html>
> 
> 
> 
> <head>
> 
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; 
> charset=us-ascii">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> <meta name=Generator content="Microsoft Word 10 (filtered)">
> 
> 
> 
> <style>
> 
> <!--
> 
>  /* Font Definitions */
> 
>  @font-face
> 
> 	{font-family:Tahoma;
> 
> 	panose-1:2 11 6 4 3 5 4 4 2 4;}
> 
>  /* Style Definitions */
> 
>  p.MsoNormal, li.MsoNormal, div.MsoNormal
> 
> 	{margin:0in;
> 
> 	margin-bottom:.0001pt;
> 
> 	font-size:12.0pt;
> 
> 	font-family:"Times New Roman";}
> 
> a:link, span.MsoHyperlink
> 
> 	{color:blue;
> 
> 	text-decoration:underline;}
> 
> a:visited, span.MsoHyperlinkFollowed
> 
> 	{color:purple;
> 
> 	text-decoration:underline;}
> 
> p
> 
> 	{margin-right:0in;
> 
> 	margin-left:0in;
> 
> 	font-size:12.0pt;
> 
> 	font-family:"Times New Roman";}
> 
> span.emailstyle18
> 
> 	{font-family:Arial;
> 
> 	color:navy;}
> 
> span.EmailStyle19
> 
> 	{font-family:Arial;
> 
> 	color:navy;}
> 
> @page Section1
> 
> 	{size:8.5in 11.0in;
> 
> 	margin:1.0in 1.25in 1.0in 1.25in;}
> 
> div.Section1
> 
> 	{page:Section1;}
> 
> -->
> 
> </style>
> 
> 
> 
> </head>
> 
> 
> 
> <body lang=EN-US link=blue vlink=purple>
> 
> 
> 
> <div class=Section1>
> 
> 
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial;color:navy'>Don’t know what the official 
> answer
> 
> here is.  But I only upgraded a few of my services to 1.8.4, just 
> the ones that
> 
> were having problems.  I am still using the same check_nt bin (from 
> the 1.3.1 plug-in
> 
> download). </span></font></p>
> 
> 
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial;color:navy'> </span></font></p>
> 
> 
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial;color:navy'>Seems to be working fine for 
> us.</span></font></p>
> 
> 
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial;color:navy'> </span></font></p>
> 
> 
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial;color:navy'>-Josh</span></font></p>
> 
> 
> 
> <p class=MsoNormal><font size=2 color=navy face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial;color:navy'> </span></font></p>
> 
> 
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 
> face=Tahoma><span
> 
> style='font-size:10.0pt;font-family:Tahoma'>-----Original 
> Message-----<br>
> 
> <b><span style='font-weight:bold'>From:</span></b> Jason Payne - iLand 
> Internet
> 
> Solutions Corp. [mailto:jason.payne at iland.com] <br>
> 
> <b><span style='font-weight:bold'>Sent:</span></b> Thursday, September 
> 11, 2003
> 
> 5:42 PM<br>
> 
> <b><span style='font-weight:bold'>To:</span></b>
> 
> nagios-users at lists.sourceforge.net<br>
> 
> <b><span style='font-weight:bold'>Subject:</span></b> RE: 
> [Nagios-users]
> 
> Problems with nsclient ...Connection refused by host</span></font></p>
> 
> 
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=3 
> face="Times New Roman"><span
> 
> style='font-size:12.0pt'> </span></font></p>
> 
> 
> 
> <div>
> 
> 
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 
> color=blue face=Arial><span
> 
> style='font-size:10.0pt;font-family:Arial;color:blue'>Is it possible 
> to upgrade
> 
> the service only, or is the service dependant on the check_nt script
> 
> version?  We have nsclient on many hosts and I wouldn't like having 
> to
> 
> upgrade all of them at once.</span></font></p>
> 
> 
> 
> </div>
> 
> 
> 
> <div>
> 
> 
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=3 
> face="Times New Roman"><span
> 
> style='font-size:12.0pt'> </span></font></p>
> 
> 
> 
> </div>
> 
> 
> 
> <div>
> 
> 
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 
> color=blue face=Arial><span
> 
> style='font-size:10.0pt;font-family:Arial;color:blue'>-Jason</span></fo
> nt></p>
> 
> 
> 
> </div>
> 
> 
> 
> <blockquote 
> style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>
> 
> 
> 
> <p class=MsoNormal 
> style='margin-right:0in;margin-bottom:12.0pt;margin-left:
> 
> .5in'><font size=2 face=Tahoma><span 
> style='font-size:10.0pt;font-family:Tahoma'>-----Original
> 
> Message-----<br>
> 
> <b><span style='font-weight:bold'>From:</span></b> Josh Van As 
> [mailto:JVanas at finncorp.com]<br>
> 
> <b><span style='font-weight:bold'>Sent:</span></b> Wednesday, 
> September 10,
> 
> 2003 9:17 AM<br>
> 
> <b><span style='font-weight:bold'>To:</span></b>
> 
> Matthew.Quinney at hollandandholland.com<br>
> 
> <b><span style='font-weight:bold'>Cc:</span></b>
> 
> nagios-users at lists.sourceforge.net<br>
> 
> <b><span style='font-weight:bold'>Subject:</span></b> RE: 
> [Nagios-users]
> 
> Problems with nsclient ...Connection refused by host</span></font></p>
> 
> 
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 
> color=navy face=Arial><span
> 
> style='font-size:10.0pt;font-family:Arial;color:navy'>Upgrade to 1.8.4 
> solved
> 
> my problems as well…</span></font></p>
> 
> 
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=3 
> face="Times New Roman"><span
> 
> style='font-size:12.0pt'> </span></font></p>
> 
> 
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=2 
> color=navy face=Arial><span
> 
> style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks 
> (everyone) for the
> 
> help!</span></font></p>
> 
> 
> 
> <p class=MsoNormal style='margin-left:.5in'><font size=3 
> face="Times New Roman"><span
> 
> style='font-size:12.0pt'> </span></font></p>
> 
> 
> 
> <p class=MsoNormal style='margin-left:1.0in'><font size=2 
> face=Tahoma><span
> 
> style='font-size:10.0pt;font-family:Tahoma'>-----Original 
> Message-----<br>
> 
> <b><span style='font-weight:bold'>From:</span></b>
> 
> Matthew.Quinney at hollandandholland.com
> 
> [mailto:Matthew.Quinney at hollandandholland.com] <br>
> 
> <b><span style='font-weight:bold'>Sent:</span></b> Wednesday, 
> September 10,
> 
> 2003 9:16 AM<br>
> 
> <b><span style='font-weight:bold'>To:</span></b> Josh Van As<br>
> 
> <b><span style='font-weight:bold'>Cc:</span></b> 
> nagios-users at lists.sourceforge.net;
> 
> nagios-users-admin at lists.sourceforge.net<br>
> 
> <b><span style='font-weight:bold'>Subject:</span></b> Re: 
> [Nagios-users]
> 
> Problems with nsclient ...Connection refused by host</span></font></p>
> 
> 
> 
> <p class=MsoNormal style='margin-left:1.0in'><font size=3 
> face="Times New Roman"><span
> 
> style='font-size:12.0pt'> </span></font></p>
> 
> 
> 
> <p class=MsoNormal 
> style='margin-right:0in;margin-bottom:12.0pt;margin-left:
> 
> 1.0in'><font size=3 face="Times New Roman"><span 
> style='font-size:12.0pt'><br>
> 
> </span></font><font size=2 face=Arial><span 
> style='font-size:10.0pt;font-family:
> 
> Arial'>Josh,</span></font> <br>
> 
> <br>
> 
> <font size=2 face=Arial><span 
> style='font-size:10.0pt;font-family:Arial'>I have
> 
> upgraded a lot of my machines to NSClient 1.084 and that helped 
> stability.</span></font>
> 
> <br>
> 
> <br>
> 
> <font size=2 face=Arial><span 
> style='font-size:10.0pt;font-family:Arial'>Matthew<br>
> 
> <br>
> 
> </span></font></p>
> 
> 
> 
> <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
> 
>  style='width:100.0%;margin-left:1.0in'>
> 
>  <tr>
> 
>   <td width="39%" valign=top style='width:39.98%;padding:.75pt 
> .75pt .75pt .75pt'>
> 
>   <p class=MsoNormal><b><font size=1 face=Arial><span 
> style='font-size:7.5pt;
> 
>   font-family:Arial;font-weight:bold'>"Josh Van As"
> 
>   <JVanas at finncorp.com></span></font></b><font size=1 
> face=Arial><span
> 
>   style='font-size:7.5pt;font-family:Arial'> </span></font><br>
> 
>   <font size=1 face=Arial><span 
> style='font-size:7.5pt;font-family:Arial'>Sent
> 
>   by: nagios-users-admin at lists.sourceforge.net</span></font> </p>
> 
>   <p><font size=1 face=Arial><span 
> style='font-size:7.5pt;font-family:Arial'>10/09/2003
> 
>   13:35</span></font> </p>
> 
>   </td>
> 
>   <td width="58%" valign=top style='width:58.98%;padding:.75pt 
> .75pt .75pt .75pt'>
> 
>   <table class=MsoNormalTable border=0 cellpadding=0 
> width="100%"
> 
>    style='width:100.0%'>
> 
>    <tr>
> 
>     <td style='padding:.75pt .75pt .75pt .75pt'>
> 
>     <p class=MsoNormal align=right style='text-align:right'><font 
> size=1
> 
>     face=Arial><span 
> style='font-size:7.5pt;font-family:Arial'>To</span></font></p>
> 
>     </td>
> 
>     <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
> 
>     <p class=MsoNormal><font size=1 face=Arial><span 
> style='font-size:7.5pt;
> 
>     
> font-family:Arial'><nagios-users at lists.sourceforge.net></span></fon
> t>
> 
>     </p>
> 
>     </td>
> 
>    </tr>
> 
>    <tr>
> 
>     <td style='padding:.75pt .75pt .75pt .75pt'>
> 
>     <p class=MsoNormal align=right style='text-align:right'><font 
> size=1
> 
>     face=Arial><span 
> style='font-size:7.5pt;font-family:Arial'>cc</span></font></p>
> 
>     </td>
> 
>     <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
> 
>     <p class=MsoNormal><font size=3 face="Times New Roman"><span
> 
>     style='font-size:12.0pt'> </span></font></p>
> 
>     </td>
> 
>    </tr>
> 
>    <tr>
> 
>     <td style='padding:.75pt .75pt .75pt .75pt'>
> 
>     <p class=MsoNormal align=right style='text-align:right'><font 
> size=1
> 
>     face=Arial><span 
> style='font-size:7.5pt;font-family:Arial'>Subject</span></font></p>
> 
>     </td>
> 
>     <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
> 
>     <p class=MsoNormal><font size=1 face=Arial><span 
> style='font-size:7.5pt;
> 
>     font-family:Arial'>[Nagios-users] Problems with nsclient 
> ...Connection
> 
>     refused by host</span></font></p>
> 
>     </td>
> 
>    </tr>
> 
>   </table>
> 
>   <p class=MsoNormal><font size=3 face="Times New Roman"><span
> 
>   style='font-size:12.0pt'> </span></font></p>
> 
>   <table class=MsoNormalTable border=0 cellpadding=0>
> 
>    <tr>
> 
>     <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
> 
>     <p class=MsoNormal><font size=3 face="Times New Roman"><span
> 
>     style='font-size:12.0pt'> </span></font></p>
> 
>     </td>
> 
>     <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
> 
>     <p class=MsoNormal><font size=3 face="Times New Roman"><span
> 
>     style='font-size:12.0pt'> </span></font></p>
> 
>     </td>
> 
>    </tr>
> 
>   </table>
> 
>   <p class=MsoNormal></p>
> 
>   </td>
> 
>  </tr>
> 
> </table>
> 
> 
> 
> <p class=MsoNormal style='margin-left:1.0in'><font size=3 
> face="Times New Roman"><span
> 
> style='font-size:12.0pt'><br>
> 
> <br>
> 
> <br>
> 
> </span></font><font size=2 face=Arial><span 
> style='font-size:10.0pt;font-family:
> 
> Arial'>I am running nsclient 1.07.1 on about 10 different Windows 
> 2000/2003
> 
> Servers.  On 2 of the servers, after a reboot, the 
> nsclient</span></font> <font
> 
> size=2 face=Arial><span 
> style='font-size:10.0pt;font-family:Arial'>occasionally
> 
> stops responding to checks…..</span></font> </p>
> 
> 
> 
> <p style='margin-left:1.0in'><font size=2 face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial'>I issue the command:</span></font> </p>
> 
> 
> 
> <p style='margin-left:1.0in'><font size=2 face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial'>./check_nt -H</span></font> <font size=2 
> face=Arial><span
> 
> style='font-size:10.0pt;font-family:Arial'>server.domain -v CPULOAD -l 
> 5,50,80</span></font>
> 
> </p>
> 
> 
> 
> <p style='margin-left:1.0in'><font size=2 face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial'>And the response is:</span></font> </p>
> 
> 
> 
> <p style='margin-left:1.0in'><font size=2 face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial'>Connection refused by host</span></font> </p>
> 
> 
> 
> <p style='margin-left:1.0in'><font size=2 face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial'>The service claims to be running on the 
> Windows box.
> 
>  I even try restarting the service to no avail.</span></font> </p>
> 
> 
> 
> <p style='margin-left:1.0in'><font size=2 face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial'>Does anyone have any idea what might be 
> causing this?</span></font>
> 
> </p>
> 
> 
> 
> <p style='margin-left:1.0in'><font size=2 face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial'>TIA!</span></font> </p>
> 
> 
> 
> <p style='margin-left:1.0in'><font size=2 face=Arial><span 
> style='font-size:
> 
> 10.0pt;font-family:Arial'>-Josh</span></font> </p>
> 
> 
> 
> <p style='margin-left:1.0in'><font size=3 face="Times New 
> Roman"><span
> 
> style='font-size:12.0pt'><br>
> 
> _____________________________________________________________________<br>
> 
> 
> This e-mail has been scanned for viruses by the uuNet Internet Managed 
> Scanning
> 
> Service - powered by MessageLabs. </span></font></p>
> 
> 
> 
> </blockquote>
> 
> 
> 
> </div>
> 
> 
> 
> </body>
> 
> 
> 
> </html>
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> <a href='http://thinkgeek.com/sf'>http://thinkgeek.com/sf</a>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list