summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 21be3c2)
raw | patch | inline | side by side (parent: 21be3c2)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 20 Apr 2009 18:39:27 +0000 (20:39 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 20 Apr 2009 18:39:27 +0000 (20:39 +0200) |
src/apache.c | patch | blob | history |
diff --git a/src/apache.c b/src/apache.c
index c93a5d35ed2de9c4638f2c198d9371386c9ec50a..090ece7e8108ba07331453c7f50ca92e9b52f70d 100644 (file)
--- a/src/apache.c
+++ b/src/apache.c
long long idle_cleanup = 0LL;
/* lighttpd specific */
- long long connect = 0LL;
long long hard_error = 0LL;
long long lighttpd_read = 0LL;
long long handle_request = 0LL;
else if (buf[i] == 'L') logging++;
else if (buf[i] == 'G') finishing++;
else if (buf[i] == 'I') idle_cleanup++;
- else if (buf[i] == '.') connect++;
else if (buf[i] == 'r') lighttpd_read++;
else if (buf[i] == 'h') handle_request++;
else if (buf[i] == 'E') hard_error++;
submit_gauge ("apache_scoreboard", "idle_cleanup", idle_cleanup, st);
} else
{
- submit_gauge ("apache_scoreboard", "connect" , connect, st);
+ submit_gauge ("apache_scoreboard", "connect" , open, st);
submit_gauge ("apache_scoreboard", "close" , closing, st);
submit_gauge ("apache_scoreboard", "hard_error" , hard_error, st);
submit_gauge ("apache_scoreboard", "read" , lighttpd_read, st);