Hello, If you combine nagios with apache, the right on /var/nagios/rw/nagios.cmd are false, cause apache can't interact with nagios.cmd actually right are : monitoring root # ls -la /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios nagios 0 Apr 15 10:14 /var/nagios/rw/nagios.cmd Should be : monitoring root # ls -la /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios apache 0 Apr 15 10:14 /var/nagios/rw/nagios.cmd The init script could do this : start() { ... start-stop-daemon --quiet --start --startas /usr/nagios/bin/nagios \ --pidfile /var/nagios/nagios.lock -- -d /etc/nagios/nagios.cfg chgrp apache /var/nagios/rw/nagios.cmd eend $? ... } reload() { checkconfig || return 1 ebegin "Reloading configuration" killall -HUP nagios &>/dev/null chgrp apache /var/nagios/rw/nagios.cmd eend $? } Regards. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: apache web interface could not interact with nagios Expected Results: apache web interface should interact with nagios
Created attachment 56770 [details] nagios-core-2.0b_p2.ebuild.diff this change could be done in previous versions too...
Romang still there? do you have the same problem with other file/dir? i would appreciate your feedback :) thnx
In cvs. Thanks Romang.