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 566c642..3e78bd7 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;