From: Sebastian Harl Date: Thu, 24 Jan 2013 14:20:03 +0000 (+0100) Subject: icinga-module.cfg: Provide a sample Icinga module configuration. X-Git-Tag: v_0_6_19-1~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df6ccabc76bc8bafcac2951730a46ed725baff68;p=pkg-pnp4nagios.git icinga-module.cfg: Provide a sample Icinga module configuration. Thanks to Christoph Anton Mitterer for providing this! Closes: #683459 --- 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