<br>
<br><br><div class="gmail_quote">On Wed, Jul 14, 2010 at 7:01 PM, Srebrenko Šehić <span dir="ltr">&lt;<a href="mailto:ssehic@gmail.com">ssehic@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Wed, Jul 14, 2010 at 4:15 AM, Weibin Yao &lt;<a href="mailto:nbubingo@gmail.com">nbubingo@gmail.com</a>&gt; wrote:<br>
<br>
Hi,<br>
<div class="im"><br>
&gt; See this module as an example:<br>
&gt; <a href="http://github.com/cep21/healthcheck_nginx_upstreams" target="_blank">http://github.com/cep21/healthcheck_nginx_upstreams</a><br>
<br>
</div>Yeah. I had a look at that, but that module does an active health<br>
check. All I want is to query the current status as seen by nginx&#39;<br>
workers themselves. I do NOT want to send any additional requests to<br>
the upstream.<br>
Any pointers?<br>
<div><div class="h5"><br></div></div></blockquote><div>I don&#39;t think it&#39;s possible under current nginx architecture.  Worker processes are quite independent, and nginx don&#39;t have mechanism like Apache&#39;s scoreborad, where every worker writes its status on. At least, you can&#39;t get the global information about what every process are doing. <br>
But, you may get upstream status about the worker_process who is handling your &quot;/monitor&quot; request by checking every requests the worker_process is handling? Just a thought.<br></div></div><br>