From 914466a3d718e9c830104117dfa945f7af4cf77f Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 19 May 2011 10:47:49 +0200 Subject: [PATCH] README.Debian: Be a bit more verbose about how to setup Gearman mode. --- debian/README.Debian | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/debian/README.Debian b/debian/README.Debian index bd8cbe7..7e74623 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -42,12 +42,25 @@ Using Gearman mode ------------------ Starting with version 0.6.12, PNP4Nagios may operate as a Gearman worker. This -is useful in large, distributed setups using Nagios's mod_gearman. To enable -the PNP Gearman worker, set 'RUN' to 'yes' in /etc/default/pnp_gearman_worker. -Also, you'll need a running mod_gearman environment. See +is useful in large, distributed setups using Nagios's mod_gearman. To use +the PNP Gearman worker, you'll need a running mod_gearman environment. See for detailed setup instructions. +In addition, the following configuration is required to get you started: + +- Enable processing of performance data in Nagios: set + 'process_performance_data=1' in "/etc/nagios3/nagios.cfg" and reload your + Nagios server: /etc/init.d/nagios3 reload. + +- Enable the PNP Gearman worker daemon by setting 'RUN' to 'yes' in + /etc/default/pnp_gearman_worker. Check the Gearman related options in + "/etc/pnp4nagios/process_perfdata.cfg" (GEARMAN_HOST and encryption + settings) and start the Gearman worker: /etc/init.d/pnp_gearman_worker start + +- Enable distribution of performance data in mod_gearman by setting the + 'perfdata=yes' option. + When operating in Gearman mode, process_perfdata.pl requires the Gearman::Worker, MIME::Base64, and Crypt::Rijndael Perl modules. These are available in the libgearman-client-perl, perl, and libcrypt-rijndael-perl -- 2.30.2