From de317eea7c61e35f803da9192ee95c1305b12849 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 14 Feb 2026 19:49:13 +0100 Subject: Monitor alex.corcoles.net cert again --- .../puppet/site/nagios.h1.int.pdp7.net.pp | 28 +++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'personal_infra/puppet') 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 b48b210b..4d9dd8c6 100644 --- a/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp +++ b/personal_infra/puppet/site/nagios.h1.int.pdp7.net.pp @@ -36,7 +36,33 @@ node 'nagios.h1.int.pdp7.net' { address => "192.168.76.3", } - package {'nagios-plugins-pgsql':} + nagios_host {"xn--ix-yja.es": + use => 'generic-host', + max_check_attempts => 5, + contact_groups => 'admins', + check_command => 'check-host-alive', + address => '155.133.26.104', + } + + nagios_service {'alex.corcoles.net-gemini-cert': + use => 'generic-service', + service_description => 'alex.corcoles.net-gemini-cert', + host_name => 'xn--ix-yja.es', + 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_ssl_validity -H alex.corcoles.net -I alex.corcoles.net -p 1965 -c 10 5', + require => Package['nagios'], + notify => Service['nagios'], + owner => 'nagios', + } + + package {['nagios-plugins-all', 'perl-Math-BigInt']:} class {'otel': version => '0.88.0', -- cgit v1.2.3