[Pkg-nagios-changes] [SCM] Debian packaging for mod gearman. branch, master, updated. debian/1.1.1-1-21-gf620933

Stig Sandbeck Mathisen ssm at debian.org
Sat Jan 14 14:47:50 UTC 2012


The following commit has been merged in the master branch:
commit 6aebfda1c7dcbf7f91d91e6f6f7cedd1adbba04f
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date:   Sat Jan 14 14:26:12 2012 +0100

    Update configuration examples for the event broker module

diff --git a/debian/mod-gearman-module.README.Debian b/debian/mod-gearman-module.README.Debian
index 983654a..88c685d 100644
--- a/debian/mod-gearman-module.README.Debian
+++ b/debian/mod-gearman-module.README.Debian
@@ -12,10 +12,17 @@ Edit to point to your gearman job server, and set a password common to the
 module and the workers.
 
 
-Nagios / Icinga configuration
------------------------------
+Icinga configuration
+--------------------
+
+Copy /usr/share/doc/mod-gearman-module/examples/mod_gearman.cfg to
+/etc/icinga/modules/
+
 
-Add the following stanza to /etc/nagios/nagios.cfg or /etc/icinga/icinga.cfg
+Nagios configuration
+--------------------
+
+Add the following stanza to /etc/nagios/nagios.cfg
 
 broker_module=/usr/lib/mod_gearman/mod_gearman.o config=/etc/mod-gearman/module.conf
 
@@ -28,3 +35,5 @@ following message in your log:
 
 [...] Event broker module '/usr/lib/mod_gearman/mod_gearman.o' initialized successfully.
 
+
+ -- Stig Sandbeck Mathisen <ssm at debian.org>, Sat, 14 Jan 2012 14:22:12 +0100
diff --git a/debian/mod-gearman-module.examples b/debian/mod-gearman-module.examples
index e5b39d4..cf87aef 100644
--- a/debian/mod-gearman-module.examples
+++ b/debian/mod-gearman-module.examples
@@ -1 +1,2 @@
 debian/module.conf
+debian/mod_gearman.cfg
diff --git a/debian/mod_gearman.cfg b/debian/mod_gearman.cfg
new file mode 100644
index 0000000..db751f7
--- /dev/null
+++ b/debian/mod_gearman.cfg
@@ -0,0 +1,8 @@
+# Example configuration for the mod_gearman event broker module
+
+define module {
+  module_name mod_gearman
+  path        /usr/lib/mod_gearman/mod_gearman.o
+  module_type neb
+  args        config=/etc/mod-gearman/module.conf
+}

-- 
Debian packaging for mod gearman.



More information about the Pkg-nagios-changes mailing list