I also have had a problem with this. In my case I had changed the user that apache runs as to make it compatible with freePBX which requires apache to run as the asterisk user.
I have created an edited version of the init script which you will find attached. This appears to work with whatever you specify in the nagios config. Best check it over though as this is my first init script. I only changed lines 91,92 and 125. ** Attachment added: "Altered init script" https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/929848/+attachment/2936064/+files/nagios3 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in Ubuntu. https://bugs.launchpad.net/bugs/929848 Title: init script has hard coded chown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/929848/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs