From df6ccabc76bc8bafcac2951730a46ed725baff68 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 24 Jan 2013 15:20:03 +0100 Subject: [PATCH] icinga-module.cfg: Provide a sample Icinga module configuration. Thanks to Christoph Anton Mitterer for providing this! Closes: #683459 --- debian/changelog | 3 +++ debian/icinga-module.cfg | 11 +++++++++++ debian/rules | 3 +++ 3 files changed, 17 insertions(+) create mode 100644 debian/icinga-module.cfg diff --git a/debian/changelog b/debian/changelog index 911d15e..9487553 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,6 +19,9 @@ pnp4nagios (0.6.19-1) UNRELEASED; urgency=low - 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 Thu, 24 Jan 2013 14:50:27 +0100 diff --git a/debian/icinga-module.cfg b/debian/icinga-module.cfg new file mode 100644 index 0000000..b88f361 --- /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 67e3ba1..51098b3 100755 --- a/debian/rules +++ b/debian/rules @@ -122,6 +122,9 @@ install: build 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 -- 2.30.2