[Nagiosplug-help] check_jabber

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Aug 27 03:18:20 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26/08/08 08:50 AM, Hari Sekhon wrote:
> check_tcp -H $HOSTADDRESS$ -p 5223
> 
> If you want to change the TCP OK output to JABBER OK then just write a 
> shell wrapper around the plugin to change this output.

check_jabber does a little more that that. Beside the port, it change
the send, expect and quit strings (and sets -j) to make sure jabber is
responding properly.

You can search for "jabber" in the check_tcp source to find the exact
parameter, but the recommended way to do this would be to symlink it:

$ cd /path/to/plugins
$ sudo ln -s check_tcp check_jabber


- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItKtc6dZ+Kt5BchYRAiMrAKD2+S9/BKStV6CZPI+RtPst0rWxbQCfdm+y
OIBpJQTuJEMStD2oUjAykz4=
=SA55
-----END PGP SIGNATURE-----




More information about the Help mailing list