Random Project

Works, but needs modification

This plugin was exactly what I was looking for, because we sometimes have Apache machines that reached their MaxClients settings.

However, out of the box this plugin does not work as expected. The script counts the number of ‘dots’ on the /server-status/ page. The number of dots is the number of ServerLimit minus in use slots.

However, ServerLimit is 256 by default and MaxClients is 150 by default. So if your server is full (MaxClients reached) this module believes there are still 256-150 = 106 open slots available, but that is not true.

To resolve this you have to set your CRITICAL level to atleast 106 or adjust Apache.

Also, this module returns ‘WARNING’ when Apache is down. I believe this should be ‘CRITICAL’. If your Apache is unresponsive due to MaxClients reached, the module will return WARNING instead of CRITICAL while your service is nonresponsive.