Suggestion: Command Definitions - All $ARG$ values
Posted: Mon Feb 21, 2011 9:12 pm
Using the check_local_load command as a reference.
Out of the box it is
When I wanted to modify the localhost Current Load service to add -r to the end of the command I found that there was no logical place to put the -r.
I had the option of:
My suggestion is that all commands that come defined in the base product should have all the $ARG$ fields present in the command string. For example I suggest the following check_local_load command:
This just allows more flexibility with the built in commands, even though all of the fields may not be used at lease there is the option there (without having to modify an existing command or create a new one).
Nagios XI 2009R1.4B running on a VMware VM on an ESXi 4.1 host.
Out of the box it is
Code: Select all
$USER1$/check_load -w $ARG1$ -c $ARG2$I had the option of:
- Add -r to the end of the $ARG2$ field
Modify the existing check_local_load command to include $ARG3$
Create an alternate check_local_load command that includes $ARG3$
My suggestion is that all commands that come defined in the base product should have all the $ARG$ fields present in the command string. For example I suggest the following check_local_load command:
Code: Select all
$USER1$/check_load -w $ARG1$ -c $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$Nagios XI 2009R1.4B running on a VMware VM on an ESXi 4.1 host.