summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 025a993)
raw | patch | inline | side by side (parent: 025a993)
author | Sebastian Harl <sh@teamix.net> | |
Thu, 24 Jan 2013 14:20:03 +0000 (15:20 +0100) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Thu, 24 Jan 2013 14:20:03 +0000 (15:20 +0100) |
Thanks to Christoph Anton Mitterer for providing this!
Closes: #683459
Closes: #683459
debian/changelog | patch | blob | history | |
debian/icinga-module.cfg | [new file with mode: 0644] | patch | blob |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 911d15e5146c37445d26eeaa55dd6cfc6ca95b36..9487553d99175ff29a056500943ace650cb7b975 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
- fix-npcd-path updated for 0.6.19.
* debian/rules:
- Manually clean-up auto-generated scripts/rrd_modify.pl.
+ * debian/icinga-module.cfg, debian/rules:
+ - Provide a sample Icinga module configuration; thanks to Christoph Anton
+ Mitterer for providing this (Closes: #683459).
-- Sebastian Harl <tokkee@debian.org> Thu, 24 Jan 2013 14:50:27 +0100
diff --git a/debian/icinga-module.cfg b/debian/icinga-module.cfg
--- /dev/null
+++ b/debian/icinga-module.cfg
@@ -0,0 +1,11 @@
+# This is a sample module definition for Icinga.
+#
+# Copy this file to /etc/icinga/modules/ in order to activate it.
+
+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/rules b/debian/rules
index 67e3ba1169c0672ec875c6e69a0d6c97a7504b42..51098b3304d94da10482a3cbae387f25e3f35158 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
cp -av contrib/ssi debian/tmp/usr/share/doc/pnp4nagios/examples/
rm -fv debian/tmp/usr/share/doc/pnp4nagios/examples/ssi/*.in
+ # Icinga module sample configuration
+ cp debian/icinga-module.cfg debian/tmp/usr/share/doc/pnp4nagios/examples/
+
# Remove external PHP classes/libraries: FPDF, FPDF-TPL, FPDI
rm -r debian/tmp/usr/share/pnp4nagios/html/application/vendor/fpdf