Thanks Angelo On 10/1/10, Angelo Höngens <[email protected]> wrote: > I extended net-snmp with two scripts, to return some counters: > > $ cat /usr/local/share/snmp/scripts/NM_VARNISH_TOTALHITS.sh > #!/bin/sh > /usr/local/bin/varnishstat -1 -f cache_hit | awk '{ print $2 }' > > $ cat /usr/local/share/snmp/scripts/NM_VARNISH_TOTALREQS.sh > #!/bin/sh > /usr/local/bin/varnishstat -1 -f client_req | awk '{ print $2 }' > > These are then imported into cacti, and I can calculate the hit ratio and > requests/sec. I'm interested to hear from the Varnish guru's if they suggest > any more counter worth graphing: > > [Description: Description: NMT-NLB-04 - Varnish - Cache hit > ratio]<http://wol-cac-01/graph.php?action=view&local_graph_id=1778&rra_id=all> > > [Description: Description: NMT-NLB-04 - Varnish client HTTP > requests]<http://wol-cac-01/graph.php?action=view&local_graph_id=1774&rra_id=all> > > > -- > > > With kind regards, > > Angelo Höngens > > Systems Administrator > > ------------------------------------------ > NetMatch > tourism internet software solutions > > Ringbaan Oost 2b > 5013 CA Tilburg > T: +31 (0)13 5811088 > F: +31 (0)13 5821239 > > mailto:[email protected] > http://www.netmatch.nl > ------------------------------------------ > > From: [email protected] > [mailto:[email protected]] On Behalf Of Angie T. > Muhammad > Sent: vrijdag 1 oktober 2010 18:53 > To: [email protected] > Cc: [email protected] > Subject: Re: How to monitor varnish with snmp > > I am so much interested in the same topic. I tried creating my own OIDs and > getting the output of a shell script into them, but failed, the OID never > resturned any value. May any body give us a simple guidance ? > On Tue, Sep 14, 2010 at 6:55 PM, > <[email protected]<mailto:[email protected]>> > wrote: > Hi everyone: > How can I monitor data with snmp from varnish process. > Since now thanks a lots. > > > Saludos/Regards > > Marcos Corvalan > Infraestructura IT > Mercadolibre.com > Tronador 4890 - 8 piso Capital Federal | Buenos Aires > Argentina | CP 1430 | Tel +54 11 5352-8000 Ext 8426 > email marcos.corvalan| msn > [email protected]<mailto:[email protected]> > Mobile : +54 11 37701933 > > > _______________________________________________ > varnish-misc mailing list > [email protected]<mailto:[email protected]> > http://lists.varnish-cache.org/mailman/listinfo/varnish-misc > > > > -- > All the best, > Angie T. Muhammad > Linux Systems Engineer > Al Masry Al Youm > http://www.almasryalyoum.com/en >
-- All the best, Angie T. Muhammad Linux Systems Engineer Al Masry Al Youm http://www.almasryalyoum.com/en _______________________________________________ varnish-misc mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
