Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

bindix

Zabbix Agent - Bind

Dependencies

Bind has to have the statistics enable to make it work, please add the following options in named.conf:

#~ cat named.conf
...
statistics-channels {
        inet 127.0.0.1 port 8653 allow { 127.0.0.1; };
};
...
#~

Also we need to enable the statistics in every zone that we want to get stats, please add these options on every zone definition:

#~ cat zones.conf
...
zone "example.net" in {
        type master;
        file "master/example.net";
        zone-statistics yes;
};
...
#~

Packages

  • ksh
  • xmlstarlet

Debian/Ubuntu

#~ sudo apt install ksh xmlstarlet
#~

Red Hat

#~ sudo yum install ksh
#~

Deploy

Default variables:

NAME VALUE
BIND_URL http://localhost:8653/xml

Note: these variables have to be saved in the config file (bindix.conf) in the same directory than the script.

Zabbix

#~ git clone https://github.com/sergiotocalini/bindix.git
#~ sudo ./bindix/deploy_zabbix.sh "${BIND_URL}"
#~ sudo systemctl restart zabbix-agent

Note: the installation has to be executed on the zabbix agent host and you have to import the template on the zabbix web.

You can’t perform that action at this time.