Installing Nagios Graphics (PNP)

Source: Internet
Author: User


1. Underlying support library (graphical display dependent) Yum install-y Cairo Pango zlib zlib-devel freetype freetype-devel gd gd-devel

2. Rrdtools Support Software LIBART_LGPL

Yum Install LIBART_LGPL

or compile and install libart_lgpl-2.3.17

Important steps:

cp-r libart-2.0/usr/include/

3. Installing Rrd-tools

./configure--prefix=/usr/local/rrdtool--disable-python--DISABLE-TCL

4. Installing PnP

./configure--with-rrdtool=/usr/local/rrdtool/bin/rrdtool-----> commands to really plot out

--with-perfdata=/usr/local/nagios/share/perfdata Data path for-----> Plot

warning:the rrds Perl Modules is not found on your System

Using Rrds would speedup things in larger installtions.

Caution is not heeded.

Detailed Installation records:

978./configure--with-rrdtool=/usr/local/rrdtool/bin/rrdtool--with-perfdata=/usr/local/nagios/share/perfdata

979 make all

980 make Install

981 Make Install-config

982 Make Install-init

5. At this point, the PNP and associated Nagios graphics are installed

6. Configure Command.cfg

# ' process-host-perfdata ' command definition

Define Command{

Command_name Process-host-perfdata

Command_line /usr/local/nagios/libexec/process_perfdata.pl

}



# ' process-service-perfdata ' command definition

Define Command{

Command_name Process-service-perfdata

Command_line /usr/local/nagios/libexec/process_perfdata.pl

}


7. Integration of Nagios and PNP Web display pages

Edit host.cfg Add action_url parameter or edit template file templates.cfg

action_url/nagios/pnp/index.php?host= $HOSTNAME $

650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/75/C4/wKioL1ZCKN7jJuUjAACKwW07dJU576.jpg "title=" 1.jpg " alt= "Wkiol1zckn7jjuujaackww07dju576.jpg"/>

Re-Integration Services

/nagios/pnp/index.php?host= $HOSTNAME $&srv= $SERVICEDESC $

650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M01/75/C7/wKiom1ZCKmzQyEUXAAByKRgsBhU970.jpg "title=" 2.jpg " alt= "Wkiom1zckmzqyeuxaabykrgsbhu970.jpg"/>


























Installing Nagios Graphics (PNP)

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.