summaryrefslogtreecommitdiffstats
path: root/plugins/utils.h
diff options
context:
space:
mode:
authorSpenser Reinhardt <sreinhardt@nagios.com>2014-01-20 20:18:11 (GMT)
committerJan Wagner <waja@cyconet.org>2014-01-21 10:34:33 (GMT)
commit80e506a2f72b66dee5c607b4dd42b26f505762dd (patch)
treee2a125963e43aa570a3b1cf2397d6760dba193c9 /plugins/utils.h
parent212575b8583616058dc4ced59e38d7d36529800a (diff)
downloadmonitoring-plugins-80e506a2f72b66dee5c607b4dd42b26f505762dd.tar.gz
plugins/utils.h: Addition of plugin timeout msg.
Addition of timeout message for non-network plugins(UT_PLUG_TIMEOUT), and alteration of UT_TIMEOUT to UT_CONN_TIMEOUT for networked checks. Alteration of pull request #1209 tracker by user awiddersheim.
Diffstat (limited to 'plugins/utils.h')
-rw-r--r--plugins/utils.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/utils.h b/plugins/utils.h
index 657d4bf..b9b488c 100644
--- a/plugins/utils.h
+++ b/plugins/utils.h
@@ -173,10 +173,14 @@ char *fperfdata (const char *,
173 -c, --critical=RANGE\n\ 173 -c, --critical=RANGE\n\
174 Critical range\n") 174 Critical range\n")
175 175
176#define UT_TIMEOUT _("\ 176#define UT_CONN_TIMEOUT _("\
177 -t, --timeout=INTEGER\n\ 177 -t, --timeout=INTEGER\n\
178 Seconds before connection times out (default: %d)\n") 178 Seconds before connection times out (default: %d)\n")
179 179
180#define UT_PLUG_TIMEOUT _("\
181 -t, --timeout=INTEGER\n\
182 Seconds before plugin times out (default: %d)\n")
183
180#ifdef NP_EXTRA_OPTS 184#ifdef NP_EXTRA_OPTS
181#define UT_EXTRA_OPTS _("\ 185#define UT_EXTRA_OPTS _("\
182 --extra-opts=[section][@file]\n\ 186 --extra-opts=[section][@file]\n\