Hi Gents,
I have a small issue with a fresh Icinga2 installation on Ubuntu 14.04
It seems that I am unable to use the web interface to send commands.
I have run :
*icinga2 feature enable command*
*
tail -n 50 /var/log/icinga-web/debug-2014-12-01.log*
[Mon Dec 1 17:12:30 2014] [info] Sending command failed Could not send
command. Check if your webserver's user has correct permissions for
writing to the command pipe.
*
**ls -al /var/run/icinga2/cmd/icinga2.cmd*
prw-rw---- 1 nagios www-data 0 Dec 1 17:13 /var/run/icinga2/cmd/icinga2.cmd
*
**vim /etc/icinga-web/conf.d/access.xml* :
I have replaced the <resource
name="icinga_pipe">/var/lib/icinga/rw/icinga.cmd</resource> to <resource
name="icinga_pipe">/var/run/icinga2/cmd/icinga2.cmd</resource>
<write>
<files>
<resource
name="icinga_pipe">/var/run/icinga2/cmd/icinga2.cmd</resource>
</files>
</write>
*id www-data*
uid=33(www-data) gid=33(www-data) groups=33(www-data),112(nagios)
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users