Re: munin plugin for nginx

2013-06-18 Thread Grant
> Replace > > [nginx*] > env.url http://localhost/nginx_status > > with > [nginx_*] > user root Thanks! - Grant > my nginx default file > > egrep -v "(^$|^#)" /etc/nginx/sites-enabled/default > server { > listen 80; ## listen for ipv4 > listen [::]:80 default ipv6only=on; ##

Re: munin plugin for nginx

2013-06-18 Thread basti
Replace [nginx*] env.url http://localhost/nginx_status with [nginx_*] user root my nginx default file egrep -v "(^$|^#)" /etc/nginx/sites-enabled/default server { listen 80; ## listen for ipv4 listen [::]:80 default ipv6only=on; ## listen for ipv6 server_name local

Re: munin plugin for nginx

2013-06-18 Thread Grant
> My config looks like: > > /etc/munin/plugin-conf.d/munin-node > > ... > [nginx_*] > user root > > /etc/nginx/sites-enabled/default I don't have /etc/nginx/sites-enabled/ at all. What kind of stuff is in the default file? I'm on Gentoo. - Grant > ... > ## munin nginx status (request/ connect

Re: munin plugin for nginx

2013-06-18 Thread basti
My config looks like: /etc/munin/plugin-conf.d/munin-node ... [nginx_*] user root /etc/nginx/sites-enabled/default ... ## munin nginx status (request/ connections handeled) location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; deny all; } ... This runs for me v

Re: munin plugin for nginx

2013-06-18 Thread Grant
>> > I'm having some trouble getting the nginx plugin working for munin. >> > I've added the following to nginx config and restarted: >> > >> > location /nginx_status { >> > stub_status on; >> > access_log off; >> > allow 127.0.0.1; >> > deny all; >> > } >> > >> > I've added the following munin con

Re: munin plugin for nginx

2013-06-16 Thread Steve Holdoway
On Mon, 2013-06-17 at 16:34 +1000, Daniel Black wrote: > > - Original Message - > > I'm having some trouble getting the nginx plugin working for munin. > > I've added the following to nginx config and restarted: > > > > location /nginx_status { > > stub_status on; > > access_log off; > >

RE: munin plugin for nginx

2013-06-16 Thread Lukas Tribus
Perhaps munin connects over ipv6? Can you allow ::1? ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: munin plugin for nginx

2013-06-16 Thread Daniel Black
- Original Message - > I'm having some trouble getting the nginx plugin working for munin. > I've added the following to nginx config and restarted: > > location /nginx_status { > stub_status on; > access_log off; > allow 127.0.0.1; > deny all; > } > > I've added the following munin con

munin plugin for nginx

2013-06-16 Thread Grant
I'm having some trouble getting the nginx plugin working for munin. I've added the following to nginx config and restarted: location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; deny all; } I've added the following munin config: [nginx*] env.