I have the nrpe.cfg with dont_blame_nrpe=1.
In my commands.cfg I have this:
Code: Select all
# Check NRPE Host
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
./check_nrpe -H 10.1.10.10 -c check_mountpoint -a 'data'
However, it does. I'm a little confused as I was expecting to have to edit my commands file so that it looked like this:
Code: Select all
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
}
Is it possible that the check_nrpe command is overwritten somewhere else, or have I completely misunderstood the config for this command?
If it's the former, where might I expect to find the other override please? I've looked and cannot find any reference to this command anywhere else so I'm inclined to think I've missed the point somewhere!!! HELP?