Socket error: Connection refused

Jason Martin jhmartin at toger.us
Tue Dec 16 21:32:30 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A 'connection refused' means that nrpe isn't running at all, or isn't 
configured in inetd. 'Connection Refused' means that the kernel wasn't 
expecting a connection to that port. If NRPE is running but isn't 
configured to allow connections from that particular host then you'd get a 
connection that would open and immediately close.

- -Jason Martin


On Tue, 16 Dec 2003, Rudy Montemayor wrote:

> Yo,
> 
> If you are using NRPE check the nrpe.cfg file on the client for the allowed_hosts line:
> 
> # ALLOWED HOST ADDRESSES
> # This is a comma-delimited list of IP address of hosts that are allowed
> # to talk to the NRPE daemon.
> 
> allowed_hosts=127.0.0.1,<your nagios system IP here>
> 
> Save the file and restart nrpe daemon on client.
> 
> Rudy
> 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Matt
> Cowger
> Sent: Tuesday, December 16, 2003 11:12 AM
> To: Yo
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Socket error: Connection refused
> 
> 
> What happens if you run the plugin manually from the command line? 
> Which plugin is this exactly?  Are you sure the daemon is running on the 
> server you are checking?
> 
> Yo wrote:
> 
> > Hi,
> > 
> > I'm trying to monitore the disk usage of a server. I've overcomed the 
> > 'No perf-definition for service' and 'Unknown Perf-service' error 
> > messages, but now I've got a 'Socket error: Connection refused', even if 
> >  the server is reachable, the network works and there's no tcp port 
> > filtering on the network.
> > 
> > Does anyone have an idea how to solve this problem ?
> > 
> > Thanks
> > Yo
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive?  Does it
> > help you create better code?  SHARE THE LOVE, and help us help
> > YOU!  Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > 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
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.3 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQE/32vkl2ODWuqVSBMRAmrzAJ4hgB1iU3lWt29ZndQ/MsSsNv62YgCeKJai
PuitZTGtA7Te9PGPM0yUfPQ=
=HLdN
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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