[Nagiosplug-devel] [ nagiosplug-Bugs-668778 ] check_ircd - invalid argument
SourceForge.net
noreply at sourceforge.net
Mon Jul 24 21:59:26 CEST 2006
Bugs item #668778, was opened at 2003-01-15 14:51
Message generated for change (Comment added) made by harpermann
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=668778&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Harper Mann (harpermann)
Summary: check_ircd - invalid argument
Initial Comment:
Any ideas what im doing wrong here
libexec]# ./check_ircd -v -H xxx.xxx.xxx.xxx
MAIN(debug): hostname = something.host.name
MAIN(debug): binding to remote host: xxx.xxx.xxx.xxx -
> 6667 -> something.host.name
IRCD UNKNOWN: Could not connect socket (Invalid
argument)
something.host.name and xxx.xxx.xxx.xxx are valid
hostnames and ips just edited out in this post
I get the same (IRCD UNKNOWN: Could not connect
socket (Invalid argument)) as status when it is run by
nagios.
./check_ircd -V
check_ircd (nagios-plugins 1.3.0-beta2) 1.3
The nagios plugins come with ABSOLUTELY NO
WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU
General Public License.
For more information about these matters, see the file
named COPYING.
This is when it is run in its unmodified form installed
from source and compiled, or usign an rpm build
Thanks in advance for any advice.
Sarah
----------------------------------------------------------------------
>Comment By: Harper Mann (harpermann)
Date: 2006-07-24 12:59
Message:
Logged In: YES
user_id=939531
This is coded correctly. You need the "canonical" host name
first in the /etc/hosts file so it's recognizedc by the
remote system.
>From the "hosts" /etc/hosts man page:
"IP_address canonical_hostname aliases"
Example:
"127.0.0.1 localhost
192.168.1.10 foo.mydomain.org foo"
Check_ircd works correctly if hosts are set properly with
FQDN in DNS or /etc/hosts.
[hmann at sirius plugins-scripts]$ ./check_ircd -w 4000 -c 5000
-H niven.freenode.net
IRCD ok - Current Local Users: 3929
[hmann at sirius plugins-scripts]$ echo $?
0
Closing this one..
- Harper
----------------------------------------------------------------------
Comment By: Matthew Kent (mattkent)
Date: 2004-12-05 14:31
Message:
Logged In: YES
user_id=983566
I'm having this problem in my testing as well (perl, v5.8.4
debian unstable). It seems to be something broken in perl's
socket code. It's mentioned here
http://wiki.apache.org/spamassassin/IoSocketInetInvalidArgument
The solution for me was to remove my computers hostname from
the /etc/hosts loopback
127.0.0.1 azul localhost
to
127.0.0.1 localhost
and poof it works... strange problem indeed!
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2004-11-23 16:50
Message:
Logged In: YES
user_id=664364
Moving to Bugs tracker as Support Requests will be closed.
----------------------------------------------------------------------
Comment By: Stanley Hopcroft (stanleyhopcroft)
Date: 2004-11-22 20:56
Message:
Logged In: YES
user_id=395628
I can't repeat this behaviour (ie invalid argument -H)
with check_ircd in the 1.4 alpha plugins release (check_ircd
(nagios-plugins 1.4.0alpha2) 1.3).
Would you retry with this release ?
(Unfortch I can't test the plugin function).
----------------------------------------------------------------------
Comment By: Stanley Hopcroft (stanleyhopcroft)
Date: 2004-11-22 19:06
Message:
Logged In: YES
user_id=395628
I can't repeat this behaviour (ie invalid argument -H)
with check_ircd in the 1.4 alpha plugins release (check_ircd
(nagios-plugins 1.4.0alpha2) 1.3).
Would you retry with this release ?
(Unfortch I can't test the plugin function).
----------------------------------------------------------------------
Comment By: Subhendu Ghosh (sghosh)
Date: 2003-01-15 21:58
Message:
Logged In: YES
user_id=46572
Is your IRC server running on port 6667 ??
Please followup on the mailing list.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=668778&group_id=29880
More information about the Devel
mailing list