NRPE issue

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NRPE issue

Post by abrist »

Well, you have 1 plugin working through nrpe (check_apt)? I will have to peruse your configs this weeksend.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
jiggityjog
Posts: 20
Joined: Mon Apr 22, 2013 5:14 pm

Re: NRPE issue

Post 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!
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: NRPE issue

Post by lmiltchev »

I'm glad you got your issue resolved!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked