NRPE - Error Check Disk

The steps below deal with the issue DISK CRITICAL - /sys/kernel/debug/tracing is not accessible: Permission denied

sudo chown root:root /usr/lib/nagios/plugins/check_disk
sudo chmod u+s /usr/lib/nagios/plugins/check_disk
sudo chmod o+x /usr/lib/nagios/plugins/check_disk


Ignore the partition from check. If you read manpage carefully, you can use -A to check all path, then use -I to ignore path that match regex:

/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -A -I '/drop-zone/*'