From: alex Date: Sat, 27 Jan 2024 09:53:14 +0000 (+0100) Subject: Monitor alex.corcoles.net Gemini cert X-Git-Tag: 20240214-emacs~30 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=b7c71e2da421ef652d248800b10b37596d3af096;p=alex.git Monitor alex.corcoles.net Gemini cert --- 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 4010d3c..f6d5f69 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,24 @@ node 'nagios.h1.int.pdp7.net' { } } + nagios_service {'alex.corcoles.net-gemini-cert': + use => 'generic-service', + service_description => 'alex.corcoles.net-gemini-cert', + host_name => 'k8s-prod.h1.int.pdp7.net', + check_command => 'check_alex.corcoles.net-gemini-cert', + require => Package['nagios'], + notify => Service['nagios'], + owner => 'nagios', + } + + nagios_command {'check_alex.corcoles.net-gemini-cert': + command_name => 'check_alex.corcoles.net-gemini-cert', + command_line => '/usr/lib64/nagios/plugins/check_http -H alex.corcoles.net -C 10,5 -p 1965', + require => Package['nagios'], + notify => Service['nagios'], + owner => 'nagios', + } + package {'nagios-plugins-pgsql':} class {'otel':