From 1cb5dd7a52cbca1028fe9c6ce560a81376ceb8a0 Mon Sep 17 00:00:00 2001 From: octo Date: Tue, 21 Mar 2006 13:30:12 +0000 Subject: [PATCH] Implemented the dynamic heartbeat for the apache plugin (it was added after the branch was created..) --- src/apache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.30.2