check_jabber plugin help
sma nagios
nagiossma at gmail.com
Tue Mar 8 19:52:57 CET 2005
Yeah, I've read the help file many times. I'm just not positive I am
checking the right port. I have tried ports 5269, 5232, 5222, and
5223. The help file is just not descriptive enough. I was wondering
if anyone has sucessfully executed the 'check_jabber' plugin. What
flag's do you use, mainly what port does the check_jabber plugin want
to check?
Thanks,
Dustin Patterson
North Carolina State University
On Tue, 08 Mar 2005 13:40:04 -0500, Bill Akins
<Bill_Akins at emoryhealthcare.org> wrote:
>
> Try running check_jabber -h
> -(/usr/local/nagios/libexec:#)-> ./check_jabber -h
> check_jabber (nagios-plugins 1.4-beta1) 1.61
> Copyright (c) 1999 Ethan Galstad <nagios at nagios.org>
> Copyright (c) 1999-2004 Nagios Plugin Development Team
> <nagiosplug-devel at lists.sourceforge.net>
>
> This plugin tests JABBER connections with the specified host.
>
> Usage: check_jabber -H host -p port [-w <warning time>] [-c <critical time>]
> [-s <send string>] [-e <expect string>] [-q <quit string>]
> [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]
> [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6]
> [-j]
> [-D <days to cert expiry>] [-S <use SSL>]
>
> Options:
> -h, --help
> Print detailed help screen
> -V, --version
> Print version information
> -H, --hostname=ADDRESS
> Host name or IP Address
> -p, --port=INTEGER
> Port number (default: none)
> -4, --use-ipv4
> Use IPv4 connection
> -6, --use-ipv6
> Use IPv6 connection
> -s, --send=STRING
> String to send to the server
> -e, --expect=STRING
> String to expect in server response
> -q, --quit=STRING
> String to send server to initiate a clean close of the connection
> -r, --refuse=ok|warn|crit
> Accept tcp refusals with states ok, warn, crit (default: crit)
> -M, --mismatch=ok|warn|crit
> Accept expected string mismatches with states ok, warn, crit (default:
> warn)
> -j, --jail
> Hide output from TCP socket
> -m, --maxbytes=INTEGER
> Close connection once more than this number of bytes are received
> -d, --delay=INTEGER
> Seconds to wait between sending string and polling for response
> -D, --certificate=INTEGER
> Minimum number of days a certificate has to be valid.
> -S, --ssl
> Use SSL for the connection.
> -w, --warning=DOUBLE
> Response time to result in warning status (seconds)
> -c, --critical=DOUBLE
> Response time to result in critical status (seconds)
> -t, --timeout=INTEGER
> Seconds before connection times out (default: 10)
> -v, --verbose
> Show details for command-line debugging (Nagios may truncate output)
>
> Send email to nagios-users at lists.sourceforge.net if you have questions
> regarding use of this software. To submit patches or suggest improvements,
> send email to nagiosplug-devel at lists.sourceforge.net
>
> Looks like you need to specify -s, -e and -q parameters as well as alert
> criteria.
> HTH.
>
> >>> sma nagios <nagiossma at gmail.com> 3/8/2005 1:27:25 PM >>>
>
> Hey guys,
>
> Just wondering if anyone has successfully used the 'check_jabber'
> plugin in v1.4.
>
> From my nagios box command line I type:
> ./check_jabber -H myhost.whatever -p 5269
>
> And the plugin returns the following error:
> CRITICAL - Cannot make SSL connection 8986:error:140770FC:SSL
> routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:478:
>
> I know check_jabber uses check_tcp. And check_tcp can check the
> jabber server port just fine. For example at the command line:
> ./check_tcp -H myhost.whatever -p 5269
>
> This command returns the following:
> TCP OK - 0.004 second response time on port 5269
> |time=0.004285s;0.000000;0.000000;0.000000;10.000000
>
> So I can get check_tcp to work fine on the jabber server port, but I
> can't get check_jabber to work on that port. I would like to use the
> check_jabber plugin, because I'm sure it returns something cool like
> "Jabber server is responding.." or something like that.
>
> Any advice from anyone who has check_jabber working??
>
> Thanks,
> Dustin Patterson
> North Carolina State University
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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