Nagios Configuration Pnp4nagios Error "Please check the Documentatio

Source: Internet
Author: User

Error

Modify the following configuration

/usr/local/nagios/etc/nagios.cfg configuration file

#修改值为1

Process_performance_data=1

#取消下面行的注释
Host_perfdata_command=process-host-perfdata
Service_perfdata_command=process-service-perfdata

/usr/local/nagios/etc/objects/commands.cfg configuration file

Note Process-host-perfdata and Process-service-perfdata in the configuration file

Add the following configuration

Define Command{
Command_name Process-host-perfdata
Command_line/usr/bin/perl/usr/local/pnp4nagios/libexec/process_perfdata.pl-d HOSTPERFDATA
}

Define Command{
Command_name Process-service-perfdata
command_line/usr/bin/perl/usr/local/pnp4nagios/libexec/process_perfdata.pl
}

/usr/local/pnp4nagios/etc/Configuration Modifications

CP Misccommands.cfg-sample Misccommands.cfg

CP Rra.cfg-sample Rra.cfg

CP Nagios.cfg-sample Nagios.cfg

/usr/local/pnp4nagios/etc/pages Configuration Modifications

CP Web_traffic.cfg-sample Web_traffic.cfg

/usr/local/pnp4nagios/etc/check_commands Configuration Modifications

CP Check_all_local_disks.cfg-sample Check_all_local_disks.cfg

CP Check_nrpe.cfg-sample Check_nrpe.cfg

CP Check_nwstat.cfg-sample Check_nwstat.cfg

Copy the mouse hover icon file

cp/usr/src/pnp4nagios-0.6.24/contrib/ssi/*/usr/local/nagios/share/ssi/

At last

Restart Nagios, httpd, NPCD services

View the list of errors/usr/local/pnp4nagios/var/perfdata whether there is a generated data file

Nagios Configuration Pnp4nagios Error "Please check the Documentatio

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.