From 90389bcf0e74620c3f9a7d01a44ff6c5956e0f56 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Mon, 9 Oct 2023 04:30:20 +0000 Subject: [PATCH] olinda: olinda is shut down, so disable most notifications --- local.d/olinda.cfg | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/local.d/olinda.cfg b/local.d/olinda.cfg index 3eed9c2..d7c1674 100644 --- a/local.d/olinda.cfg +++ b/local.d/olinda.cfg @@ -2,6 +2,7 @@ define host{ use adehnert-host ; Name of host template to use host_name olinda address 18.18.208.12 + notifications_enabled 0 } # SMTP is redundant with SMTP-SSL, since they use the same port @@ -19,6 +20,7 @@ define service { service_description SMTP check_command check_smtp_ssl host_name olinda + notifications_enabled 0 } define service { @@ -28,6 +30,7 @@ define service { check_command check_https_hostname __check_cert_expiry_days 10 host_name olinda + notifications_enabled 0 } define service { @@ -36,6 +39,7 @@ define service { service_description IMAPS check_command check_simap host_name olinda + notifications_enabled 0 } define service { @@ -44,6 +48,7 @@ define service { service_description DNS check_command check_dns host_name olinda + notifications_enabled 0 } define service { @@ -52,17 +57,5 @@ define service { service_description Jabber check_command check_jabber host_name olinda -} - -define command{ - command_name check_mysql_home - command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -f /var/lib/nagios/.my.cnf -} - -define service { - name olinda-mysql - use adehnert-service - service_description MYSQL - check_command check_mysql_home - host_name localhost + notifications_enabled 0 } -- 2.34.1