What hostgroup name should I use to monitor the regsitry CDN?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello! I'm new to Nagios. Will this patch work for monitoring
cdn.registry.fedoraproject.org, which lives completely outside our
network? I basically just copy/pasted this from the code that appears
to monitor our proxies, but I wasn't sure what to put on the
hostgroup_name since this isn't really our proxy (so that's probably
wrong in the below patch). Thoughts?


diff --git a/roles/nagios_server/templates/nagios/services/websites.cfg.j2 b/roles/nagios_server/templates/nagios/services/websites.cfg.j2
index ab137a7..386472b 100644
--- a/roles/nagios_server/templates/nagios/services/websites.cfg.j2
+++ b/roles/nagios_server/templates/nagios/services/websites.cfg.j2
@@ -73,6 +73,14 @@ define service {
   use                   websitetemplate
 }
 
+define service {
+  hostgroup_name        proxies
+  service_description   http-moby-registry-cdn
+  check_command         check_website_ssl!cdn.registry.fedoraproject.org!/v2/!{}
+  max_check_attempts    8
+  use                   websitetemplate
+}
+
 
 ##
 ## Individual hosts

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux