r4143 - trunk/varnish-tools/munin
kristian at projects.linpro.no
kristian at projects.linpro.no
Fri Jul 17 11:40:11 CEST 2009
Author: kristian
Date: 2009-07-17 11:40:11 +0200 (Fri, 17 Jul 2009)
New Revision: 4143
Modified:
trunk/varnish-tools/munin/varnish_
Log:
Use correct parameter to varnishstat when $varnishname is defined.
(Thanks to Norman Leutner for pointing this out)
Modified: trunk/varnish-tools/munin/varnish_
===================================================================
--- trunk/varnish-tools/munin/varnish_ 2009-07-14 23:38:28 UTC (rev 4142)
+++ trunk/varnish-tools/munin/varnish_ 2009-07-17 09:40:11 UTC (rev 4143)
@@ -642,7 +642,7 @@
{
my $arg = "-1";
if ($varnishname) {
- $arg .= " -l $varnishname";
+ $arg .= " -n $varnishname";
}
foreach my $line (`$varnishstatexec $arg`) {
chomp($line);
More information about the varnish-commit
mailing list