Nagios check_disk returns DISK CRITICAL – /sys/kernel/config is not accessible: Permission denied

The Nagios check_disk plugin returned the error “DISK CRITICAL – /sys/kernel/config is not accessible: Permission denied”. At first I blamed SELinux and tried to change the SELinux context, but in reality I was using a bad Nagios command definition.