<p>With <a href="https://github.com/nagios-plugins/nagios-plugins/commit/d4c5730464" class="commit-link"><tt>d4c5730</tt></a> git snapshot on Debian Wheezy and testing against an ejabberd 2.1.10 works like a charm:</p>

<p><code>check_jabber -6 -H foo -A -e "<?xml version='1.0'?><stream:stream" -e "xmlns='jabber:client'" -e "xmlns:stream='http://etherx.jabber.org/streams'"</code><br><code>JABBER OK - 0.002 second response time on port 5222|time=0.001840s;;;0.000000;10.000000</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/nagios-plugins/nagios-plugins/issues/891#issuecomment-25434068'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/_EHT0K2RMtzboqJPrl-P-CtsgMoKy6FvY565zKGm3xrpuFiLmwqswUKTbHdHL3WG.gif' height='1' width='1'></p>