Closed monitoring-user closed 11 years ago
Submitted by mishikal on 2005-03-03 04:34:23
check_tcp doesn't support check_ssmtp as a protocol check. Stanford has developed a patch allowing this:
--- nagios-plugins-1.3.1/plugins/check_tcp.c.orig 2003-06-09 21:56:47.000001000 -0700 +++ nagios-plugins-1.3.1/plugins/check_tcp.c 2003-12-10 19:07:58.000001000 -0800 @@ -179,10 +179,34 @@ asprintf (&QUIT, "QUIT\r\n"); PROTOCOL=TCP_PROTOCOL; use_ssl=TRUE; PORT=995; }
else if (strstr (argv[0], "check_nntp")) { asprintf (&progname, "check_nntp"); asprintf (&SERVICE, "NNTP"); SEND = NULL;
--- nagios-plugins-1.3.1/configure.orig 2003-07-10 23:30:56.000001000 -0700 +++ nagios-plugins-1.3.1/configure 2003-12-10 18:55:57.000001000 -0800 @@ -8383,11 +8383,11 @@ LIBS="$_SAVEDLIBS"
if test "$ac_cv_lib_crypto_CRYPTO_lock" = "yes"; then if test "$ac_cv_lib_ssl_main" = "yes"; then if test "$FOUNDINCLUDE" = "yes"; then
check_tcp_ssl="check_simap check_spop
check_ssmtp check_nntps"
cat >>confdefs.h <<_ACEOF
Submitted by seanius on 2005-04-11 05:13:54
i've submitted a modified version of this patch into cvs.
Submitted by seanius on 2005-04-19 02:18:11
closing the bug now that i have admin perms
Submitted by mishikal on 2005-03-03 04:34:23
check_tcp doesn't support check_ssmtp as a protocol check. Stanford has developed a patch allowing this:
--- nagios-plugins-1.3.1/plugins/check_tcp.c.orig
2003-06-09 21:56:47.000001000 -0700 +++ nagios-plugins-1.3.1/plugins/check_tcp.c
2003-12-10 19:07:58.000001000 -0800 @@ -179,10 +179,34 @@ asprintf (&QUIT, "QUIT\r\n"); PROTOCOL=TCP_PROTOCOL; use_ssl=TRUE; PORT=995; }
endif
--- nagios-plugins-1.3.1/configure.orig 2003-07-10 23:30:56.000001000 -0700 +++ nagios-plugins-1.3.1/configure 2003-12-10 18:55:57.000001000 -0800 @@ -8383,11 +8383,11 @@ LIBS="$_SAVEDLIBS"
if test "$ac_cv_lib_crypto_CRYPTO_lock" = "yes"; then if test "$ac_cv_lib_ssl_main" = "yes"; then if test "$FOUNDINCLUDE" = "yes"; then
check_ssmtp check_nntps"
cat >>confdefs.h <<_ACEOF
define HAVE_SSL 1