published on
tags: nagios debian linux

nagios external commands in debian linux

To enable checking for external commands in nagios3:

Add the followimg to /etc/nagios3/nagios.cfg

check_external_commands=1

To fix the permission error:

/etc/init.d/nagios3 stop
dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw
dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3
/etc/init.d/nagios3 start