自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

編譯Nagios程序

運維 系統運維
Nagios是一個可運行在Linux/Unix平臺之上的監(jiān)視系統,Nagios可以用來監(jiān)視系統運行狀態(tài)和網絡信息。Nagios可以監(jiān)視所指定的本地或遠程主機以及服務,同時提供異常通知功能。我們來看看如何編譯Nagios主程序。

編譯Nagios程序的過程如下:

  編譯Nagios主程序

  [root@KCentOS5C nagios-2.9]# make all

  Nagios主程序編譯成功后將返回信息

  -----------------------------------------------------

  *** Compile finished ***

  If the main program and CGIs compiled without any errors, you

  can continue with installing Nagios as follows (type 'make'

  without any arguments for a list of all possible options):

  如果在編譯當中沒有發(fā)生錯誤的話,那么可以照以下這些命令繼續(xù)操作。

  make install

  - This installs the main program, CGIs, and HTML files

  執(zhí)行“make install”命令來對主程序,CGI以及HTML網頁進行安裝。

  make install-init

  - This installs the init script in /etc/rc.d/init.d

  執(zhí)行“install-init”命令來在/etc/rc.d/init.d/目錄中安裝啟動腳本。

  make install-commandmode

  - This installs and configures permissions on the

  directory for holding the external command file

  執(zhí)行“install-commandmode”命令來安裝和配置外部命令對Nagios主路徑操作的權限。(這里所謂的外部命令主要是指Apache服務通過CGI來對Nagios的進行的操作。用戶將通過Web以執(zhí)行CGI程序腳本的方式來對Nagios的檢測結果進行讀取和調用。)

  make install-config

  - This installs *SAMPLE* config files in /usr/local/nagios/etc

  You'll have to modify these sample files before you can

  use Nagios. Read the HTML documentation for more info

  on doing this. Pay particular attention to the docs on

  object configuration files, as they determine what/how

  things get monitored!

  執(zhí)行“make install-config”命令將會在/usr/local/etc/這個Nagios編譯安裝的主配置路徑下安裝示例配置模板,這將對于之后的配置制定幫助很大。

  *** Support Notes *******************************************

  這些關于支持的信息就不再詳細講了

  If you have questions about configuring or running Nagios,

  please make sure that you:

  - Look at the sample config files

  - Read the HTML documentation

  - Read the FAQs online at

  http://www.nagios.org/faqs

  before you post a question to one of the mailing lists.

  Also make sure to include pertinent information that could

  help others help you. This might include:

  - What version of Nagios you are using

  - What version of the plugins you are using

  - Relevant snippets from your config files

  - Relevant error messages from the Nagios log file

  For more information on obtaining support for Nagios, visit:

通過文章的強力描述,我們終于明白了編譯Nagios程序的全過程!希望大家喜歡!

【編輯推薦】

 

責任編輯:趙鵬 來源: 網絡轉載
相關推薦

2011-03-25 17:20:37

NagiosApache

2011-03-22 13:28:00

Nagios安裝

2011-03-23 10:17:24

2011-03-25 12:50:29

nagios安裝

2011-03-22 14:16:17

Nagios安裝

2011-03-21 15:35:01

Nagiosnagios-plug安裝

2011-03-31 16:05:18

Redhat配置nagios

2011-08-22 12:25:02

nagios

2009-07-09 10:05:55

2011-05-31 14:38:04

Android 反編譯

2022-05-18 07:58:21

Linux程序編譯代碼

2011-03-21 11:14:22

LinuxNagios

2011-03-23 13:44:23

配置Nagios系統

2011-03-28 15:37:53

nagios作用

2011-03-23 14:43:10

Nagiosnagios.cfg

2011-03-23 13:32:14

配置Nagios系統

2010-05-31 12:22:13

Nagios pnp

2011-03-31 16:05:18

Redhat配置nagios

2010-05-31 11:10:37

Nagios pnp

2011-03-24 10:08:39

Nagios監(jiān)控oracle
點贊
收藏

51CTO技術棧公眾號