Patch by mark. 

diffs (44 lines):

diff -r 5a82d080da23 -r 36896ddf043e nagios/conf.d/config/commands.cfg
--- a/nagios/conf.d/config/commands.cfg Tue May 19 05:48:47 2009 +0000
+++ b/nagios/conf.d/config/commands.cfg Tue May 19 05:51:08 2009 +0000
@@ -63,6 +63,13 @@ define command {
 }
 
 
+# check gearmand machine to ensure it's listening
+define command {
+    command_name  dw_check_gearmand
+    command_line  $USER1$/check_tcp -H $HOSTADDRESS$ -p 7003
+}
+
+
 # determine if our SSL is up
 define command {
     command_name  dw_check_ssl_create
diff -r 5a82d080da23 -r 36896ddf043e nagios/conf.d/services/jobs.cfg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/nagios/conf.d/services/jobs.cfg   Tue May 19 05:51:08 2009 +0000
@@ -0,0 +1,23 @@
+#
+# jobs.cfg
+#
+# Checks we run on job servers.
+#
+# Authors:
+#      Mark Smith <[email protected]>
+#
+# Copyright (c) 2009 by Dreamwidth Studios, LLC.
+#
+# This program is free software; you may redistribute it and/or modify it under
+# the same terms as Perl itself.  For a copy of the license, please reference
+# 'perldoc perlartistic' or 'perldoc perlgpl'.
+#
+
+
+# verify that gearmand is responding to HTTP
+define service {
+    hostgroup_name                  jobs
+    service_description             Gearmand
+    check_command                   dw_check_gearmand
+    use                             generic-service
+}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to