Puppet Class: profile::bird::anycast_monitoring

Defined in:
modules/profile/manifests/bird/anycast_monitoring.pp

Overview



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'modules/profile/manifests/bird/anycast_monitoring.pp', line 9

class profile::bird::anycast_monitoring{

    # Anycast recdns: Note use of the raw IP in the host title and ip_address -
    # otherwise the checks end up using local DNS lookups on icinga itself to
    # find the address of the DNS server being tested, which makes the process
    # and the results confusing and/or wrong.
    # For non-DNS anycast services we can probably use the real hostname and
    # host_fqdn instead, so please don't copypasta this for the next entry!

    monitoring::host { '10.3.0.1':
        ip_address => '10.3.0.1',
        critical   => true, # Page
    }

    monitoring::service { 'Recursive DNS anycast VIP':
        host          => '10.3.0.1',
        description   => 'recursive DNS anycast VIP',
        check_command => 'check_dns!www.wikipedia.org',
        notes_url     => 'https://wikitech.wikimedia.org/wiki/Anycast_recursive_DNS#Troubleshooting',
        critical      => true, # Page
    }

    monitoring::host { 'syslog.anycast.wmnet':
        host_fqdn => 'syslog.anycast.wmnet',
    }
}