aboutsummaryrefslogtreecommitdiff
path: root/plugins/utils.h
diff options
context:
space:
mode:
authorGravatar Spenser Reinhardt <sreinhardt@nagios.com> 2014-01-20 14:18:11 -0600
committerGravatar Jan Wagner <waja@cyconet.org> 2014-01-21 11:34:33 +0100
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 657d4bfa..b9b488ce 100644
--- a/plugins/utils.h
+++ b/plugins/utils.h
@@ -173,10 +173,14 @@ char *fperfdata (const char *,
-c, --critical=RANGE\n\
Critical range\n")
-#define UT_TIMEOUT _("\
+#define UT_CONN_TIMEOUT _("\
-t, --timeout=INTEGER\n\
Seconds before connection times out (default: %d)\n")
+#define UT_PLUG_TIMEOUT _("\
+ -t, --timeout=INTEGER\n\
+ Seconds before plugin times out (default: %d)\n")
+
#ifdef NP_EXTRA_OPTS
#define UT_EXTRA_OPTS _("\
--extra-opts=[section][@file]\n\