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.

HAProxy has a very nice status page showing me which webservers are up and which ones are down on the backend. I am trying to debug some issues and need to know which servers nginx thinks are up and which ones it thinks are down. Is there a web page or something that you can configure for nginx so I can just hit a url when I need this type of information?

thanks, Dean

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

There are a couple of modules you may want to check out:

share|improve this answer
add comment

Unfortunately this is almost impossible out of the box. vanila nginx has not global state for upstream by design so this information is local for every worker process.

Take a look at this module seems may be useful for you http://wiki.nginx.org/NginxHttpHealthcheckModule

share|improve this answer
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.