On Fri, 21 Nov 2008, Luke Sheldrick wrote: > Hi, > > Has anyone every got check_jabber to work? > > Seems what ever syntax I try, it still WARNs... > > ./check_jabber -H sheldrick.co.uk -v > Using service JABBER > Port: 5222 > flags: 0x26 > Send string: <stream:stream to='host' xmlns='jabber:client' > xmlns:stream='http://etherx.jabber.org/streams'> > > Quit string: </stream:stream> > > server_expect_count: 1 > 0: <?xml version='1.0'?><stream:stream xmlns='jabber:client' > xmlns:stream='http://etherx.jabber.org/streams' > received 174 bytes from host > #-raw-recv-------# > <?xml version='1.0' encoding='UTF-8'?><stream:stream > xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" > from="sheldrick.co.uk" id="db947949" xml:lang="en"> > #-raw-recv-------# > looking for [<?xml version='1.0'?><stream:stream xmlns='jabber:client' > xmlns:stream='http://etherx.jabber.org/streams'] in beginning of [<?xml > version='1.0' encoding='UTF-8'?><stream:stream > xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" > from="sheldrick.co.uk" id="db947949" xml:lang="en">] > couldn't find it > JABBER WARNING - Unexpected response from host/socket on port > 5222|time=0.044792s;;;0.000000;10.000000
Well, yeah -- based on the message, the string it's trying to match against isn't what your server sends. Unless that's configurable, it's never going to work without some recoding. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list [email protected] 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
