pcp
[Top] [All Lists]

Re: [pcp] nginx PMDA error

To: Tadej JaneÅ <tadej.j@xxxxxx>
Subject: Re: [pcp] nginx PMDA error
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 14 Sep 2015 23:49:11 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1442243325.10675.36.camel@tlinux64>
References: <1441613884.8358.33.camel@tlinux64> <1441790097.27574.20.camel@tlinux64> <20150909125102.GD16438@xxxxxxxxxx> <1441811714.27574.80.camel@tlinux64> <56429816.29582957.1441838180419.JavaMail.zimbra@xxxxxxxxxx> <1441880005.1141.21.camel@tlinux64> <547701801.30380792.1441927405099.JavaMail.zimbra@xxxxxxxxxx> <1442243325.10675.36.camel@tlinux64>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: /SFSHkASj199Tqss5nrkFqkHddKgXA==
Thread-topic: nginx PMDA error

----- Original Message -----
> Hi Nathan,
> 
> On Thu, 2015-09-10 at 19:23 -0400, Nathan Scott wrote:
> > > 
> > > So the relevant part of /etc/nginx/nginx.conf should look like:
> > > 
> > >         location /nginx_status {
> > >             stub_status on;
> > >             access_log off;
> > >             allow 127.0.0.1;
> > >             allow ::1;
> > >             deny all;
> > >         }
> > 
> > Ah yes, good catch - I'll update the man page with that information.
> 
> Perfect, thanks!
> 
> > > 
> > > For 2), I don't know whether I should file this as a bug report with PCP
> > > or distribution's (i.e. Fedora's) SELinux policy?
> > 
> > Yep, selinux-policy - and please CC me.  Other PMDAs (pmdaapache) have a
> > similar need to access port 80... so I think the right thing will be for
> > pcp_pmcd_t to be allowed access, but lets see what the SELinux folk say.
> 
> Done: https://bugzilla.redhat.com/show_bug.cgi?id=1262902
> 

Great - thanks so much Tadej!

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>