summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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"