From: Marc Fournier Date: Wed, 16 Jun 2010 16:15:51 +0000 (+0200) Subject: Varnish plugin: fixed missing dataset error. X-Git-Tag: collectd-5.0.0-beta0~101 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=eda2991a5f4f9491c29a881b03de4340d9832c99;p=collectd.git Varnish plugin: fixed missing dataset error. --- diff --git a/src/types.db b/src/types.db index 143e72fa..7a962f0b 100644 --- a/src/types.db +++ b/src/types.db @@ -159,6 +159,7 @@ time_offset seconds:GAUGE:-1000000:1000000 total_bytes value:DERIVE:0:U total_operations value:DERIVE:0:U total_requests value:DERIVE:0:U +total_sessions value:DERIVE:0:U total_threads value:DERIVE:0:U total_time_in_ms value:DERIVE:0:U total_values value:DERIVE:0:U diff --git a/src/varnish.c b/src/varnish.c index 724b4faa..956d3e73 100644 --- a/src/varnish.c +++ b/src/varnish.c @@ -336,7 +336,7 @@ static void varnish_monitor(const user_config_t *conf, struct varnish_stats *VSL if(conf->collect_totals) { /* Total Sessions */ - varnish_submit_derive (conf->instance, "total_counters", "sessions", VSL_stats->s_sess); + varnish_submit_derive (conf->instance, "total_sessions", "sessions", VSL_stats->s_sess); /* Total Requests */ varnish_submit_derive (conf->instance, "total_requests", "requests", VSL_stats->s_req); /* Total pipe */