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)