summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 930c8c9)
raw | patch | inline | side by side (parent: 930c8c9)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Tue, 29 Jul 2003 11:57:36 +0000 (11:57 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Tue, 29 Jul 2003 11:57:36 +0000 (11:57 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@618 f882894a-f735-0410-b71e-b25c423dba1c
plugins/utils.h | patch | blob | history |
diff --git a/plugins/utils.h b/plugins/utils.h
index b345f7a2b7da517822a756019ce29413797d9914..292c3dff1bb8d1f88f3ac78244511e268d49fb28 100644 (file)
--- a/plugins/utils.h
+++ b/plugins/utils.h
{"warning",required_argument,0,'w'},\
{"hostname",required_argument,0,'H'}
+#define COPYRIGHT "Copyright (c) %s Nagios Plugin Development Team\n\
+\t<%s>\n\n"
+
+#define HELP_VRSN "\
+\nOptions:\n\
+ -h, --help\n\
+ Print detailed help screen\n\
+ -V, --version\n\
+ Print version information\n"
+
+#define HOST_PORT_46 "\
+ -H, --hostname=ADDRESS\n\
+ Host name or IP Address%s\n\
+ -%c, --port=INTEGER\n\
+ Port number (default: %s)\n\
+ -4, --use-ipv4\n\
+ Use IPv4 connection\n\
+ -6, --use-ipv6\n\
+ Use IPv6 connection\n"
+
+#define VRBS "\
+ -v, --verbose\n\
+ Show details for command-line debugging (Nagios may truncate output)\n"
+
+#define WARN_CRIT_TO "\
+ -w, --warning=DOUBLE\n\
+ Response time to result in warning status (seconds)\n\
+ -c, --critical=DOUBLE\n\
+ Response time to result in critical status (seconds)\n\
+ -t, --timeout=INTEGER\n\
+ Seconds before connection times out (default: %s)\n"