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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F249%2Fhead;p=thirdparty%2Fcollectd.git Added instance type "total" --- diff --git a/src/libvirt.c b/src/libvirt.c index f8be994ee..cfabaaa23 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); }