summaryrefslogtreecommitdiffstats
path: root/plugins/utils.h
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-07-29 11:57:36 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-07-29 11:57:36 (GMT)
commit99653f1e6926d4896eb4fe477e19096dd848699a (patch)
tree907bd5b039ef156694ad829515e78d3ca4fc994a /plugins/utils.h
parent930c8c9dfc43b9927f587e96b984d168e0fc9bfe (diff)
downloadmonitoring-plugins-99653f1e6926d4896eb4fe477e19096dd848699a.tar.gz
some shared text for internationalized help text
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@618 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.h')
-rw-r--r--plugins/utils.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/utils.h b/plugins/utils.h
index b345f7a..292c3df 100644
--- a/plugins/utils.h
+++ b/plugins/utils.h
@@ -89,3 +89,34 @@ char *state_text (int result);
89{"warning",required_argument,0,'w'},\ 89{"warning",required_argument,0,'w'},\
90{"hostname",required_argument,0,'H'} 90{"hostname",required_argument,0,'H'}
91 91
92#define COPYRIGHT "Copyright (c) %s Nagios Plugin Development Team\n\
93\t<%s>\n\n"
94
95#define HELP_VRSN "\
96\nOptions:\n\
97 -h, --help\n\
98 Print detailed help screen\n\
99 -V, --version\n\
100 Print version information\n"
101
102#define HOST_PORT_46 "\
103 -H, --hostname=ADDRESS\n\
104 Host name or IP Address%s\n\
105 -%c, --port=INTEGER\n\
106 Port number (default: %s)\n\
107 -4, --use-ipv4\n\
108 Use IPv4 connection\n\
109 -6, --use-ipv6\n\
110 Use IPv6 connection\n"
111
112#define VRBS "\
113 -v, --verbose\n\
114 Show details for command-line debugging (Nagios may truncate output)\n"
115
116#define WARN_CRIT_TO "\
117 -w, --warning=DOUBLE\n\
118 Response time to result in warning status (seconds)\n\
119 -c, --critical=DOUBLE\n\
120 Response time to result in critical status (seconds)\n\
121 -t, --timeout=INTEGER\n\
122 Seconds before connection times out (default: %s)\n"