Nagios

From Kyle's Wiki
Jump to: navigation, search

Enabling External Commands on Debian/Ubuntu

Enable the checking of external commands in the config:

sed -i 's/check_external_commands=0/check_external_commands=1/' /etc/nagios3/nagios.cfg

Now correct the permissions:

/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
Personal tools
Namespaces

Variants
Actions
Efforts
Toolbox
Meta