From 5e2be7364f649d078cf0fe499f802d60e31d7553 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Mon, 18 Dec 2023 16:18:59 -0700 Subject: [PATCH] Trim ping and ssh monitors from Gate. Lost before repos changed? --- README.org | 20 -------------------- roles_t/core/templates/nagios.cfg | 14 -------------- 2 files changed, 34 deletions(-) diff --git a/README.org b/README.org index 028b9b0..f3f01c7 100644 --- a/README.org +++ b/README.org @@ -3985,13 +3985,6 @@ define host { host_name gate address {{ gate_addr }} } - -define service { - use local-service - host_name gate - service_description PING - check_command check_ping!100.0,20%!500.0,60% -} #+END_SRC For all campus NRPE servers: an ~inst_root~ command to check the free @@ -4069,19 +4062,6 @@ define service { } #+END_SRC -Monitor Gate's SSH service. - -#+CAPTION: =roles_t/core/templates/nagios.cfg= -#+BEGIN_SRC conf :tangle roles_t/core/templates/nagios.cfg - -define service { - use generic-service - host_name gate - service_description SSH - check_command check_ssh -} -#+END_SRC - For all campus NRPE servers: an ~inst_sensors~ command to report core CPU temperatures. diff --git a/roles_t/core/templates/nagios.cfg b/roles_t/core/templates/nagios.cfg index b170d15..7985dc6 100644 --- a/roles_t/core/templates/nagios.cfg +++ b/roles_t/core/templates/nagios.cfg @@ -78,13 +78,6 @@ define host { address {{ gate_addr }} } -define service { - use local-service - host_name gate - service_description PING - check_command check_ping!100.0,20%!500.0,60% -} - define service { use generic-service host_name gate @@ -120,13 +113,6 @@ define service { check_command check_nrpe!inst_swap } -define service { - use generic-service - host_name gate - service_description SSH - check_command check_ssh -} - define service { use generic-service host_name gate -- 2.25.1