summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9188225)
raw | patch | inline | side by side (parent: 9188225)
author | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Fri, 14 Mar 2008 22:35:29 +0000 (22:35 +0000) | ||
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Fri, 14 Mar 2008 22:35:29 +0000 (22:35 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1942 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_smtp.c | patch | blob | history |
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 97208b0587cb4674ff9dc970600818edaa8560be..b1fc7ee0740eab80bb1854a71ce1654c9023f845 100644 (file)
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
/* make sure we find the response we are looking for */
if (!strstr (buffer, server_expect)) {
if (server_port == SMTP_PORT)
- printf (_("Invalid SMTP response received from host\n"));
+ printf (_("Invalid SMTP response received from host: %s\n"), buffer);
else
- printf (_("Invalid SMTP response received from host on port %d\n"),
- server_port);
+ printf (_("Invalid SMTP response received from host on port %d: %s\n"),
+ server_port, buffer);
result = STATE_WARNING;
}
}