Hi,
no this should work with NagiosQL. I have done this kind of setup more than once. I was confused by this line:
| Code: |
define command {
command_name Disk_Space
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_disk
}
|
Where are your arguments within this definition? At least you should have something like:
| Code: |
define command {
command_name Disk_Space
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_disk -a $ARG1$ $ARG2$ $ARG3$
}
|
Then you should be able to define the arguments for every service definition.