Tag Archives: icinga

Nagios/Icinga: could not stat() command file


Trying to add a comment to a service results in an error message shown in the web interface:

Could not stat() command file


Enable External Commands in nagios.cfg / icinga.cfg:



Update permissions in a way that survive package upgrades:

service icinga stop
dpkg-statoverride --update --add nagios www-data 2710 /var/lib/icinga/rw
dpkg-statoverride --update --add nagios nagios 751 /var/lib/icinga
service icinga start
Posted in Linux | Tagged , , , , | Leave a comment