Nagios remote nrpe check_disk returns permission denied
Posted: Thu May 20, 2021 9:50 pm
Hi!
I have a problem with remote check_disk command using check_disk.
command[check_disk_space]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -W $ARG3$ -K $ARG4$
but display below code :
DISK CRITICAL - /var/lib/docker/overlay2/dfb45a9a0b2e3e63b2fa5306acccc44ea7e9ea1c8b1b34080f48df08dddec7c5/merged is not accessible: Permission denied
at file /etc/sudoers,i add below:
nagios ALL=(ALL) NOPASSWD:ALL
but also have problem
Please what could be the problem?
I have a problem with remote check_disk command using check_disk.
command[check_disk_space]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -W $ARG3$ -K $ARG4$
but display below code :
DISK CRITICAL - /var/lib/docker/overlay2/dfb45a9a0b2e3e63b2fa5306acccc44ea7e9ea1c8b1b34080f48df08dddec7c5/merged is not accessible: Permission denied
at file /etc/sudoers,i add below:
nagios ALL=(ALL) NOPASSWD:ALL
but also have problem
Please what could be the problem?