Puppet Class: profile::dns::auth::monitoring::global
- Defined in:
- modules/profile/manifests/dns/auth/monitoring/global.pp
Overview
SPDX-License-Identifier: Apache-2.0 This is for the alerting host to monitor the shared public addrs
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'modules/profile/manifests/dns/auth/monitoring/global.pp', line 3
class profile::dns::auth::monitoring::global (
Hash[String, Hash[String, Any]] $authdns_addrs = lookup('authdns_addrs'),
) {
$authdns_addrs.each |$label,$data| {
@monitoring::host { $label:
ip_address => $data['address'],
}
@monitoring::service { $label:
host => $label,
description => 'Auth DNS',
check_command => 'check_dns_query_auth!www.wikipedia.org',
critical => true,
notes_url => 'https://wikitech.wikimedia.org/wiki/DNS',
}
}
}
|