偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

編譯Nagios程序

運(yùn)維 系統(tǒng)運(yùn)維
Nagios是一個(gè)可運(yùn)行在Linux/Unix平臺(tái)之上的監(jiān)視系統(tǒng),Nagios可以用來監(jiān)視系統(tǒng)運(yùn)行狀態(tài)和網(wǎng)絡(luò)信息。Nagios可以監(jiān)視所指定的本地或遠(yuǎn)程主機(jī)以及服務(wù),同時(shí)提供異常通知功能。我們來看看如何編譯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):

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

  make install

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

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

  make install-init

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

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

  make install-commandmode

  - This installs and configures permissions on the

  directory for holding the external command file

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

  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”命令將會(huì)在/usr/local/etc/這個(gè)Nagios編譯安裝的主配置路徑下安裝示例配置模板,這將對(duì)于之后的配置制定幫助很大。

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

  這些關(guān)于支持的信息就不再詳細(xì)講了

  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:

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

【編輯推薦】

 

責(zé)任編輯:趙鵬 來源: 網(wǎng)絡(luò)轉(zhuǎn)載
相關(guān)推薦

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-31 16:05:18

Redhat配置nagios

2011-08-22 12:25:02

nagios

2011-03-21 15:35:01

Nagiosnagios-plug安裝

2011-03-28 15:37:53

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系統(tǒng)

2010-05-31 12:22:13

Nagios pnp

2011-03-23 14:43:10

Nagiosnagios.cfg

2011-03-31 16:05:18

Redhat配置nagios

2011-03-23 13:32:14

配置Nagios系統(tǒng)

2022-06-09 09:20:40

Linux語言編寫代碼

2021-01-19 11:40:40

Linux代碼程序編譯
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)