Code

Provide module configuration for icinga
authorAlexander Wirt <alexander.wirt@credativ.de>
Mon, 18 Feb 2013 14:30:06 +0000 (15:30 +0100)
committerAlexander Wirt <alexander.wirt@credativ.de>
Mon, 18 Feb 2013 14:30:06 +0000 (15:30 +0100)
debian/npcdmod.cfg [new file with mode: 0644]
debian/pnp4nagios-web-config-icinga.examples [new file with mode: 0644]

diff --git a/debian/npcdmod.cfg b/debian/npcdmod.cfg
new file mode 100644 (file)
index 0000000..be77513
--- /dev/null
@@ -0,0 +1,15 @@
+# icinga config for npcdmod
+#
+# In order to have Icinga run the IDOMOD event broker module, you'll need
+# to place a file like this into /etc/icinga/modules/.
+#
+# ATTENTION: DO NOT load the same module here AND via broker_module in icinga.cfg
+# This can lead into problems with races on ressources.
+#
+
+define module{
+        module_name     npcdmod
+        module_type     neb
+        path            /usr/lib/pnp4nagios/npcdmod.o
+        args            config_file=/etc/pnp4nagios/npcd.cfg
+}
diff --git a/debian/pnp4nagios-web-config-icinga.examples b/debian/pnp4nagios-web-config-icinga.examples
new file mode 100644 (file)
index 0000000..51bf4bb
--- /dev/null
@@ -0,0 +1 @@
+debian/npcdmod.cfg