Welcome! Log In Create A New Profile

Advanced

Re: Sort of nginx specific...

October 04, 2010 08:16AM
That's a valid point and I'm pretty sure that's exactly what it was as once
I fixed that issue, it worked.

Thanks!

On Mon, Oct 4, 2010 at 7:20 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Sun, Oct 03, 2010 at 01:39:59PM -0400, Ilan Berkner wrote:
>
> > Hi All,
> >
> > I'm setting up Nagios to run thorugh Nginx. I have the CGI wrapper
> working
> > (yey). However, some nagios web based functions require access to a
> nagios
> > command file (a pipe) in the nagios /var/rw directory.
> >
> > When the nagios service starts, it creates a "nagios.cmd" pipe file in
> the
> > rw directory.
> >
> > When trying to access that web file through the web interface, there's a
> > permission issue. However, if I set the nagios.cmd file to have 777
> > permissions, it works fine.
> >
> > The problem is that when the nagios service is restarted, the nagios.cmd
> > file is recreated and no longer has the 777 permissions.
> >
> > I am running the nagios service and the Nginx web server under the same
> user
> > and group.
>
> nginx user doesn't matter as nginx only talks to backend (i.e.
> your CGI wrapper). It's your CGI wrapper user/group which
> matters.
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Sort of nginx specific...

iberkner October 03, 2010 01:44PM

Re: Sort of nginx specific...

Maxim Dounin October 04, 2010 07:24AM

Re: Sort of nginx specific...

iberkner October 04, 2010 08:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 203
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready