From: octo Date: Tue, 21 Mar 2006 13:30:12 +0000 (+0000) Subject: Implemented the dynamic heartbeat for the apache plugin (it was added after the branc... X-Git-Tag: collectd-3.8.6^2~91 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1cb5dd7a52cbca1028fe9c6ce560a81376ceb8a0;p=collectd.git Implemented the dynamic heartbeat for the apache plugin (it was added after the branch was created..) --- diff --git a/src/apache.c b/src/apache.c index e27350d3..8ceb754e 100644 --- a/src/apache.c +++ b/src/apache.c @@ -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;