From: octo Date: Fri, 9 Jun 2006 11:39:52 +0000 (+0000) Subject: apcups branch: Renames some RRD files and DSes. X-Git-Tag: svn-trunk~13^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=938f678eaaa16a7e087d7140ba6e2553583d36de;p=collectd.git apcups branch: Renames some RRD files and DSes. The `charge_percent' has been renamed to `load_percent' because it's actually the load on the UPS, not the charge. The `charge' file has been renamed to `charge_percent', because the values are in percent, not Ah. --- diff --git a/src/apcups.c b/src/apcups.c index 3e78bd7e..977b7939 100644 --- a/src/apcups.c +++ b/src/apcups.c @@ -74,17 +74,17 @@ static char *bvolt_ds_def[] = }; static int bvolt_ds_num = 1; -static char *load_file_template = "apcups/charge_percent.rrd"; +static char *load_file_template = "apcups/load_percent.rrd"; static char *load_ds_def[] = { "DS:percent:GAUGE:"COLLECTD_HEARTBEAT":0:110", }; static int load_ds_num = 1; -static char *charge_file_template = "apcups/charge.rrd"; +static char *charge_file_template = "apcups/charge_percent.rrd"; static char *charge_ds_def[] = { - "DS:charge:GAUGE:"COLLECTD_HEARTBEAT":0:U", + "DS:percent:GAUGE:"COLLECTD_HEARTBEAT":0:110", }; static int charge_ds_num = 1;