Bug#392610: [Nagiosplug-devel] [Pkg-nagios-devel] Bug#392610: nagios-plugins-basic: check_jabber always return warning

2007-01-31 Thread Thomas Guyot-Sionnest
On 31/01/07 02:47 AM, Jan Wagner wrote: On Wednesday 31 January 2007 05:45, Thomas Guyot-Sionnest wrote: # ./check_jabber -H jabber.org -p 5222 JABBER OK - 0,317 second response time on port 5222| time=0,317007s;0,00;0,00;0,00;10,00 It's working like a charm, thanks for

Bug#392610: [Nagiosplug-devel] [Pkg-nagios-devel] Bug#392610: nagios-plugins-basic: check_jabber always return warning

2007-01-30 Thread Jan Wagner
Hi Thomas, thanks for your help. On Tuesday 30 January 2007 06:12, Thomas Guyot-Sionnest wrote: The jabber check sends data and waits for a response. To get the same with check_tcp you would need the following additional parameters (I copied that from C code so I'm not sure if the escapes

Bug#392610: [Nagiosplug-devel] [Pkg-nagios-devel] Bug#392610: nagios-plugins-basic: check_jabber always return warning

2007-01-30 Thread Thomas Guyot-Sionnest
On 30/01/07 04:00 AM, Jan Wagner wrote: Hi Thomas, thanks for your help. # LANG=C ./check_tcp -H jabber.org -p 5223 --send=stream:stream to=\'jabber.org\' xmlns=\'jabber:client\' xmlns:stream=\'http://etherx.jabber.org/streams\'\n --expect=?xml version=\'1.0\'?stream:stream

Bug#392610: [Nagiosplug-devel] [Pkg-nagios-devel] Bug#392610: nagios-plugins-basic: check_jabber always return warning

2007-01-30 Thread Jan Wagner
On Tuesday 30 January 2007 15:23, Thomas Guyot-Sionnest wrote: Aww, that's definitely a bug. Why '-j' works but not '--jail' is a mistery for me though :/ Use the attached patch to fix your problem. Hi Thomas, my/our main problem here is, that check_jabber seems not working, since check_tcp

Bug#392610: [Nagiosplug-devel] [Pkg-nagios-devel] Bug#392610: nagios-plugins-basic: check_jabber always return warning

2007-01-30 Thread Thomas Guyot-Sionnest
On 30/01/07 04:00 AM, Jan Wagner wrote: Hi Thomas, I also see one more possible problem. Should it be CRITICAL instead of WARNING when the output doesn't match? And do you have an external jabber host to check against so I can make sure the send/expect rules are right? The attached patch

Bug#392610: [Nagiosplug-devel] [Pkg-nagios-devel] Bug#392610: nagios-plugins-basic: check_jabber always return warning

2007-01-30 Thread Jan Wagner
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

Bug#392610: [Nagiosplug-devel] [Pkg-nagios-devel] Bug#392610: nagios-plugins-basic: check_jabber always return warning

2007-01-29 Thread Thomas Guyot-Sionnest
On 21/01/07 03:56 PM, Jan Wagner wrote: On Thursday 12 October 2006 16:40, Alexey Bestchekov wrote: ex: [EMAIL PROTECTED] ~/usr/lib/nagios/plugins/check_jabber -H localhost -p 5223 -w 1 -c 2 JABBER WARNING - 0,007 second response time on port 5223|time=0,007033s;0.0;0.0;0.0;0.0 Hey Guys,

Bug#392610: [Nagiosplug-devel] [Pkg-nagios-devel] Bug#392610: nagios-plugins-basic: check_jabber always return warning

2007-01-29 Thread Thomas Guyot-Sionnest
On 29/01/07 10:47 PM, Thomas Guyot-Sionnest wrote: On 21/01/07 03:56 PM, Jan Wagner wrote: Hey Guys, I can confirm this bug, since I'm also hit by it. nagios2:~# /usr/lib/nagios/plugins/check_tcp -H foobar -p 5223 TCP OK - 0,003 second response time on port 5223|