2

I have munin plugins for mysql and nginx working, but, I'm not sure how to get the apache plugin working (it's there, I just haven't setup apache yet).

nginx proxies requests to apache running django and nginx is serving stats on 127.0.0.1/nginx_status so what do I setup apache for?

Micah
  • 135
  • 1
  • 5

1 Answers1

1

Just follow the interactions to setup apache extended status as normal. I'm assuming you have apache running on 127.0.0.1:80 or 8080, so you'd configure the munin plugin for apache to to talk to that specific port /server-status

I'm assuming here that you know how to setup extended status, if you don't let me know and I can go into more detail once you tell us if you're using Ubuntu/Debian/CentOS/etc?

Vid Luther
  • 770
  • 5
  • 10
  • Just ask nginx for /server-status. It will proxy the request back to Apache as it does with every other request. When I'm setting up components that work together like this, I always start at the lowest level first and work up towards the highest level. In this case, Apache first, then nginx, then Munin, then the Munin Apache plugin. – Ladadadada Oct 01 '11 at 15:40
  • the ip address for server-status may not be the one you want to give access to. as long as you have the ip address stuff taken care of, that should work. – Vid Luther Oct 03 '11 at 01:52