PNP is a small open-source software package. It is based on PHP and PERL and uses rrdtool to plot data collected by Nagios into charts. If you want to install Nagios pnp, the detailed Nagios pnp configuration is provided for your reference.
Nagios pnp configuration environment: cetnos5apache2nagios3pnp-0.4.3
If Stone brother is referenced during installation:
1. compilephpwithzlibandgdoption;
2. configureandmakeinstallthepnp;
3. modifythenagios. registrandcommand. cfgwiththeprocess_perfdataandhost/service_dataoption;
4. renamePNP 'stemplates. distastemplates; this step is not required, but it is okay if it is changed)
5. renameallPNP 'scfg _ samplefiles_samplesuffix;
6. Action_url: action_url. In 2.x, it can only be done through serviceextinfo. In 3.x, templates can be used for inheritance. Therefore, in 3.x, the number of configurations is much less, especially when deployment is too large)
This article does not detail the Nagios pnp installation process: Read the official documentation.
[Url] http://www.pnp4nagios.org/pnp/install#/url]
If you are using centos5 like zlibgbrrdtool, you can directly use yum
Method Source: linuxtone.org [netseek brothers]
1. wget [url] URLs
2. rpm-ivhrpmforge-release-0.3.6-1.el5.rf.i386.rpm
3. yuminstall ****
After installing all the software, you need to make some configuration.
1. Modify the PNP configuration file and enable logging.
The default path is/usr/local/nagios/var/process_perfdata.cfg.
LOG_FILE =/usr/local/nagios/var/perfdata. log
#
# Loglevel0 = silent1 = normal2 = debug
#
LOG_LEVEL = 0 # Set this example to 2 and use the debug mode
- Implementation of the Nagios network management module in Linux
- Open-Source Monitoring Project Nagios derivative new project ICINGA is more community-oriented
- O & M monitoring Nagios serialization 3: deploying and configuring the Nagios Service
- O & M monitoring serialization: full solution to nagios, an open-source monitoring tool
- O & M monitoring Nagios serialization 2: deploying an apache server