z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

nrpe issues

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.

nrpe issues

Postby ammu440 » Tue Sep 20, 2022 3:48 am

Hi all,

We have been using NRPE version 3 from the client and then we have updated version to 4 on all the clients. Now all the nrpe checks has an UNknown state "nrpe command not defined"

command[check_script=/usr/lib/nagios/plugins/check_script.sh $ARG1$

Can you please suggest.

define command {
command_name check_nrpe
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
ammu440
 
Posts: 8
Joined: Fri Sep 09, 2022 9:24 am

Re: nrpe issues

Postby gormank » Tue Sep 20, 2022 3:13 pm

Looks like a missing bracket below...

command[check_script=/usr/lib/nagios/plugins/check_script.sh $ARG1$
gormank
 
Posts: 1081
Joined: Tue Dec 02, 2014 12:00 pm

Re: nrpe issues

Postby ammu440 » Wed Sep 21, 2022 2:12 am

gormank wrote:Looks like a missing bracket below...

command[check_script]=/usr/lib/nagios/plugins/check_script.sh $ARG1$


oh no the bracket was there just typo error
ammu440
 
Posts: 8
Joined: Fri Sep 09, 2022 9:24 am

Re: nrpe issues

Postby gormank » Thu Sep 22, 2022 2:05 pm

Is the command defined on the remote server to be checked?
Was nrpe/xinetd restarted on the remote host?
gormank
 
Posts: 1081
Joined: Tue Dec 02, 2014 12:00 pm


Return to Open Source Nagios Projects

Who is online

Users browsing this forum: Google [Bot] and 18 guests