From: Marc Fournier Date: Tue, 28 Oct 2014 18:24:45 +0000 (+0100) Subject: varnish: correct an erroneous type X-Git-Tag: collectd-5.5.0~138^2~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8dcb711f702913162afdd653591816886fe30d72;p=collectd.git varnish: correct an erroneous type Affects Varnish 3 only. --- diff --git a/src/varnish.c b/src/varnish.c index 38efcdc8..8e6d95ee 100644 --- a/src/varnish.c +++ b/src/varnish.c @@ -550,7 +550,7 @@ static void varnish_monitor (const user_config_t *conf, /* {{{ */ /* worker threads limited */ varnish_submit_derive (conf->instance, "workers", "total_threads", "limited", stats->n_wrk_max); /* dropped work requests */ - varnish_submit_derive (conf->instance, "workers", "total_requests", "dropped", stats->n_wrk_drop); + varnish_submit_derive (conf->instance, "workers", "total_threads", "dropped", stats->n_wrk_drop); #ifdef HAVE_VARNISH_V2 /* queued work requests */ varnish_submit_derive (conf->instance, "workers", "total_requests", "queued", stats->n_wrk_queue);