consul

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2020 License: GPL-3.0 Imports: 9 Imported by: 1

README

Consul monitoring with Netdata

Consul is a service networking solution to connect and secure services across any runtime platform and public or private cloud.

This module monitors Consul health checks.

Charts

It produces the following charts:

  • Service Checks in status
  • Unbound Checks in status

Configuration

Edit the go.d/consul.conf configuration file using edit-config from the your agent's config directory, which is typically at /etc/netdata.

cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/consul.conf

Here is an example for 2 servers:

jobs:
  - name: local
    url : http://127.0.0.1:8500
      
  - name: remote
    url : http://203.0.113.10:8500

For all available options please see module configuration file.

Troubleshooting

Check the module debug output. Run the following command as netdata user:

./go.d.plugin -d -m consul

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart = module.Chart

Chart is an alias for module.Chart

type Charts

type Charts = module.Charts

Charts is an alias for module.Charts

type Consul

type Consul struct {
	module.Base

	web.HTTP `yaml:",inline"`

	ACLToken     string `yaml:"acl_token"`
	MaxChecks    int    `yaml:"max_checks"`
	ChecksFilter string `yaml:"checks_filter"`
	// contains filtered or unexported fields
}

Consul Consul module.

func New

func New() *Consul

New creates Consul with default values.

func (Consul) Charts

func (c Consul) Charts() *Charts

Charts creates Charts.

func (*Consul) Check

func (c *Consul) Check() bool

Check makes check.

func (Consul) Cleanup

func (Consul) Cleanup()

Cleanup makes cleanup.

func (*Consul) Collect

func (c *Consul) Collect() map[string]int64

Collect collects metrics.

func (*Consul) Init

func (c *Consul) Init() bool

Init makes initialization.

type Dim

type Dim = module.Dim

Dim is an alias for module.Dim

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL