The Heartbeat plugin enables endpoint health monitoring by sending regular heartbeat messages from the endpoint to a ServiceControl instance. The ServiceControl instance keeps track of which endpoint instances are sending heartbeats and which ones are not.
To enable heartbeat monitoring in an environment:
- Install a ServiceControl instance
- Install and configure the Heartbeat plugin in endpoints that need to be monitored
- View the status of monitored endpoints in ServicePulse
- Optionally subscribe to integration events from ServiceControl when endpoints start/stop heartbeating
When an endpoint starts sending heartbeat messages, the ServiceControl instance will mark the endpoint as "active". If the ServiceControl instance stops receiving heartbeat messages from an endpoint, it will mark that endpoint as "inactive".
The heartbeats plugin is only able to determine if the endpoint is running and sending heartbeat messages. For more sophisticated endpoint health checks, develop a custom check