X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcpu.c;h=639f4ce25be79570d65248833dd4ce61255f6333;hb=ed3b4a8fe6377817e1dadfbc713c4cc5c0bc4444;hp=28e6233808fa0d60e6c3954926cc38fb5a0a2800;hpb=0cca7022376b411fa5a30628fda4957300018b7f;p=collectd.git diff --git a/src/cpu.c b/src/cpu.c index 28e62338..639f4ce2 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -71,11 +71,11 @@ static char *cpu_filename = "cpu-%s.rrd"; static char *ds_def[] = { - "DS:user:COUNTER:25:0:U", - "DS:nice:COUNTER:25:0:U", - "DS:syst:COUNTER:25:0:U", - "DS:idle:COUNTER:25:0:U", - "DS:wait:COUNTER:25:0:U", + "DS:user:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:nice:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:syst:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:idle:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:wait:COUNTER:"COLLECTD_HEARTBEAT":0:U", NULL }; static int ds_num = 5;