diff options
| author | alex <alex@pdp7.net> | 2024-07-20 21:30:32 +0200 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2024-07-20 21:31:50 +0200 |
| commit | 6cc6156e96f5fc5fac68b82f8e8041296dd56797 (patch) | |
| tree | cf0031a493941804f362fef1160f637559c2fae9 /personal_infra/puppet/site | |
| parent | e06ee1d0064e17f098fd1f3e1b5b6a29483b1a8f (diff) | |
Fix ac plug IP and monitor
Diffstat (limited to 'personal_infra/puppet/site')
| -rw-r--r-- | personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp | 1 | ||||
| -rw-r--r-- | personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp b/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp index 064af4d4..23872537 100644 --- a/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp +++ b/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp @@ -3,6 +3,7 @@ node 'maelcum.mad.int.pdp7.net' { file {'/etc/dnsmasq.d/static.conf': content => 'host-record=router,router.mad.int.pdp7.net,10.34.10.1 dhcp-host=d8:8c:79:1a:11:59,chromecast,10.34.10.3 +dhcp-host=10:d5:61:d2:5c:24,ac,10.34.10.4 host-record=maelcum.mad.int.pdp7.net,maelcum,10.34.10.2 ', notify => Service['dnsmasq'], diff --git a/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp b/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp index f6d5f693..1889e1f2 100644 --- a/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp +++ b/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp @@ -16,6 +16,14 @@ node 'nagios.h1.int.pdp7.net' { } } + nagios_host {"ac.mad.int.pdp7.net": + use => 'generic-host', + max_check_attempts => 5, + contact_groups => 'admins', + hostgroups => 'k8s', + check_command => 'check-host-alive', + } + nagios_service {'alex.corcoles.net-gemini-cert': use => 'generic-service', service_description => 'alex.corcoles.net-gemini-cert', |
