Page 5 of 5

Re: NRPE issue

Posted: Fri May 10, 2013 4:38 pm
by abrist
Well, you have 1 plugin working through nrpe (check_apt)? I will have to peruse your configs this weeksend.

Re: NRPE issue

Posted: Fri May 10, 2013 4:56 pm
by jiggityjog
ALRIGHT. I got it. Noticed what this fellow did: http://stackoverflow.com/questions/1021 ... n-the-term

If anyone's been following, initially, I couldn't load the configuration I had set due to a duplicate command definition.

Code: Select all

define command{
        command_name check_nrpe
	command_line	$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
}
which became

Code: Select all

define command{
	command_line	$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
}
and the solution!

Code: Select all

define command{
        command_name check_nrpe_cart_OR_ANYTHING_DISTINGUISHABLE
	command_line	$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
}
And then use that command_name correspondingly in the services. Boy do I feel silly. Thanks for all the help!

Re: NRPE issue

Posted: Mon May 13, 2013 8:06 am
by lmiltchev
I'm glad you got your issue resolved!