I’m trying to check disk space on a Linux host. I’m getting a CRITICAL error:
NRPE: Command check_rootpart not defined
The only place check_rootpart shows up is in /etc/nagios/checkcommands.cfg
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_rootpart
I believe there are disk space checks for other hosts that are working. I had considered changing check_rootpart to check_disk to match the entry I created in the nrpe.cfg on the remote host, but I’m afraid that would break other, currently-working checks. I do not see check_rootpart defined in nrpe.cfg, so I’m pretty much stumped here.