diff options
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index a21572d1..979dfad8 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c @@ -189,6 +189,16 @@ main (int argc, char **argv) use_ssl=TRUE; PORT=995; } + else if (strstr(argv[0],"check_ssmtp")) { + progname = strdup ("check_ssmtp"); + SERVICE = strdup ("SSMTP"); + SEND=NULL; + EXPECT = strdup ("220"); + QUIT = strdup ("QUIT\r\n"); + PROTOCOL=TCP_PROTOCOL; + use_ssl=TRUE; + PORT=465; + } else if (strstr(argv[0],"check_jabber")) { progname = strdup("check_jabber"); SERVICE = strdup("JABBER"); |