This happened to me just now in Ubuntu 16.04 after the upgrade from
14.04. The whole day is already gone fixing/working around bugs/issues
in icinga. Indeed this is a bug, at least an usability bug.

When check_external_commands is set to 1 in config file, one expects
that external commands are then read correctly from the pipe. If, for
further security measures, the user is required to perform additional
actions on file permissions, then this information should not be hidden
in the documentation, but should be readily available in the web
interface as soon as the typical condition
(check_external_commands_enabled == true &&
!correct_permissions_on_named_pipe) is verified.

So, it would be nice to have this four lines

> 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

popping up in the web interface just after the generic message "The
external command file may be missing, Icinga may not be running, and/or
Icinga may not be checking external commands."

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053322

Title:
  Icinga: Could not stat() command file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icinga/+bug/1053322/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to