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