aboutsummaryrefslogtreecommitdiff
path: root/personal_infra
diff options
context:
space:
mode:
Diffstat (limited to 'personal_infra')
-rw-r--r--personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp1
-rw-r--r--personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp8
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',