summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c9cdeb8)
raw | patch | inline | side by side (parent: c9cdeb8)
author | Florian Forster <octo@huhu.verplant.org> | |
Sat, 23 Jan 2010 12:19:49 +0000 (13:19 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sat, 23 Jan 2010 12:19:49 +0000 (13:19 +0100) |
Thanks to Gary (bug tracker) for pointing this out :)
src/apache.c | patch | blob | history |
diff --git a/src/apache.c b/src/apache.c
index a333bf2b50a7db6a6ab39d1e2eaa962ca1902f17..ebf245c48a29ee4d51751a33f64cfeb531c2e99a 100644 (file)
--- a/src/apache.c
+++ b/src/apache.c
{
if (strcmp (fields[0], "Scoreboard:") == 0)
submit_scoreboard (fields[1], st);
- else if (strcmp (fields[0], "BusyServers:") == 0)
+ else if ((strcmp (fields[0], "BusyServers:") == 0) /* Apache 1.* */
+ || (strcmp (fields[0], "BusyWorkers:") == 0) /* Apache 2.* */)
submit_gauge ("apache_connections", NULL, atol (fields[1]), st);
}
}