使用PNPNagios圖形化Nagios資料 12
按照提示執行make all命令:
[root@ff pnp4nagios-0.6.17]# make all cd ./src && make make[1]: Entering directory `/root/pnp4nagios-0.6.17/src' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o npcd npcd.c utils.o config.o logging.o -lpthread gcc -fPIC -g -O2 -DHAVE_CONFIG_H -DNSCORE -o npcdmod.o npcdmod.c -shared -fPIC make[1]: Leaving directory `/root/pnp4nagios-0.6.17/src' cd ./share && make make[1]: Entering directory `/root/pnp4nagios-0.6.17/share' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/pnp4nagios-0.6.17/share' cd ./scripts && make make[1]: Entering directory `/root/pnp4nagios-0.6.17/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/pnp4nagios-0.6.17/scripts' chmod a+r ./contrib/ssi/status-header.ssi chmod a+xr ./helpers/w2h.pl
*** Compile finished ***
make install - This installs the main program and HTML files
make fullinstall - This installs the main program, runlevel scripts, config and HTML files
Enjoy.
[root@ff pnp4nagios-0.6.17]# |
根據提示,可以執行make install或者是make fullinstall命令,它們的區別在於前者只按照主要程式和HTML檔案,而後者除了安裝前者的專案之外還安裝了執行級別指令碼和配置檔案。
在安裝時可以執行make命令,可以檢視一下可以使用的命令:
[root@ff pnp4nagios-0.6.17]# make Please supply a command line argument (i.e. 'make all'). Other targets are: clean install install-init install-config install-processperfdata install-html fullinstall install-plugins [root@ff pnp4nagios-0.6.17]# |
下面執行make fullinstall命令:
[root@ff pnp4nagios-0.6.17]# make fullinstall |
這個過程比較長,但是為了清楚的瞭解這個過程進行的工作,下面將會節選一些比較重要的內容:
[root@ff pnp4nagios-0.6.17]# make fullinstall cd ./src && make install make[1]: Entering directory `/root/pnp4nagios-0.6.17/src' make install-basic make[2]: Entering directory `/root/pnp4nagios-0.6.17/src' /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/bin /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/lib /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/var /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/var/perfdata /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/pnp4nagios/var/spool /usr/bin/install -c -m 754 -o nagios -g nagios npcd /usr/local/pnp4nagios/bin /usr/bin/install -c -m 754 -o nagios -g nagios npcdmod.o /usr/local/pnp4nagios/lib make[2]: Leaving directory `/root/pnp4nagios-0.6.17/src' make strip-post-install make[2]: Entering directory `/root/pnp4nagios-0.6.17/src' /usr/bin/strip /usr/local/pnp4nagios/bin/npcd /usr/bin/strip /usr/local/pnp4nagios/lib/npcdmod.o make[2]: Leaving directory `/root/pnp4nagios-0.6.17/src' make[1]: Leaving directory `/root/pnp4nagios-0.6.17/src' cd ./man && make install make[1]: Entering directory `/root/pnp4nagios-0.6.17/man' /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/man/man8 /usr/bin/install -c -m 755 -o nagios -g nagios npcd.8 /usr/local/pnp4nagios/man/man8 make[1]: Leaving directory `/root/pnp4nagios-0.6.17/man' cd ./share && make install make[1]: Entering directory `/root/pnp4nagios-0.6.17/share'
…… //省略 make[1]: Leaving directory `/root/pnp4nagios-0.6.17/lib' cd ./scripts && make install make[1]: Entering directory `/root/pnp4nagios-0.6.17/scripts' /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/var/perfdata /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/libexec /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/var/stats make install-processperfdata make[2]: Entering directory `/root/pnp4nagios-0.6.17/scripts' /usr/bin/install -c -m 755 -o nagios -g nagios process_perfdata.pl /usr/local/pnp4nagios/libexec make[2]: Leaving directory `/root/pnp4nagios-0.6.17/scripts' make install-plugins make[2]: Entering directory `/root/pnp4nagios-0.6.17/scripts' /usr/bin/install -c -m 755 -o nagios -g nagios check_pnp_rrds.pl /usr/local/pnp4nagios/libexec make[2]: Leaving directory `/root/pnp4nagios-0.6.17/scripts' make install-rrdconvert make[2]: Entering directory `/root/pnp4nagios-0.6.17/scripts' /usr/bin/install -c -m 755 -o nagios -g nagios rrd_convert.pl /usr/local/pnp4nagios/libexec make[2]: Leaving directory `/root/pnp4nagios-0.6.17/scripts' make[1]: Leaving directory `/root/pnp4nagios-0.6.17/scripts' cd ./sample-config && make install make[1]: Entering directory `/root/pnp4nagios-0.6.17/sample-config'
…… //省略 make[1]: Leaving directory `/root/pnp4nagios-0.6.17/sample-config'
*** Main program, Scripts and HTML files installed ***
Please run 'make install-webconf' to install the web configuration file
Please run 'make install-config' to install sample configuration files
Please run 'make install-init' if you want to use BULK Mode with NPCD
…… //省略 cd ./sample-config && make install-webconf make[1]: Entering directory `/root/pnp4nagios-0.6.17/sample-config' /usr/bin/install -c -m 755 -d /etc/httpd/conf.d /usr/bin/install -c -m 644 httpd.conf /etc/httpd/conf.d/pnp4nagios.conf make[1]: Leaving directory `/root/pnp4nagios-0.6.17/sample-config'
*** Apache config file installed ***
Restart your apache webserver to activete your changes.
Please run 'make install-config' to install sample configuration files
Please run 'make install-init' if you want to use BULK Mode with NPCD
…… //省略 cd ./sample-config && make install-config make[1]: Entering directory `/root/pnp4nagios-0.6.17/sample-config' /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/etc /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/etc/check_commands /usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/pnp4nagios/etc/pages /usr/bin/install -c -m 644 -o nagios -g nagios pnp/config.php /usr/local/pnp4nagios/etc/config.php.0.6.17; \ /usr/bin/install -c -m 644 -o nagios -g nagios pnp/config.php /usr/local/pnp4nagios/etc; \
make[1]: Leaving directory `/root/pnp4nagios-0.6.17/sample-config'
*** PNP4Nagios sample config files installed ***
Please run 'make install-init' if you want to use BULK Mode with NPCD
…… //省略
cd ./scripts && make install-init make[1]: Entering directory `/root/pnp4nagios-0.6.17/scripts' /usr/bin/install -c -m 755 -o root -g root -d /etc/rc.d/init.d /usr/bin/install -c -m 755 -o root -g root rc.npcd /etc/rc.d/init.d/npcd /usr/bin/install -c -m 755 -o root -g root rc.pnp_gearman_worker /etc/rc.d/init.d/pnp_gearman_worker make[1]: Leaving directory `/root/pnp4nagios-0.6.17/scripts' /usr/bin/perl summary fullinstall
*** Configuration summary for pnp4nagios-0.6.17 03-25-2012 ***
General Options: ------------------------- ------------------- Nagios user/group: nagios nagios Install directory: /usr/local/pnp4nagios HTML Dir: /usr/local/pnp4nagios/share Config Dir: /usr/local/pnp4nagios/etc Location of rrdtool binary: /usr/local/rrdtool-1.2.15/bin/rrdtool Version 1.2.15 RRDs Perl Modules: FOUND (Version 1.2015) RRDs Perl search path: /usr/local/rrdtool-1.2.15/lib/perl/5.8.5/i386-linux-thread-multi/ RRD Files stored in: /usr/local/pnp4nagios/var/perfdata process_perfdata.pl Logfile: /usr/local/pnp4nagios/var/perfdata.log Perfdata files (NPCD) stored in: /usr/local/pnp4nagios/var/spool
Web Interface Options: ------------------------- ------------------- HTML URL: http://localhost/pnp4nagios Apache Config File: /etc/httpd/conf.d/pnp4nagios.conf
*** Main program, Scripts and HTML files installed ***
Enjoy.
[root@ff pnp4nagios-0.6.17]# |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27043155/viewspace-732482/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 使用PNPNagios圖形化Nagios資料 1iOS
- 資料視覺化常用圖形都有哪些(一)視覺化
- 資料視覺化常用圖形都有哪些(二)視覺化
- 資料視覺化常用圖形都有哪些(三)視覺化
- 資料視覺化常用圖形都有哪些(四)視覺化
- 前端之圖形學-1 資料視覺化前端視覺化
- SoviChart資料視覺化:條形圖(Bar chart)視覺化
- 分形、分形幾何、資料視覺化、Python繪圖視覺化Python繪圖
- 使用Xmanager軟體遠端呼叫圖形化安裝Oracle資料庫Oracle資料庫
- 瞭解圖形資料庫資料庫
- Java圖形化:Swing表格的使用Java
- 讓資料視覺化變得簡單 – JavaScript 圖形庫視覺化JavaScript
- 圖形化升級單機oracle 11.2.0.4 到 12.2.0.1Oracle
- python資料視覺化-matplotlib入門(4)-條形圖和直方圖Python視覺化直方圖
- Nagios 快速實現資料視覺化的幾種方式iOS視覺化
- 科學計算:Python 分析資料找問題,並圖形化Python
- 第三篇:R語言資料視覺化之條形圖R語言視覺化
- 圖形化安裝OracleOracle
- iOS 圖形效能優化iOS優化
- 在QlikView中使用Neo4j處理圖形資料AUView
- Tableau——資料前處理、折線圖、餅圖(環形圖)
- Nagios資料提取和維護iOS
- 利用 Matplotlib 繪製資料圖形(一)
- 利用 Matplotlib 繪製資料圖形(二)
- 達夢資料庫圖形化作業管理資料庫
- WPF 反射載入Geometry幾何圖形資料圖示反射
- Java圖形化:JComponent元件Java元件
- Java圖形化:佈局方式Java
- iOS 圖形效能最佳化iOS
- 圖形化天氣外掛
- ffmpeg 圖形化介面工具 traGtor
- 使用css繪製圖形CSS
- 圖形資料庫Neo4J簡介資料庫
- Nagios資料庫引數配置分析iOS資料庫
- QianBase MPP資料庫:如何基於圖形化OM服務快速部署資料庫
- 圖形演算法視覺化演算法視覺化
- Laravel 5.1 載入流程 / 圖形化Laravel
- [Docker系列·5]圖形化Docker·dockeruiDockerUI