diff --git a/src/apache.c b/src/apache.c
index ad877b5ff67d10b999c67192730ca14c74b9f20f..39849e6e05d6ebdc7699103957ecbaf2c351211b 100644 (file)
--- a/src/apache.c
+++ b/src/apache.c
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);
}
}