Application monitoring
with the CONSUL package

ServicePilot appmon-consul

What is Hashicorp Consul?

Consul is an open source tool for service discovery and configuration in distributed, high availability data center application infrastructure. It is developed by Hashicorp (along with other products such as Vagrant, Vault, Terraform...) and is distributed under the Mozilla Public License 2.0. was created to provide 5 functionalities for shared cluster management:

  • Service Discovery
  • Health Checking
  • Key/Value Storage
  • Multi-Datacenter
  • Service Segmentation

Consul runs on all platforms (Windows, Linux, Mac OS X...) and a commercial version called Consul Enterprise is also made available by Hashicorp.

Hashicorp monitoring

This package monitors a Hashicorp Consul environment by requesting its health and status APIs.

This package automatically provisions the ServicePilot Manager and configures the ServicePilot Agent to collect indicators from Consul in order to discover and monitor health checks registered in Consul.

The statistics gathered in this way include:

  • Leader: obtain the information of who is the leader in the consul infrastructure
  • Health checks: obtain the associated node name, check name, service ID and status for each health check