Posts

Showing posts from 2015

To record terminal command in file.

script -a abc    after execute this command your terminal recording will start   you can exit with exit command.  and find result in abc file on present working directory. like :- cat abc

Pnp4Nagios installation and configuration on nagios4

Image
PNP4Nagios // we assume you have already install nagios core  Part 1.  installation of pnp4nagios We start with the simplest. We download the latest available version of pnp4nagios, in our case 0.6.24, unpack, compile and activate the service. Prerequisite software required     - rrdtool     - librrds-perl     - g++     - php5-cli     - php5-gd     - libapache2-mod-php5 tar zxvf pnp4nagios-0.6.24.tar.gz cd pnp4nagios-0.6.24 ./configure make all make fullinstall To check pnp4nagios   http://localhost/pnp4nagios/ We must remove the following file if we have the pnp4nagios: rm -rf /usr/local/pnp4nagios/share/install.php Part 2.  Edit nagios.cfg This is the most complicated part, we need to edit the file and add the following lines indicated. We begin with the main configuration file for Nagios, where besides adding the lines  look for the "process_performance_data" parameter and will equal 1. vi /usr/local/