[Nagiosplug-devel] [Pkg-nagios-devel] Bug#392610: nagios-plugins-basic: check_jabber always return warning
Jan Wagner
waja at cyconet.org
Wed Jan 31 08:47:26 CET 2007
On Wednesday 31 January 2007 05:45, Thomas Guyot-Sionnest wrote:
> I tried it but I had to remove the SSL flag in the check_jabber-specific
> code. It is always possible to check with ssl with the --ssl
> command-line option so I guess I should consider removing that flag.
> Otherwise you don't have the option and must check with SSL.
>
> I also left the return code on mismatches to WARNING as it is the
> default for every other invocations of check_tcp that set expect
> strings. This can be changed as well, using the --mismatch (-M) switch.
Hey Thomas!
> The patch I'm committing is attached.
# ./check_jabber -H jabber.org -p 5222
JABBER OK - 0,317 second response time on port 5222|
time=0,317007s;0,000000;0,000000;0,000000;10,000000
It's working like a charm, thanks for fixing it. Will it be included in the
upcoming release?
Thanks and with kind regards, Jan.
--
Never write mail to <waja at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://nagios-plugins.org/archive/devel/attachments/20070131/db4aa23e/attachment.sig>
More information about the Devel
mailing list