check_disk permission denied as warning instead of cirtical
Posted: Fri Dec 14, 2018 8:29 am
Hello,
i don't run the check_disk binary (2.2.1) as root/sudo and i don't want to, i exclude "permission denied" deivce paths or filesystems for the affected systems.
But something that bothers me is the fact that a "permission denied" always runs into a critical error. Nagios automatically calls our 24/7 support on the phone on Critical errors but something like a "permission denied" was always a bind mount, overlay fs or something similar.
Is it somehow possible to change this to a warning instead of a critical error, warnings are errors we fix on the next business day and not in the middle of the night.
Kind Regards
i don't run the check_disk binary (2.2.1) as root/sudo and i don't want to, i exclude "permission denied" deivce paths or filesystems for the affected systems.
But something that bothers me is the fact that a "permission denied" always runs into a critical error. Nagios automatically calls our 24/7 support on the phone on Critical errors but something like a "permission denied" was always a bind mount, overlay fs or something similar.
Is it somehow possible to change this to a warning instead of a critical error, warnings are errors we fix on the next business day and not in the middle of the night.
Kind Regards