diff options
| author | alex <alex@pdp7.net> | 2024-07-30 21:25:25 +0200 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2024-07-30 21:26:35 +0200 |
| commit | 3f0ec4506b01cc00621dabff35b7498e4149670e (patch) | |
| tree | 7bdff4606bafdcf7a9d82be9d885c8c0589eb196 | |
| parent | 482cf8447397f3de22fe7aea6175ad4f80c92094 (diff) | |
Swap IoT devices
| -rw-r--r-- | personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp | 10 |
1 files 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 1889e1f2..c90dd2b2 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', } |
