X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdisk.c;h=992c2d2c35ae1d40b26fce7fc109dca1ff2587dc;hb=5ad4d81af38cc11bdaaf87270bce2d8f90494fd5;hp=ea4971757b4d5903e2630c6e287bc4d6c34622fb;hpb=071b6209490e8afa55039ca65f451e8884cb0b2b;p=collectd.git diff --git a/src/disk.c b/src/disk.c index ea497175..992c2d2c 100644 --- a/src/disk.c +++ b/src/disk.c @@ -38,24 +38,24 @@ static char *part_filename_template = "partition-%s.rrd"; /* 104857600 == 100 MB */ static char *disk_ds_def[] = { - "DS:rcount:COUNTER:25:0:U", - "DS:rmerged:COUNTER:25:0:U", - "DS:rbytes:COUNTER:25:0:104857600", - "DS:rtime:COUNTER:25:0:U", - "DS:wcount:COUNTER:25:0:U", - "DS:wmerged:COUNTER:25:0:U", - "DS:wbytes:COUNTER:25:0:104857600", - "DS:wtime:COUNTER:25:0:U", + "DS:rcount:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:rmerged:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:rbytes:COUNTER:"COLLECTD_HEARTBEAT":0:104857600", + "DS:rtime:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:wcount:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:wmerged:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:wbytes:COUNTER:"COLLECTD_HEARTBEAT":0:104857600", + "DS:wtime:COUNTER:"COLLECTD_HEARTBEAT":0:U", NULL }; static int disk_ds_num = 8; static char *part_ds_def[] = { - "DS:rcount:COUNTER:25:0:U", - "DS:rbytes:COUNTER:25:0:104857600", - "DS:wcount:COUNTER:25:0:U", - "DS:wbytes:COUNTER:25:0:104857600", + "DS:rcount:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:rbytes:COUNTER:"COLLECTD_HEARTBEAT":0:104857600", + "DS:wcount:COUNTER:"COLLECTD_HEARTBEAT":0:U", + "DS:wbytes:COUNTER:"COLLECTD_HEARTBEAT":0:104857600", NULL }; static int part_ds_num = 4;