[Pkg-nagios-devel] [Nagiosplug-devel] patch against check_ssh

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Jul 10 19:07:05 UTC 2010


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

On 10-07-10 11:20 AM, folkert wrote:
> Hi,
> 
> Here's a patch against check_ssh. It makes it emit performancedata
> (latency) like other checks do.

Thanks, however it will have to use the exported perfdata functions,
which won't be very hard to do anyway. See check_tcp as an example (look
for fperfdata). You may want to use deltime too from utils.h.
Using the provided functions helps keeping all plugins to a standard
level and will greatly help conversion to a plugins library if/when we
manage to code it :)

Also I think "time=" would be a more appropriate label; most other
plugins uses it for the latency and some tools might better recognise it.

I will commit it if you can fix the above issue.

Thanks!

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

iEYEARECAAYFAkw4xM0ACgkQ6dZ+Kt5BchaFCQCgq9FAT4UyU5M5Qi6kewvcVOeG
VcIAnjiHptqAI4Y4K6JBcyvAWiP8uAQ/
=Yc2R
-----END PGP SIGNATURE-----



More information about the Pkg-nagios-devel mailing list