<-
Apache > HTTP Server > Documentation > Modules

Apache Module mod_heartbeat 384r4p

Available Languages:  fr 

Description: Sends messages with server status to frontend proxy
Status: Experimental
Module Identifier: heartbeat_module
Source File: mod_heartbeat
Compatibility: Available in Apache 2.3 and later

Summary 6m2os

Proxy.

mod_heartbeat itself is loaded on the origin server(s) that serve requests through the proxy server(s).

To use mod_heartbeat.
 Apache!

Topics 2c136y

Directives 1a4l6m

Bugfix checklist 4i2533

See also 27136x

top

Consuming mod_heartbeat Output 355z3x

Every 1 second, this module generates a single multicast UDP packet, containing the number of busy and idle workers. The packet is a simple ASCII format, similar to GET query parameters in HTTP.

An Example Packet 3o46x

v=1&ready=75&busy=0

Consumers should handle new variables besides busy and ready, separated by '&', being added in the future.

top

HeartbeatAddress Directive 4ay5

Description: Multicast address for heartbeat packets
Syntax: HeartbeatAddress addr:port
Default: disabled
Context: server config
Status: Experimental
Module: mod_heartbeat

The HeartbeatAddress directive specifies the multicast address to which HeartbeatListen on a frontend proxy system.

HeartbeatAddress 239.0.0.1:27999

Available Languages:  fr 

top

Comments 2p1l6j

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our s if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our mailing lists.