[Pkg-nagios-changes] [SCM] Debian packaging for mod gearman. branch, master, updated. debian/1.0.3-1-28-ga8ba0c2
Sven Nierlein
sven at nierlein.de
Fri May 20 10:21:22 UTC 2011
The following commit has been merged in the master branch:
commit 8061be89ab66b863535ca4ce8c50bf973cd612dd
Author: Sven Nierlein <sven at nierlein.de>
Date: Wed May 18 19:41:26 2011 +0200
removed warning for the passive only mode
- it's not useless anymore to load Mod-Gearman without any queues (NSCA replacement mode)
diff --git a/Changes b/Changes
index d485d5c..502d175 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,7 @@ This file documents the revision history for mod_gearman.
1.0.5 Tue May 17 17:46:36 CEST 2011
- added dupserver option to send_gearman and send_multi too
+ - removed warning for the passive only mode
1.0.4 Sun Apr 17 17:58:47 CEST 2011
- added generic logger
diff --git a/neb_module/mod_gearman.c b/neb_module/mod_gearman.c
index af3e4b0..5c3e8e3 100644
--- a/neb_module/mod_gearman.c
+++ b/neb_module/mod_gearman.c
@@ -742,28 +742,6 @@ static int verify_options(mod_gm_opt_t *opt) {
opt->events = GM_ENABLED;
}
- if( opt->servicegroups_num == 0
- && opt->hostgroups_num == 0
- && opt->exports_count == 0
- && opt->hosts == GM_DISABLED
- && opt->services == GM_DISABLED
- && opt->events == GM_DISABLED
- && opt->perfdata == GM_DISABLED
- ) {
- gm_log( GM_LOG_ERROR, "loading Mod-Gearman NEB module without any queues is useless\n" );
- return(GM_ERROR);
- }
-
- /* do we need a result thread? */
- if( opt->servicegroups_num == 0
- && opt->hostgroups_num == 0
- && opt->hosts == GM_DISABLED
- && opt->services == GM_DISABLED
- ) {
- gm_log( GM_LOG_DEBUG, "disabled unused result threads\n" );
- mod_gm_opt->result_workers = 0;
- }
-
return(GM_OK);
}
--
Debian packaging for mod gearman.
More information about the Pkg-nagios-changes
mailing list