Apache

Apache

This section describes the alerts for the Apache service.


ApacheServiceDown

Severity Minor
Summary The Apache service on the {{ $labels.host }} node is down.
Raise condition apache_up != 1
Description Raises when the Apache service on a particular host does not respond to the Telegraf service, typically meaning that the Apache service is down or misconfigured on that host. The host label in the raised alert contains the host name of the affected node.
Troubleshooting
  • Verify the Apache service status by running systemctl status apache2 on the affected node.
  • Inspect the Telegraf logs by running journalctl -u telegraf on the affected node.
Tuning Not required

ApacheServiceOutage

Severity Critical
Summary All Apache services within the {{ $labels.cluster }} cluster are down.
Raise condition count(label_replace(apache_up, "cluster", "$1", "host", "([^0-9]+).+")) by (cluster) == count(label_replace(apache_up == 0, "cluster", "$1", "host", "([^0-9]+).+")) by (cluster)
Description Raises when all Apache services across the cluster do not respond to the Telegraf plugin, typically indicating some global deployment or configuration issues. The cluster label in the raised alert is a set of nodes with the same host name prefix, for example, mon, cid.
Troubleshooting
  • Verify the Apache service status by running systemctl status apache2 on the affected node.
  • Inspect the Telegraf logs by running journalctl -u telegraf on the affected node.
Tuning Not required

ApacheWorkersAbsent

Severity Minor
Summary The Apache service on the {{ $labels.host }} node has no available workers for 2 minutes.
Raise condition apache_IdleWorkers == 0
Description Raises when the Apache service on a particular host has no free idle workers.
Troubleshooting Increase the MaxClients Apache parameter value using the apache.server.mpm.servers.max_requests pillar.
Tuning Not required