Giter VIP home page Giter VIP logo

zabbix-bind9-statistics-collection's Introduction

Zabbix Bind9 Statistics Collection

Join the chat at https://gitter.im/Zabbix-Bind9-Statistics-Collection/Lobby

This method utilises Bind 9s built in statistics export via HTTP/XML.

Most statistics available are collected, several aggregate graphs are defined.

Forked from https://github.com/Pesticles/Zabbix-Bind9-Statistics-Collection

Changes from original:

  • Zones without statistics are not detected
  • The template for Zabbix 3.4 uses dependent item. As a result, only one query is made to the agent for general statics and one for each zone.

Requirements

  • Zabbix 2.X.X and Zabbix 3.X.X
  • Python 3

To install:

  • Configure Bind to export statistics via HTTP by adding the following to your bind.conf and restarting bind:
statistics-channels {
 	inet 127.0.0.1 port 8653 allow { 127.0.0.1; };
};
  • Copy the userparameter_bind.conf into your zabbix agents include directory (/etc/zabbix/zabbix_agentd.d/ on Debian/Ubuntu)
  • Copy the script bind-stats.py to /usr/local/bin/ (or anywhere else you like, but you will need to alter the contents of userparameter_bind.conf)
  • Import the xml template into Zabbix (zbx_bind_statistics_template_v3.xml for Zabbix 3.X.X)

Update to 3.4

  • Update userparameter_bind.conf and bind-stats.py
  • Restart zabbix-agent
  • Import the xml template zbx_bind_statistics_template_v3.4.xml (previous data will not be lost)

Note:

You can enable per-zone statistics (which will be automatically discovered) by adding the following clause to each zone definition in your bind.conf: zone-statistics yes;

zabbix-bind9-statistics-collection's People

Contributors

gitter-badger avatar gullevek avatar pesticles avatar prototype-x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.