Page 1 of 1

nrpe: command 'check_disk' not defined

Posted: Wed Apr 24, 2019 8:10 am
by shtrudhan
Hi Team,

I have install the nrpe agent and configure one Linux node in Nagios XI. When we check the status of service the some of monitor show like " nrpe : command 'check_disk' not defined.
I tried many way, but stil the same thing. Could you please help me to fix this.
I check the nrpe config file and update accordingly. Took the nrpe restart.

But the same time some of monitor is working like CPU load,

Regards
Shtrudhan

Re: nrpe: command 'check_disk' not defined

Posted: Wed Apr 24, 2019 8:39 am
by scottwilkerson
Can you share the nrpe.cfg from the remote server?

Re: nrpe: command 'check_disk' not defined

Posted: Wed Apr 24, 2019 11:11 pm
by shtrudhan
Hi
Please find the attachment. i need to report to nagios XI server. Please help me to fix this.

Re: nrpe: command 'check_disk' not defined

Posted: Thu Apr 25, 2019 8:50 am
by scottwilkerson
The check_disk line is commented out, you need to replace this:

Code: Select all

#command[check_disk]=/usr/local/nagios/libexec/check_disk $ARG1$
With this

Code: Select all

command[check_disk]=/usr/local/nagios/libexec/check_disk $ARG1$
then restart nrpe