Skip to content

Conversation

@jacobbednarz
Copy link
Contributor

This creates a manifest for the DNS check integration and allows
configuration via a class or hiera. Examples:

Using a puppet class

class { 'datadog_agent::integrations::dns_check':
  checks => [
    {
      'hostname'   => 'example.com',
      'nameserver' => '8.8.8.8',
      'timeout'    => 5,
    }
  ]
}

Hiera

datadog_agent::integrations::dns_check::checks:
  - hostname: 'example.com'
    nameserver: '8.8.8.8'
    timeout: 5

This creates a manifest for the DNS check integration[1] and allows
configuration via a class or hiera. Examples:

Using a puppet class

```puppet
class { 'datadog_agent::integrations::dns_check':
  checks => [
    {
      'hostname'   => 'example.com',
      'nameserver' => '8.8.8.8',
      'timeout'    => 5,
    }
  ]
}
```

Hiera

```yaml
datadog_agent::integrations::dns_check::checks:
  - hostname: 'example.com'
    nameserver: '8.8.8.8'
    timeout: 5
```

[1]: http://docs.datadoghq.com/integrations/dnscheck/
@truthbk truthbk merged commit b996898 into DataDog:master Jul 28, 2016
@truthbk
Copy link
Member

truthbk commented Jul 28, 2016

Thanks a lot for the contribution @jacobbednarz very much appreciated! Special thanks and kudos for the spec tests 💚

@jacobbednarz jacobbednarz deleted the add-dns-check branch September 22, 2016 03:52
cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Jan 31, 2018
Create DNS check integration manifest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants