Remote access to varnish stats / nagios and varnish

Per Buer perbu at varnish-software.com
Tue Aug 14 07:39:01 CEST 2012


On Mon, Aug 13, 2012 at 11:22 PM, david raistrick <drais at icantclick.org>wrote:

> On Mon, 13 Aug 2012, Per Buer wrote:
>
>  The implementation of "stats" wasn't really up to scratch and was ditched
>> in
>> Varnish 3.0. However, wrapping "varnishstat -1 -x" in a tiny CGI service
>> is
>> probably a 15 minute job.
>>
>
> What? really?  wtf?  stats is gone from the management interface?
>
> Damn good thing we never updated to 3.0...and sounds like we never will. :(
>

There isn't much work going into maintaining the 2.1 branch so I would not
recommend, at least not without paying a bit of attention.

Network services absolutely -must- provide network interfaces for
> statistics polling!  IMPO.
>

I'm not sure I agree. Binding varnishstat to a TCP port through xinetd or
another inetd variant is trivial. Also, if you insist on having the stats
command "in line" you could use the varnish agent (
https://github.com/varnish/varnish-agent) which also ads a couple of other
commands into the protocol.


-- 
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120814/df53e314/attachment-0001.html>


More information about the varnish-misc mailing list