[omd-commits] OMD Git: omd: Mod-Gearman: added do_hostchecks to default config

git version control git at mathias-kettner.de
Tue Apr 12 17:32:24 CEST 2011


Module:   omd
Branch:   master
Commit:   2a3495d583cdcbf6d9a4e9d4f86ae1463eb30440
URL:      http://omdistro.org/projects/omd/repository/revisions/2a3495d583cdcbf6d9a4e9d4f86ae1463eb30440

Author:   Sven Nierlein <sven at nierlein.de>
Date:     Tue Apr 12 16:52:00 2011 +0200
Commiter: Sven Nierlein <sven at nierlein.de>
Date:     Tue Apr 12 16:52:00 2011 +0200

Mod-Gearman: added do_hostchecks to default config

---

 .../mod-gearman/skel/etc/mod-gearman/server.cfg    |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/packages/mod-gearman/skel/etc/mod-gearman/server.cfg b/packages/mod-gearman/skel/etc/mod-gearman/server.cfg
index bdeef00..6d51fbf 100644
--- a/packages/mod-gearman/skel/etc/mod-gearman/server.cfg
+++ b/packages/mod-gearman/skel/etc/mod-gearman/server.cfg
@@ -1,10 +1,10 @@
 ###############################################################################
 # 
-#  mod_gearman - distribute checks with gearman
+#  Mod-Gearman - distribute checks with gearman
 # 
 #  Copyright (c) 2010 Sven Nierlein
 # 
-#  Sample Shared Worker / NEB Module Config
+#  Mod-Gearman NEB Module Config
 # 
 ###############################################################################
 
@@ -49,6 +49,15 @@ hosts=yes
 # queues.
 #servicegroups=name1,name2,name3
 
+# Set this to 'no' if you want Mod-Gearman to only take care about
+# servicechecks. No hostchecks will be processed by Mod-Gearman. Use
+# this option to disable hostchecks and still have the possibility to
+# use hostgroups for easy configuration of your services.
+# If set to yes, you still have to define which hostchecks should be
+# processed by either using 'hosts' or the 'hostgroups' option.
+# Default is Yes.
+do_hostchecks=yes
+
 # enables or disables encryption. It is strongly
 # advised to not disable encryption. Anybody will be
 # able to inject packages to your worker.



More information about the omd-commits mailing list