summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 005af44)
raw | patch | inline | side by side (parent: 005af44)
author | Dagobert Michelsen <dam@opencsw.org> | |
Thu, 28 May 2015 10:47:27 +0000 (12:47 +0200) | ||
committer | Dagobert Michelsen <dam@opencsw.org> | |
Thu, 28 May 2015 10:47:27 +0000 (12:47 +0200) |
src/types.db | patch | blob | history | |
src/zone.c | patch | blob | history |
diff --git a/src/types.db b/src/types.db
index 9e64438503f2aa4d3d101c63e579e0847999cde4..5474659b48614a58962fbbaea52a63d02dce8047 100644 (file)
--- a/src/types.db
+++ b/src/types.db
vs_memory value:GAUGE:0:9223372036854775807
vs_processes value:GAUGE:0:65535
vs_threads value:GAUGE:0:65535
-zone_cpu value:GAUGE:0:100.1
#
# Legacy types
diff --git a/src/zone.c b/src/zone.c
index 21a9497e4b7186e42f0748125641b0df73964fa0..e550303dd6f890819032ed9a61e18996a7bbc81d 100644 (file)
--- a/src/zone.c
+++ b/src/zone.c
vl.values_len = 1; /*STATIC_ARRAY_SIZE (values);*/
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "zone", sizeof (vl.plugin));
- sstrncpy (vl.type, "zone_cpu", sizeof (vl.type));
+ sstrncpy (vl.type, "percent", sizeof (vl.type));
sstrncpy (vl.type_instance, zone, sizeof (vl.type_instance));
return(plugin_dispatch_values (&vl));