diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index a21572d..979dfad 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -189,6 +189,16 @@ main (int argc, char **argv) | |||
189 | use_ssl=TRUE; | 189 | use_ssl=TRUE; |
190 | PORT=995; | 190 | PORT=995; |
191 | } | 191 | } |
192 | else if (strstr(argv[0],"check_ssmtp")) { | ||
193 | progname = strdup ("check_ssmtp"); | ||
194 | SERVICE = strdup ("SSMTP"); | ||
195 | SEND=NULL; | ||
196 | EXPECT = strdup ("220"); | ||
197 | QUIT = strdup ("QUIT\r\n"); | ||
198 | PROTOCOL=TCP_PROTOCOL; | ||
199 | use_ssl=TRUE; | ||
200 | PORT=465; | ||
201 | } | ||
192 | else if (strstr(argv[0],"check_jabber")) { | 202 | else if (strstr(argv[0],"check_jabber")) { |
193 | progname = strdup("check_jabber"); | 203 | progname = strdup("check_jabber"); |
194 | SERVICE = strdup("JABBER"); | 204 | SERVICE = strdup("JABBER"); |