Implemented the dynamic heartbeat for the apache plugin (it was added after the branc...
authorocto <octo>
Tue, 21 Mar 2006 13:30:12 +0000 (13:30 +0000)
committerocto <octo>
Tue, 21 Mar 2006 13:30:12 +0000 (13:30 +0000)
src/apache.c

index e27350d..8ceb754 100644 (file)
@@ -49,7 +49,7 @@ static char apache_curl_error[CURL_ERROR_SIZE];
 static char *bytes_file = "apache/apache_bytes.rrd";
 static char *bytes_ds_def[] =
 {
-       "DS:count:COUNTER:25:0:U",
+       "DS:count:COUNTER:"COLLECTD_HEARTBEAT":0:U",
        NULL
 };
 static int bytes_ds_num = 1;
@@ -57,7 +57,7 @@ static int bytes_ds_num = 1;
 static char *requests_file = "apache/apache_requests.rrd";
 static char *requests_ds_def[] =
 {
-       "DS:count:COUNTER:25:0:U",
+       "DS:count:COUNTER:"COLLECTD_HEARTBEAT":0:U",
        NULL
 };
 static int requests_ds_num = 1;
@@ -65,7 +65,7 @@ static int requests_ds_num = 1;
 static char *scoreboard_file = "apache/apache_scoreboard-%s.rrd";
 static char *scoreboard_ds_def[] =
 {
-       "DS:count:GAUGE:25:0:U",
+       "DS:count:GAUGE:"COLLECTD_HEARTBEAT":0:U",
        NULL
 };
 static int scoreboard_ds_num = 1;