Skip to content

Commit

Permalink
Make the vpoller.so module config parameters optional as we have defa…
Browse files Browse the repository at this point in the history
…ults
  • Loading branch information
dnaeon committed Sep 12, 2014
1 parent 430bdbe commit cc011ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/zabbix/vpoller-module/vpoller.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ zbx_module_load_config(void)
* PARAMETER, VAR, TYPE, MANDATORY, MIN, MAX
*/
static struct cfg_line cfg[] = {
{ "vPollerTimeout", &CONFIG_VPOLLER_TIMEOUT, TYPE_INT, PARM_MAND, 1000, 60000 },
{ "vPollerRetries", &CONFIG_VPOLLER_RETRIES, TYPE_INT, PARM_MAND, 1, 100 },
{ "vPollerProxy", &CONFIG_VPOLLER_PROXY, TYPE_STRING, PARM_MAND, 0, 0 },
{ "vPollerTimeout", &CONFIG_VPOLLER_TIMEOUT, TYPE_INT, PARM_OPT, 1000, 60000 },
{ "vPollerRetries", &CONFIG_VPOLLER_RETRIES, TYPE_INT, PARM_OPT, 1, 100 },
{ "vPollerProxy", &CONFIG_VPOLLER_PROXY, TYPE_STRING, PARM_OPT, 0, 0 },
{ NULL },
};

Expand Down

0 comments on commit cc011ab

Please sign in to comment.