[Nagiosplug-devel] r1879: check_tcp now returns UNKNOWN with an invalid hostname on command line
Thomas Guyot-Sionnest
dermoth at aei.ca
Tue Jan 8 12:27:00 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In check_tcp.c svn logs:
- ------------------------------------------------------------------------
r1879 | tonvoon | 2007-12-19 05:08:06 -0500 (Wed, 19 Dec 2007) | 2 lines
check_tcp now returns UNKNOWN with an invalid hostname on command line
This breaks some tests (at least check_ftp and maybe others)... I fixed
check_ftp but I can't guarantee I'll fix all breakages if there's more.
Also while I see the point of using UNKNOWNs for unknown hosts, I'm
thinking whoever is testing a remote host he doesn't control with
check_tcp will receive UNKNOWN instead of CRITICAL if the hostname
changes which might not be the expected behavior.
So it should be well documented that whoever is running checks with
hostnames should check with check_dns as well, especially for hosts they
don't have control over.
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD4DBQFHg14E6dZ+Kt5BchYRAr9cAJYkj8UYCaAQHPhQ3gWpjfaEMp7cAKCw3WbX
jcoW6JNd5QdIDTrJ+MWRtA==
=FG9L
-----END PGP SIGNATURE-----
More information about the Devel
mailing list