diff options
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index d95422ad..b10f0e5a 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -92,37 +92,35 @@ char *state_text (int result); | |||
92 | #define COPYRIGHT "Copyright (c) %s Nagios Plugin Development Team\n\ | 92 | #define COPYRIGHT "Copyright (c) %s Nagios Plugin Development Team\n\ |
93 | \t<%s>\n\n" | 93 | \t<%s>\n\n" |
94 | 94 | ||
95 | #define HELP_VRSN "\ | 95 | #define UT_HELP_VRSN "\ |
96 | \nOptions:\n\ | 96 | \nOptions:\n\ |
97 | -h, --help\n\ | 97 | -h, --help\n\ |
98 | Print detailed help screen\n\ | 98 | Print detailed help screen\n\ |
99 | -V, --version\n\ | 99 | -V, --version\n\ |
100 | Print version information\n" | 100 | Print version information\n" |
101 | 101 | ||
102 | #define HOST_PORT "\ | 102 | #define UT_HOST_PORT "\ |
103 | -H, --hostname=ADDRESS\n\ | 103 | -H, --hostname=ADDRESS\n\ |
104 | Host name or IP Address\n\ | 104 | Host name or IP Address\n\ |
105 | -%c, --port=INTEGER\n\ | 105 | -%c, --port=INTEGER\n\ |
106 | Port number (default: %s)\n" | 106 | Port number (default: %s)\n" |
107 | 107 | ||
108 | #define IPv46 "\ | 108 | #define UT_IPv46 "\ |
109 | -4, --use-ipv4\n\ | 109 | -4, --use-ipv4\n\ |
110 | Use IPv4 connection\n\ | 110 | Use IPv4 connection\n\ |
111 | -6, --use-ipv6\n\ | 111 | -6, --use-ipv6\n\ |
112 | Use IPv6 connection\n" | 112 | Use IPv6 connection\n" |
113 | 113 | ||
114 | #define VRBS "\ | 114 | #define UT_VERBOSE "\ |
115 | -v, --verbose\n\ | 115 | -v, --verbose\n\ |
116 | Show details for command-line debugging (Nagios may truncate output)\n" | 116 | Show details for command-line debugging (Nagios may truncate output)\n" |
117 | 117 | ||
118 | #define WARN_CRIT_TO "\ | 118 | #define UT_WARN_CRIT "\ |
119 | -w, --warning=DOUBLE\n\ | 119 | -w, --warning=DOUBLE\n\ |
120 | Response time to result in warning status (seconds)\n\ | 120 | Response time to result in warning status (seconds)\n\ |
121 | -c, --critical=DOUBLE\n\ | 121 | -c, --critical=DOUBLE\n\ |
122 | Response time to result in critical status (seconds)\n\ | 122 | Response time to result in critical status (seconds)\n" |
123 | -t, --timeout=INTEGER\n\ | ||
124 | Seconds before connection times out (default: %d)\n" | ||
125 | 123 | ||
126 | #define TIMEOUT "\ | 124 | #define UT_TIMEOUT "\ |
127 | -t, --timeout=INTEGER\n\ | 125 | -t, --timeout=INTEGER\n\ |
128 | Seconds before connection times out (default: %d)\n" | 126 | Seconds before connection times out (default: %d)\n" |