This addon visualizes the monitoring data, which is very useful. This page is also linked to the check_mk table. Now let's see how to install it?
Official station: http://docs.pnp4nagios.org/pnp-0.6/start
First download the software:
Wget http://docs.pnp4nagios.org/_media/dwnld/pnp4nagios-head.tar.gz
Decompress:
Tar zxvf pnp4nagios-head.tar.gz
CD pnp4nagios-head
Compilation steps:
./Configure -- With-Nagios-user = icinga -- With-Nagios-group = icinga
Error:
Checking for rrdtool... nochecking rrdtool path... noconfigure: Error: is a directory! PNP needs the path to the rrdtool binary!
Install rrdtool
Apt-Get install rrdtool-dbg
Run configure again.
Running make all compilation will soon end.
Installation:
Make install
Make install-webconf
Make install-config
Make install-init
In fact, we should use a command to solve the problem:
Make fullinstall
The subsequent configuration is really annoying. For more information, see:
Https://wiki.icinga.org/display/howtos/Setting+up+PNP4Nagios+with+Icinga-Web
Https://wiki.icinga.org/display/howtos/Setting+up+PNP+with+Icinga#SettingupPNPwithIcinga-Classic-UI
Https://wiki.icinga.org/display/howtos/PNP4Nagios+in+Classic-UI
Http://blog.csdn.net/wych1981/article/details/7246787
Finally, do not forget:
Apt-Get purge libapache2-mod-php5 PhP5 & apt-Get install libapache2-mod-php5 PhP5