]> xn--ix-yja.es Git - alex.git/commitdiff
Swap IoT devices
authoralex <alex@pdp7.net>
Tue, 30 Jul 2024 19:25:25 +0000 (21:25 +0200)
committeralexpdp7 <alex@corcoles.net>
Tue, 30 Jul 2024 19:26:35 +0000 (21:26 +0200)
personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp

index 1889e1f2960e14935ebec03ef30e0700db012fb0..c90dd2b28e0cc8ecd8025575c5a352732ddc26fb 100644 (file)
@@ -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',
   }