author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 25 Feb 2010 23:17:18 +0000 (00:17 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 25 Feb 2010 23:17:18 +0000 (00:17 +0100) |
1 | 2 | |||
---|---|---|---|---|
configure.in | patch | | diff1 | | diff2 | | blob | history |
contrib/collection.cgi | patch | | diff1 | | diff2 | | blob | history |
src/apache.c | patch | | diff1 | | diff2 | | blob | history |
src/collectd-python.pod | patch | | diff1 | | diff2 | | blob | history |
src/collectd.conf.in | patch | | diff1 | | diff2 | | blob | history |
src/collectd.conf.pod | patch | | diff1 | | diff2 | | blob | history |
diff --cc configure.in
Simple merge
diff --cc contrib/collection.cgi
Simple merge
diff --cc src/apache.c
index 1028f046b54f552656f3b551c4c918ec4b2a957a,ad877b5ff67d10b999c67192730ca14c74b9f20f..39849e6e05d6ebdc7699103957ecbaf2c351211b
--- 1/src/apache.c
--- 2/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);
+ else if ((strcmp (fields[0], "IdleServers:") == 0) /* Apache 1.x */
+ || (strcmp (fields[0], "IdleWorkers:") == 0) /* Apache 2.x */)
+ submit_gauge ("apache_idle_workers", NULL, atol (fields[1]), st);
}
}
diff --cc src/collectd-python.pod
Simple merge
diff --cc src/collectd.conf.in
Simple merge
diff --cc src/collectd.conf.pod
Simple merge