infothrill.datadog_check_nsd

Ansible Role datadog-check-nsd

Build Status Build Status Updates Ansible Role

This is an Ansible role that helps you install a Datadog agent check for NSD, which is a name server that only gives authoritative answers.

Quick Guide

To start, create a requirements.yml file like this:

- src: Datadog.datadog
  version: 1.6.1
- src: infothrill.datadog_check_nsd
  version: v1.1.1

Then, install the roles:

ansible-galaxy install -r requirements.yml -p ./roles/

To use these roles in your playbook, you can set it up like this:

- hosts: servers
  roles:
    - role: Datadog.datadog
    - role: infothrill.datadog_check_nsd

To configure the NSD check, use the Datadog.datadog role and add an entry in its checks dictionary like so:

nsd:
  init_config:
  instances: [{}]

Role Variables

Here are the variables you can set:

Variable Default Description
ddagent_user dd-agent The user for the agent
ddagent_group dd-agent The group for the agent

Dependencies

You can run this role on its own, but it's tested with the role Datadog.datadog. It's best to:

  • Install Datadog using the main role.
  • Configure the check using the main role.
  • Use this role to just deploy the check plugin.

License

MIT License

Author Information

This role was created in 2017 by Paul Kremer.

Changes

v1.1.x

  • Removed support for Python 3.6
  • Added support for Python 3.7
  • Updated molecule to version 3.x
  • Added support for Ansible versions 2.8, 2.9, and 2.10
  • Removed support for Ansible versions 2.4, 2.5, 2.6, and 2.7

v1.1.1

  • Removed support for outdated Ansible versions 2.2 and 2.3

v1.1.0

  • Automatically detects the configuration directory for agent5/6 (still works with older versions)
  • Added support for EL 6 and 7
  • Improved molecule tests

v1.0.2

  • Added support for Debian Stretch and Jessie
  • Updated molecule tests
  • Removed support for Ansible 2.1 and added support for 2.5

v1.0.1

  • Added support for Debian Wheezy

v1.0

  • Initial release of the role.
Informazioni sul progetto

Role to install a datadog check for NSD

Installa
ansible-galaxy install infothrill.datadog_check_nsd
Licenza
mit
Download
540
Proprietario
I was born in the 20th century and I will die in the 21st century