Hi, I can confirm that the external commands are not working out of the box. But that is not a bug. See /usr/share/doc/nagios2/README.Debian there it says: External Commands ^^^^^^^^^^^^^^^^^ Nagios 2 is not configured to look for external commands in the default configuration as a security feature. To enable external commands, you need to allow the web server write access to the nagios command pipe. the simplest way of doing this is to set check_external_commands=1 in your nagios configuration, and then change the permissions in a way which will be maintained across package upgrades (otherwise dpkg will overwrite your permission changes). The following is the recommended approach:
- activate external command checks in the nagios configuration. this can be done by setting check_external_commands=1 in the file /etc/nagios2/conf.d/extcommands_nagios2.cfg. - perform the following commands to change directory permissions and to make the changes permanent: /etc/init.d/nagios2 stop dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios2/rw dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios2 /etc/init.d/nagios2 start So for me there is no bug. -- /var/lib/nagios2 wrong acces policy for nagios CGIs https://bugs.launchpad.net/bugs/184374 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs