Difference between revisions of "ZenPack:Bind"

From Zenoss Wiki
Jump to: navigation, search
(Created page with "{{ZenPack |Summary=Monitoring Bind via rdnc stats |Author=nickmuir |License=GNU General Public License, Version 2, or later |ZenPack name=ZenPacks.community.Bind |Homepage=htt...")
(No difference)

Revision as of 15:07, 1 February 2016

Author(s)
Nick Muir
License
GNU General Public License, Version 2, or later
ZenPack name
ZenPacks.community.Bind
More Information
GitHub page/HomePage
Git sources (for cloning)
Link




Bind ZenPack

Monitoring Bind via rdnc stats

Warning

The ZenPack Catalog has moved to its new home at https://www.zenoss.com/product/zenpacks as of January 17, 2017. The following information may be out of date, and this page will eventually be removed.

Support

This ZenPack is developed by the Zenoss user community and supported via our online forums. Zenoss, Inc. does not provide direct support for this ZenPack.

Releases

Version 1.0.1beta- Download
Released on 2016/02/01
Compatible with Zenoss Core 4.2.x

Background

This zenpack uses rndc to generate statistics for bind. The stats are parsed via a python script which is executed from a command data source.

Setup steps:

-Configure the server for rndc (https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-bind-rndc.html)- -Setup a cronjob to run rndc stats every 5 minutes -Copy the script/namedstats.py to the server you want to montior (I use puppet for this) -Update the Bind monitoring template to point to where the script resides and the path to the named.stats file -Set the command username and password of an account with sufficient privildeges to read the named.stats file - I used an account which is in the named group

Installation

Normal Installation (packaged egg)

  1. Download the appropriate egg file for the version of Zenoss you are running.
  2. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  3. Install the ZenPack:
    $ zenpack --install ZenPacks.community.Bind-*.egg
  4. Restart these services:
    $ zenoss restart

Developer Mode Installation

In order to do a development mode installation you will want to clone the existing git repository, and then use the --link flag with the zenpack command:

  1. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  2. Start by cloning the upstream repository:
    $ git clone https://github.com/nickmuir/ZenPacks.community.Bind.git
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.community.Bind
  4. Finally, restart these serivices:
    $ zenoss restart

Discuss

Purplemarker.png New: Don't forget to add yourself to the Zenoss User Map!

blog comments powered by Disqus