From: Johan Wirén Date: Mon, 18 Mar 2013 22:55:39 +0000 (+0100) Subject: Added instance type "total" X-Git-Tag: collectd-5.3.0~28^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b58ab618148b3bad82eead8e69e5fad2f40e1ab0;p=collectd.git Added instance type "total" --- diff --git a/src/libvirt.c b/src/libvirt.c index f8be994e..cfabaaa2 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -191,6 +191,7 @@ memory_submit (gauge_t memory, virDomainPtr dom) vl.values_len = 1; sstrncpy (vl.type, "memory", sizeof (vl.type)); + sstrncpy (vl.type_instance, "total", sizeof (vl.type_instance)); plugin_dispatch_values (&vl); }