Socket error: Connection refused

Rudy Montemayor RMontemayor at huntoil.com
Tue Dec 16 18:40:24 CET 2003


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

-- 
+----------------------------+-----------------+
|Matt Cowger                 |w:253.535.7262   |
|Systems Administrator       |c:425.923.5885   |
|Pacific Lutheran University |p:253.280.7601   |
+----------------------------+-----------------|
|The Internet treats censorship as a           |
|malfunction and routes around it.             |
|                     —John Perry Barlow       |
+----------------------------------------------+



-------------------------------------------------------
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_id78&alloc_id371&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