So there you go.. The problem is that the service isn't listening on the port! That's why you're getting connection refused.
I'm not sure if NSClient+++ uses port 5666, but either way, it's a problem with the service. Check your event log and be a windows admin for a while.. You need that service started, so it listens on the port (5666 or whatever its configured to) and then do the netstat -an again and make sure the port is listening Internet [EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 16:22 Sent by: [EMAIL PROTECTED] To: Nagios-users cc: Subject: Re: [Nagios-users] NRPE Error I tried the netstat -an and I do not see any ports open 5666. I changed the config and set it to the IP address of the NIC card it is using. When I try to telnet to that server from my workstation which is a WINXP Pro station, it still says "connection refused". Any ideas? Thanks -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 11:04 AM To: Antonio Pereira Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error Have you checked the config file to make sure it's listening on the right interface, and port? You need to restart the service after changes to the config file are made Also, try this at the cmd prompt to show all open ports netstat -an Internet [EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 16:01 Sent by: [EMAIL PROTECTED] To: Nagios-users cc: Subject: Re: [Nagios-users] NRPE Error I have used the default port 5666. When I try to telnet to that server I get connection refused as well. I have checked the service and it is running. Thanks -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 10:54 AM To: Antonio Pereira Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error What port have you configured the NSClient++ to work on? Port 5666 or some other port? I use nrpe_nt for windows What happens when you telnet to that port on that server? connection refused? Have you checked the service has started on the windows server? There are no passwords with the NRPE protocol, and if there were, you wouldn't be getting a Connection Refused message, you would have had a user/password prompt Cheers Internet [EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 15:54 Sent by: [EMAIL PROTECTED] To: Nagios-users cc: Subject: [Nagios-users] NRPE Error Hello, I have been trying to get a resolution to this problem for several days. I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I installed the NSClient++ on the windows 2003 server and changed the settings in the nsc.ini file. I run the command check_nrpe command from the command line on the nagios server and I immediately get the error "connection refused by host". I tried the following. I used my computer as a test. And I was able to run the command and get a response from my workstation, with the pnsclient and the check_nt command I think that it is either a password issue or port issue that the windows 2003 is refusing the connection. I also tried the following I installed the pnsclient on the windows 2003 server and ran the check_nt and it worked. The next question is which one is best to use the NSClient++ or the pNSclient? Thanks for any insight ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@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 message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ************************************************************************ ********************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@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