diff --git a/evocheck.cf b/evocheck.cf index 9d131d2..f9a25ae 100644 --- a/evocheck.cf +++ b/evocheck.cf @@ -20,3 +20,4 @@ IS_SSHALLOWUSERS=1 IS_TMOUTPROFILE=1 IS_ALERT5BOOT=1 IS_ALERT5MINIFW=1 +IS_NRPEPERMS=1 diff --git a/evocheck.sh b/evocheck.sh index f46c798..4da8f70 100644 --- a/evocheck.sh +++ b/evocheck.sh @@ -91,3 +91,7 @@ if [ "$IS_ALERT5MINIFW" = 1 ]; then grep ^/etc/init.d/minifirewall /etc/rc2.d/S99alert5 > /dev/null || echo 'IS_ALERT5MINIFW FAILED!' fi +if [ "$IS_NRPEPERMS" = 1 ]; then + ls -ld /etc/nagios | grep drwxr-x--- > /dev/null || echo 'IS_NRPEPERMS FAILED!' +fi +