Merge branch 'collectd-4.9'
authorFlorian Forster <octo@huhu.verplant.org>
Thu, 25 Feb 2010 23:17:18 +0000 (00:17 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Thu, 25 Feb 2010 23:17:18 +0000 (00:17 +0100)
1  2 
configure.in
contrib/collection.cgi
src/apache.c
src/collectd-python.pod
src/collectd.conf.in
src/collectd.conf.pod

diff --cc configure.in
Simple merge
Simple merge
diff --cc src/apache.c
@@@ -685,11 -685,9 +685,12 @@@ static int apache_read_host (user_data_
                {
                        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);
                }
        }
  
Simple merge
Simple merge
Simple merge