summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 99be255)
raw | patch | inline | side by side (parent: 99be255)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 13 Mar 2003 21:10:59 +0000 (21:10 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 13 Mar 2003 21:10:59 +0000 (21:10 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@420 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 04df7e68a692f24c55815c3b8331ac6af3944f0b..dd9f19bcc39d85927b087508a1d3596b80b4b946 100644 (file)
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
STATE_WARNING return values.\n";
const char *option_summary = "\
--H host [-p port] [-e expect] [-C command] [-f from addr]
+-H host [-p port] [-e expect] [-C command] [-f from addr]\n\
[-w warn] [-c crit] [-t timeout] [-n] [-v]";
const char *options = "\
result = STATE_WARNING;
if (verbose)
- printf ("SMTP %s - %7.3f sec. response time, %s|time=%7.3f\n",
+ printf ("SMTP %s - %.3f sec. response time, %s|time=%.3f\n",
state_text (result), elapsed_time, buffer, elapsed_time);
else
- printf ("SMTP %s - %7.3f second response time|time=%7.3f\n",
+ printf ("SMTP %s - %.3f second response time|time=%.3f\n",
state_text (result), elapsed_time, elapsed_time);
return result;