PNP4Nagios for Debian --------------------- PNP4Nagios supports several modes of operation. They differ in the way how performance data is being processed and, thus, the efficiency of PNP. Detailed documentation is available at . Using bulk mode --------------- We recommend to use bulk mode with NPCD and npcdmod. This will facilitate an easy installation and fast processing of performance data. To enable NPCD, set 'RUN' to 'yes' in /etc/default/npcd. In order to enable processing of performance data in Nagios, please change the "process_performance_data" statement in "/etc/nagios3/nagios.cfg" to "process_performance_data=1". To register the NPC event broker module (npcdmod), add the following line (without quotes) to "/etc/nagios3/nagios.cfg": "broker_module=/usr/lib/pnp4nagios/npcdmod.o config_file=/etc/pnp4nagios/npcd.cfg" Finally reload your Nagios server by running "/etc/init.d/nagios3 reload". All performance data should be processed now. If you want links to PNP4Nagios for your monitored hosts and services in the Nagios web frontend just add - "action_url /pnp4nagios/graph?host=$HOSTNAME$" to your hosts or host template(s) - "action_url /pnp4nagios/graph?host=$HOSTNAME$&srv=$SERVICEDESC$" to your services or service template(s) For more information and different modes of operation, see . -- Sven Velt Wed, 30 Sep 2009 13:55:35 +0000 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 for detailed setup instructions. 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 Debian packages (see packages suggested by pnp4nagios-bin). -- Sebastian Harl Wed, 27 Apr 2011 09:32:52 +0200