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
Adding additional arguments
Adding additional arguments
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Adding additional arguments
Matthew, you cannot add more that 8, however you CAN add multiple items in each field.
So if the command was something like this
In the $ARG1$ fields you can enter as much as you want
So if the command was something like this
Code: Select all
$USER1$/check_plugin -H $HOSTADDRESS$ $ARG1$Code: Select all
-C my_command -w 50 -c 100 -vvv