Puppet Class: gdnsd::monitor_conf

Defined in:
modules/gdnsd/manifests/monitor_conf.pp

Overview

SPDX-License-Identifier: Apache-2.0



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'modules/gdnsd/manifests/monitor_conf.pp', line 2

class gdnsd::monitor_conf {
    # This is a local NRPE check to validate that the gdnsd server's config
    # and zonefiles still load.  This is an important gaurd against e.g.
    # puppet-deploying an invalid configuration, which might otherwise only
    # cause a single failed puppet run (until someone tries to deploy DNS
    # changes and gets blocked).
    nrpe::plugin { 'check_gdnsd_checkconf':
        source => 'puppet:///modules/gdnsd/check_gdnsd_checkconf',
    }

    nrpe::monitor_service { 'gdnsd_checkconf':
        description  => 'gdnsd checkconf',
        nrpe_command => '/usr/local/lib/nagios/plugins/check_gdnsd_checkconf',
        notes_url    => 'https://wikitech.wikimedia.org/wiki/gdnsd',
    }
}