Page 1 of 1

Adding additional arguments

Posted: Wed Mar 28, 2018 10:28 am
by nms
Hi,

We have a very small amount of scripts which require many arguments. When looking at the Service management (Common settings) it seems there is a limitation of eight arguments ($ARG1$ - $ARG8$). is there a possibly to obtain more arguments?

i know that you can eventually place such arguments directly in the command itself, but for these limited cases we need to stick to one command we created, so we cannot change it.

Rgds,

Matthew

Re: Adding additional arguments

Posted: Wed Mar 28, 2018 10:44 am
by scottwilkerson
Matthew, you cannot add more that 8, however you CAN add multiple items in each field.

So if the command was something like this

Code: Select all

$USER1$/check_plugin -H $HOSTADDRESS$ $ARG1$
In the $ARG1$ fields you can enter as much as you want

Code: Select all

-C my_command -w 50 -c 100 -vvv