[Nagiosplug-devel] [ nagiosplug-Bugs-2864973 ] check_ircd fails when using epn

SourceForge.net noreply at sourceforge.net
Mon Apr 12 16:49:37 CEST 2010


Bugs item #2864973, was opened at 2009-09-23 14:23
Message generated for change (Settings changed) made by hweiss
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2864973&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: Embedded Perl failure
Group: CVS
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jan Wagner (cyco_dd)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ircd fails when using epn

Initial Comment:
The following Bugreport we got against our debian package:

The check_ircd plugin works just fine using the commandline using this command:
/usr/lib/nagios/plugins/check_ircd -H localhost -p 1984

Configuring this command for nagios:
command_line    /usr/lib/nagios/plugins/check_ircd -H '$HOSTADDRESS$' -p '$ARG1$'

This check will return an UNKNOWN state in nagios with an error output:
"invalid port: -H"

The same happens with other constellations.
The solution i found on the web was to remove '-H' so that the command looks like:
command_line    /usr/lib/nagios/plugins/check_ircd '$HOSTADDRESS$' -p '$ARG1$'

That command works just fine, so i assume there is an error in the argument parsing logic.

You can track the bugreport and read the followup via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545940

I seemed that check_ircd isn't epn ready. Attached you can find a patch which should fix the problem.

Thanks and kind regards, Jan.

----------------------------------------------------------------------

>Comment By: Holger Weiss (hweiss)
Date: 2010-04-12 16:49

Message:
I committed a slightly modified version of the patch.

Thank you!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2864973&group_id=29880




More information about the Devel mailing list