Re: Varnish munin plugin trouble
On Fri, Jul 17, 2009 at 11:04:20AM +0200, Norman Leutner wrote: Thanks for the hint, it's been the PATH... [varnish_*] env.varnishstat /usr/local/bin/varnishstat works fine now. Glad to hear it :) I found a small mistake in your plugin, when using multiple varnish installations on a server: 645 $arg .= -l $varnishname; should be 645 $arg .= -n $varnishname; -l # Lists the available fields to use Fixed, nice catch. Have you ever thought of writing a plugin which catches the most frequent requests passed to the apache server? You can achieve this with varnishtop: varnishtop -i TxURL It'll list all backend requests and sort by which is most frequently requested. Fairly useful. This is realtime, though, so it'll have to keep running. If we want a script to gather this data over time, it'll essentially be the same as varnishtop but a daemon of sorts. So far, I've settled with varnishtop. -- Kristian Lyngstøl Redpill Linpro AS Tlf: +47 21544179 Mob: +47 99014497 pgpEbdTU3FXm8.pgp Description: PGP signature ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: AW: Varnish munin plugin trouble
Norman Leutner n.leut...@all2e.com writes: [to Kristian Lyngstol] Your're the one who wrote that plugin... I was about to say no, that was me - then I found out that my code had been replaced. Kristian, what was wrong with the existing plugin? More to the point, what was so wrong about it that you didn't even bother to discuss the matter with me before you blew it away? DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: AW: AW: Varnish munin plugin trouble
Norman Leutner n.leut...@all2e.com writes: Kristian has created a more abstract plugin which includes all needed functions in one plugin. And how is that different from the one I wrote? DES -- Dag-Erling Smørgrav - d...@des.no ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
New munin plugin (Was: Varnish munin plugin trouble)
On Fri, Jul 17, 2009 at 01:03:07PM +0200, Dag-Erling Smørgrav wrote: Norman Leutner n.leut...@all2e.com writes: [to Kristian Lyngstol] Your're the one who wrote that plugin... I was about to say no, that was me - then I found out that my code had been replaced. Kristian, what was wrong with the existing plugin? More to the point, what was so wrong about it that you didn't even bother to discuss the matter with me before you blew it away? The problem with the old plugin was that it didn't let the user see the relationship between relevant statistics. With the growing number of statistics available, it simply generated too many graphs which made it difficult to see the bigger picture. The current implementation combines related graphs and still includes all information if the user wants it (ie: 9 or so aspects aren't linked by default). The previous plugin wasn't horribly big and it would've been more work to re-factor it the way we wanted it. It simply didn't strike me that it would be an issue replacing it. Or that I had to discuss it with you. -- Kristian Lyngstøl Redpill Linpro AS Tlf: +47 21544179 Mob: +47 99014497 pgptiiJzq0VEk.pgp Description: PGP signature ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Varnish munin plugin trouble
Hi, I'm new to this mailing list. As a German partner of eZ Systems AS we're using varnish in combination with eZ Publish with great success. Currently I'm trying to get munin running with the plugin from the trunk http://varnish.projects.linpro.no/browser/trunk/varnish-tools/munin Now I stuck cause the munin-node doesn't deliver data... Trying manually using munin-run I'm getting the expected results. # munin-run varnish_hit_rate client_req.value 30714 cache_miss.value 9349 cache_hitpass.value 97 cache_hit.value 20207 Using the munin telnet interface I get no data... # telnet localhost 4949 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. # munin node at .com fetch varnish_hit_rate . Any hints ? Thanks in advance Norman Leutner all2e GmbH Enterprise Content Management http://www.all2e.comhttp://www.all2e.com/ ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: Varnish munin plugin trouble
On Thu, Jul 16, 2009 at 03:31:01PM -0400, Norman Leutner wrote: Trying manually using munin-run I'm getting the expected results. # munin-run varnish_hit_rate client_req.value 30714 (...) Using the munin telnet interface I get no data... # telnet localhost 4949 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. # munin node at .com fetch varnish_hit_rate . Any hints ? This is most commonly caused by differences in run-time parameters, typically PATH or similar. Where is the varnishstat binary located on your system (this can be defined by setting the 'varnishstat' variable) ? -- Kristian Lyngstøl Redpill Linpro AS Tlf: +47 21544179 Mob: +47 99014497 pgpqdUi9kONKz.pgp Description: PGP signature ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc