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
This entry was posted in Linux and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *