Adding additional arguments

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Adding additional arguments

Post 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
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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked