Install pnp4nagios in icinga

Source: Internet
Author: User
Tags rrdtool icinga

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

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.