Introduction and implementation of Nagios pnp configuration Environment

Source: Internet
Author: User

This article describes the details of Nagios's pnp configuration and hopes to help you with Nagios's pnp usage. Here we provide detailed Nagios's pnp configuration. Let's take a look at its specific content.

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 the default Log Path in:
/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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.