Code

apcups branch: Renamed the temperature-DS to `value' to work with existing plugins.
authorocto <octo>
Fri, 9 Jun 2006 09:35:57 +0000 (09:35 +0000)
committerocto <octo>
Fri, 9 Jun 2006 09:35:57 +0000 (09:35 +0000)
src/apcups.c

index 566c642119b4212db49c44c70158d56c9728a987..3e78bd7eab82d3f9639cc667ca222c177a85cbc5 100644 (file)
@@ -99,7 +99,7 @@ static char *temp_file_template = "apcups/temperature.rrd";
 static char *temp_ds_def[] = 
 {
        /* -273.15 is absolute zero */
-       "DS:temperature:GAUGE:"COLLECTD_HEARTBEAT":-274:U",
+       "DS:value:GAUGE:"COLLECTD_HEARTBEAT":-274:U",
 };
 static int temp_ds_num = 1;