bind

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: GPL-3.0 Imports: 12 Imported by: 1

README

Bind9 monitoring with Netdata

Bind9 (or named) is a very flexible, full-featured DNS system.

This module will monitor one or more Bind9 servers, depending on your configuration.

Requirements

  • bind version 9.9+ with configured statistics-channels

For detail information on how to get your bind installation ready, please refer to the following articles:

Normally, you will need something like this in your named.conf.options:

statistics-channels {
        inet 127.0.0.1 port 8653 allow { 127.0.0.1; };
        inet ::1 port 8653 allow { ::1; };
};

Charts

It produces the following charts:

  • Global Received Requests by IP version (IPv4, IPv6) in requests/s
  • Global Successful Queries in queries/s
  • Global Recursive Clients in clients
  • Global Queries by IP Protocol (TCP, UDP) in queries/s
  • Global Queries Analysis in queries/s
  • Global Received Updates in updates/s
  • Global Query Failures in failures/s
  • Global Query Failures Analysis in failures/s
  • Global Server Statistics in operations/s
  • Global Incoming Requests by OpCode in requests/s
  • Global Incoming Requests by Query Type in requests/s

Per View Statistics (the following set will be added for each bind view):

  • Resolver Active Queries in queries
  • Resolver Statistics in operations/s
  • Resolver Round Trip Time in queries/s
  • Resolver Requests by Query Type in requests/s
  • Resolver Cache Hits in operations/s

Configuration

Edit the go.d/bind.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/bind.conf

Needs only url. Here is an example for several servers:

jobs:
  - name: local
    url: http://127.0.0.1:8653/json/v1

  - name: local
    url: http://127.0.0.1:8653/xml/v3

  - name: remote
    url: http://203.0.113.10:8653/xml/v3

  - name: local_with_views
    url: http://127.0.0.1:8653/json/v1
    permit_view: '!_* *'

View filter syntax: simple patterns.

For all available options please see module configuration file.

Troubleshooting

Ensure that the statistics-channels feature is configured correctly. Run following command:

curl "http://localhost:8653/json/v1/server"

It should print out a bunch of info about the statistics of the server.

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

./go.d.plugin -d -m bind

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bind

type Bind struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

Bind Bind module.

func New

func New() *Bind

New creates Bind with default values.

func (Bind) Charts

func (b Bind) Charts() *Charts

Charts creates Charts.

func (*Bind) Check

func (b *Bind) Check() bool

Check makes check.

func (Bind) Cleanup

func (Bind) Cleanup()

Cleanup makes cleanup.

func (*Bind) Collect

func (b *Bind) Collect() map[string]int64

Collect collects metrics.

func (*Bind) Init

func (b *Bind) Init() bool

Init makes initialization.

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 Config added in v0.5.0

type Config struct {
	web.HTTP   `yaml:",inline"`
	PermitView string `yaml:"permit_view"`
}

Config is the Bind module configuration.

type Dim

type Dim = module.Dim

Dim is an alias for module.Dim.

type Dims

type Dims = module.Dims

Dims is an alias for module.Dims.

Jump to

Keyboard shortcuts

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