summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-12-19 19:30:52 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-12-19 19:30:52 (GMT)
commit6f1fc7e3a0196dabe442ef3e4b00c285c954ccd5 (patch)
treee32c16d8ff3ae49b4e1631a75f03f6cb17b3a48a
parent198b425de624e8d67b537fd559d2c6cbd40d12ee (diff)
downloadmonitoring-plugins-6f1fc7e3a0196dabe442ef3e4b00c285c954ccd5.tar.gz
expect is +OK for SPOP too
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@233 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index cbe8595..32d38b4 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -171,7 +171,7 @@ main (int argc, char **argv)
171 asprintf (&PROGNAME, "check_spop"); 171 asprintf (&PROGNAME, "check_spop");
172 asprintf (&SERVICE, "SPOP"); 172 asprintf (&SERVICE, "SPOP");
173 SEND=NULL; 173 SEND=NULL;
174 asprintf (&EXPECT, "110"); 174 asprintf (&EXPECT, "+OK");
175 asprintf (&QUIT, "QUIT\r\n"); 175 asprintf (&QUIT, "QUIT\r\n");
176 PROTOCOL=TCP_PROTOCOL; 176 PROTOCOL=TCP_PROTOCOL;
177 use_ssl=TRUE; 177 use_ssl=TRUE;