Created
October 15, 2012 01:19
-
-
Save omadjoudj/3890363 to your computer and use it in GitHub Desktop.
Add nagios check for Cgit on pkgs01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/nagios/files/nagios/services/websites.cfg b/modules/nagios/files/nagios/services/websites.cfg | |
index 4aaa5cd..69b78a8 100644 | |
--- a/modules/nagios/files/nagios/services/websites.cfg | |
+++ b/modules/nagios/files/nagios/services/websites.cfg | |
@@ -187,3 +187,10 @@ define service { | |
check_command check_website!status-fedora2.rhcloud.com!/index.html!All systems go | |
use websitetemplate | |
} | |
+ | |
+define service { | |
+ host_name pkgs01 | |
+ service_description Cgit on pkgs01 | |
+ check_command check_website!pkgs01.phx2.fedoraproject.org!/cgit/!Description | |
+ use websitetemplate | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment