Try this to check all health<br>varnish top -i Backend_health<br><br>Or to only get sick<br>varnishtop -i Backend_health -I sick<br><br><br>To check on load balancing use <br>varnishtop -i BackendReuse <br><br>Luis San Martin <luis.sanmartin@unix.cl> wrote:<br><br><div dir="ltr"><div style>Also you may want to check this[0]. It some kind of approach for stats.</div><div><br></div>[0] <a href="http://eot.cl/python/stats.py">http://eot.cl/python/stats.py</a><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Jan 11, 2013 at 6:06 PM, Luis San Martin <span dir="ltr"><<a href="mailto:luis.sanmartin@unix.cl" target="_blank">luis.sanmartin@unix.cl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Well you should also get used to varnishlog[0]. <div><br></div><div>i.e. health checking:</div><div><br></div><div>varnishlog | grep Backend_health<br><div><br></div><div>[0] <a href="https://www.varnish-cache.org/docs/3.0/reference/varnishlog.html" target="_blank">https://www.varnish-cache.org/docs/3.0/reference/varnishlog.html</a><br>
</div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 11, 2013 at 6:04 PM, Zachary Stern <span dir="ltr"><<a href="mailto:zs@enternewmedia.com" target="_blank">zs@enternewmedia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Luis!<div><br></div><div> I see </div><div><br></div><div>2 . . n_backend - N backends<br>
</div><div><br></div><div>But there's no indication of up or down.</div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 11, 2013 at 4:02 PM, Luis San Martin <span dir="ltr"><<a href="mailto:luis.sanmartin@unix.cl" target="_blank">luis.sanmartin@unix.cl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">try varnishtat :)</p>
<div class="gmail_quote"><div><div>On 11 Jan 2013 17:40, "Zachary Stern" <<a href="mailto:zs@enternewmedia.com" target="_blank">zs@enternewmedia.com</a>> wrote:<br type="attribution"></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr">Is there a way to monitor varnish's load balancing functionality and see what it's doing, and which backends are marked as up, down, etc?<div><br></div><div>E.g. with haproxy, you go to <a href="http://haproxyhost/haproxy?stats" target="_blank">http://haproxyhost/haproxy?stats</a> and it gives you detailed info.<br clear="all">
<div><br></div>-- <br><img height="33" width="200"><br>
<p><font><span style="font-family:Arial;color:rgb(117,117,117)">zachary alex stern I systems architect</span></font></p>
<p><font><span style="font-family:Arial;color:rgb(117,117,117)">o: <a href="tel:212.363.1654%20x106" value="+12123631654" target="_blank">212.363.1654 x106</a> | f: <a href="tel:212.202.6488" value="+12122026488" target="_blank">212.202.6488</a> | <a href="mailto:zs@enternewmedia.com" target="_blank"><span style="color:rgb(0,0,233)">zs@enternewmedia.com</span></a></span></font></p>
<p><font><span style="font-family:Arial;color:rgb(117,117,117)">60-62 e. 11th street, 4th floor | new york, ny | 10003</span></font></p>
<p><font><span style="font-family:Arial;color:rgb(117,117,117)"><a href="http://www.enternewmedia.com/" target="_blank"><span style="color:rgb(24,75,160)">www.enternewmedia.com</span></a></span></font></p>
</div></div>
<br></div></div>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><img height="33" width="200"><br>
<p><font><span style="font-family:Arial;color:rgb(117,117,117)">zachary alex stern I systems architect</span></font></p>
<p><font><span style="font-family:Arial;color:rgb(117,117,117)">o: <a href="tel:212.363.1654%20x106" value="+12123631654" target="_blank">212.363.1654 x106</a> | f: <a href="tel:212.202.6488" value="+12122026488" target="_blank">212.202.6488</a> | <a href="mailto:zs@enternewmedia.com" target="_blank"><span style="color:rgb(0,0,233)">zs@enternewmedia.com</span></a></span></font></p>
<p><font><span style="font-family:Arial;color:rgb(117,117,117)">60-62 e. 11th street, 4th floor | new york, ny | 10003</span></font></p>
<p><font><span style="font-family:Arial;color:rgb(117,117,117)"><a href="http://www.enternewmedia.com/" target="_blank"><span style="color:rgb(24,75,160)">www.enternewmedia.com</span></a></span></font></p>
</div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>