diff options
author | Spenser Reinhardt <sreinhardt@nagios.com> | 2014-01-20 14:18:11 -0600 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-01-21 11:34:33 +0100 |
commit | 80e506a2f72b66dee5c607b4dd42b26f505762dd (patch) | |
tree | e2a125963e43aa570a3b1cf2397d6760dba193c9 /plugins/utils.h | |
parent | 212575b8583616058dc4ced59e38d7d36529800a (diff) | |
download | monitoring-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.h | 6 |
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\ |