From 99659538d81fc45c0b5fc3db5dae8caff81953f5 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Thu, 27 Jun 2019 01:31:49 -0400 Subject: [PATCH] ESP has their own monitoring now --- local.d/esp.cfg | 136 ------------------------------------------------ 1 file changed, 136 deletions(-) delete mode 100644 local.d/esp.cfg diff --git a/local.d/esp.cfg b/local.d/esp.cfg deleted file mode 100644 index 27b5596..0000000 --- a/local.d/esp.cfg +++ /dev/null @@ -1,136 +0,0 @@ -define host{ - use generic-host ; Name of host template to use - host_name esp - address 18.7.25.195 - contact_groups esp -} - -define hostgroup{ - hostgroup_name esp-hosts - members esp -} - -define contactgroup { - contactgroup_name esp - members esp-zephyr,espmit -} - -define contact { - contact_name esp-zephyr - service_notification_period 24x7 - host_notification_period 24x7 - service_notification_options w,u,c,r - host_notification_options d,u,r - service_notification_commands notify-by-zephyr - host_notification_commands host-notify-by-zephyr - email esp-auto -} - -define contact { - ; Also used as the "contact" for the web interface - contact_name espmit - service_notification_period 24x7 - host_notification_period 24x7 - service_notification_options w,u,c,r - host_notification_options d,u,r - service_notification_commands notify-service-by-email - host_notification_commands notify-host-by-email - email esp-webmasters@mit.edu -} - -;;; Regular unprivileged remote connection services -define service { - name generic-esp-service - use generic-service - contact_groups esp - hostgroup_name esp-hosts -} - -define service { - use generic-esp-service - service_description PING - check_command check_ping!500.0,30%!3000.0,80% -} - -define service { - use generic-esp-service - service_description SSH - check_command check_ssh -} - -define service { - use generic-esp-service - service_description HTTP - check_command check_http -} - -define service { - use generic-esp-service - service_description HTTPS - check_command check_https_hostname!-H esp.mit.edu - __CHECK_CERT_EXPIRY_DAYS 30 -} - -define service { - use generic-esp-service - service_description SMTP - check_command check_smtp -} - - -;;; NRPE services -define service { - name nrpe-esp-service - use nrpe-service - contact_groups esp - hostgroup_name esp-hosts -} - -define service { - use nrpe-esp-service - service_description NRPE - check_command check_nrpe_alive -} - -define service { - use nrpe-esp-service - service_description USERS - check_command check_remote_users -} - -define service { - use nrpe-esp-service - service_description LOAD - check_command check_remote_load -} - -define service { - use nrpe-esp-service - service_description DISK - check_command check_remote_disk - max_check_attempts 7 ; disk usage spikes briefly during backups or something, so give it ~7 minutes instead of ~4 before triggering -} - -define service { - use nrpe-esp-service - service_description HPRAID - check_command check_nrpe_generic!hpraid -} - -define service { - use nrpe-esp-service - service_description ZOMBIE-PROC - check_command check_remote_zombie_procs -} - -define service { - use nrpe-esp-service - service_description TOTAL-PROC - check_command check_remote_total_procs -} - -;define service { -; use nrpe-esp-service -; service_description EXIM-QUEUE -; check_command check_remote_mailq_exim -;} -- 2.34.1