diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-07-29 11:57:36 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-07-29 11:57:36 +0000 |
commit | 99653f1e6926d4896eb4fe477e19096dd848699a (patch) | |
tree | 907bd5b039ef156694ad829515e78d3ca4fc994a | |
parent | 930c8c9dfc43b9927f587e96b984d168e0fc9bfe (diff) | |
download | monitoring-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
-rw-r--r-- | plugins/utils.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index b345f7a2..292c3dff 100644 --- a/plugins/utils.h +++ b/plugins/utils.h @@ -89,3 +89,34 @@ char *state_text (int result); {"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" |