From 3f0ec4506b01cc00621dabff35b7498e4149670e Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 30 Jul 2024 21:25:25 +0200 Subject: [PATCH] Swap IoT devices --- personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 1889e1f..c90dd2b 100644 --- a/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp +++ b/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp @@ -16,11 +16,17 @@ node 'nagios.h1.int.pdp7.net' { } } - nagios_host {"ac.mad.int.pdp7.net": + nagios_host {"shellyplusplugs-b0b21c1329b4.mad.int.pdp7.net": + use => 'generic-host', + max_check_attempts => 5, + contact_groups => 'admins', + check_command => 'check-host-alive', + } + + nagios_host {"shellyhtg3-54320453c804.mad.int.pdp7.net": use => 'generic-host', max_check_attempts => 5, contact_groups => 'admins', - hostgroups => 'k8s', check_command => 'check-host-alive', } -- 2.47.3