nrpe: command 'check_disk' not defined

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
shtrudhan
Posts: 5
Joined: Sun Feb 18, 2018 4:09 am

nrpe: command 'check_disk' not defined

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nrpe: command 'check_disk' not defined

Post by scottwilkerson »

Can you share the nrpe.cfg from the remote server?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
shtrudhan
Posts: 5
Joined: Sun Feb 18, 2018 4:09 am

Re: nrpe: command 'check_disk' not defined

Post by shtrudhan »

Hi
Please find the attachment. i need to report to nagios XI server. Please help me to fix this.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nrpe: command 'check_disk' not defined

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked