From 80e506a2f72b66dee5c607b4dd42b26f505762dd Mon Sep 17 00:00:00 2001 From: Spenser Reinhardt Date: Mon, 20 Jan 2014 14:18:11 -0600 Subject: 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. 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 *, -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\ -- cgit v0.10-9-g596f