Consul

Each node (and service per node) has a set of checks.

  • A node or service is marked critical if any check is marked critical for the node or service.
  • A node or service is marked warning if any check is marked, so long as there are no criticals.
  • A node or service is marked passing if no checks are marked.

Configuration

These steps assume you have already set up Consul service. If you have not yet set up Consul, view their GitHub to get started.

1. Linux Agent

The Linux Agent must be installed in order to collect Consul metrics.

2. ConsulCollector.conf

To enable metric collection, update the /opt/netuitive-agent/conf/collectors/ConsulCollector.conf file:

enabled = True
url = http://localhost:8500