From 938f678eaaa16a7e087d7140ba6e2553583d36de Mon Sep 17 00:00:00 2001 From: octo Date: Fri, 9 Jun 2006 11:39:52 +0000 Subject: [PATCH] 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. --- src/apcups.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.30.2