projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bf99b3
)
Added instance type "total"
author
Johan Wirén
<johan.wiren.se@gmail.com>
Mon, 18 Mar 2013 22:55:39 +0000
(23:55 +0100)
committer
Johan Wirén
<johan.wiren.se@gmail.com>
Mon, 18 Mar 2013 22:55:39 +0000
(23:55 +0100)
src/libvirt.c
patch
|
blob
|
history
diff --git
a/src/libvirt.c
b/src/libvirt.c
index
f8be994
..
cfabaaa
100644
(file)
--- 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);
}