xmppping

xmppping - just like ping, but over XMPP, not ICMP
xmppping is a simple script for XMPP pinging (based on XEP-0199). It's a command-line tool mimicking standard ping command.
Requirements
Notes
- This is a very early version, so watch out for bugs! ;)
- You may need to adjust python path in the very first line of the script. Use which python to get the right path for your system.
- If -e option is given, responses with these errors:
-
- type=cancel, condition=service-unavailable
- type=cancel, condition=feature-not-implemented
-
- type=cancel, condition=feature-not-implemented
-E option is default, it is provided to enable you to override -e from config file. -
- Return codes
If there was at least on successful reply, 0 is returned. If there were no pongs, or something bad happened (making sending pings impossible), non-zero value is returned. Meanings of these non-zero values will be defined in future versions. - -j option can now optionally include server hostname override. You may write things like -j localhost//you@example.org (yes, I really need to do something like this, so maybe you'll find it useful, too)
Download xmppping-0.2.tar.gz