Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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?

share|improve this answer
    
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 1 '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 3 '11 at 1:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.