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

Nagios系統(tǒng)下nagios.cfg配置說明

運維 系統(tǒng)運維
Nagios系統(tǒng)下nagios.cfg配置文件說明:Nagios是一個監(jiān)視系統(tǒng)運行狀態(tài)和網(wǎng)絡(luò)信息的監(jiān)視系統(tǒng)。Nagios能監(jiān)視所指定的本地或遠程主機以及服務(wù),同時提供異常通功能等。本文講述的是Nagios系統(tǒng)下nagios.cfg配置說明。

  nagios系統(tǒng)nagios.cfg 配置說明

  1、aggregate_status_updates = <0/1> 統(tǒng)計狀態(tài)更新選項:0不更新;1更新

  2、status_update_interval= 狀態(tài)更新間隔:秒

  3、enable_notifications = <0/1> 是否通知:0不通知;1通知

  4、execute_service_checks = <0/1> 檢查服務(wù)選項:0不檢查;1檢查

  5、accept_passive_service_checks=<0/1> 是否接受被動服務(wù)檢查:0不檢查;1檢查

  6、enable_event_handlers=<0/1> 事件處理:0不檢查;1檢查

  7、log_rotation_method=

  log輪循:

  n = None (don't rotate the log - this is the default)

  h = Hourly (rotate the log at the top of each hour)

  d = Daily (rotate the log at midnight each day)

  w = Weekly (rotate the log at midnight on Saturday)

  m = Monthly (rotate the log at midnight on the last day of the month)

  8、check_external_commands=<0/1>

  9、service_check_timeout = 如果服務(wù)檢查時間超過了所定義的時間,顯示CRITICAL狀態(tài)。

  10、host_check_timeout= 如果主機檢查時間超過了所定義的時間,顯示CRITICAL狀態(tài)。

  11、event_handler_timeout= 事件處理最長時間,超出后Warning記錄到log中。

  12、process_performance_data=<0/1> 性能監(jiān)測選項:0不檢查;1檢查

  13、check_service_freshness=<0/1> 刷新服務(wù)選項:0不檢查;1檢查

  14、illegal_object_name_chars= 不規(guī)范定義字符

  一、主要包括的定義文件有: Services、Hosts、Host Groups、Contacts、Contact Groups、Commands、Time Periods、Service Escalations、Service Dependencies、Host Escalations、Host Dependencies、Hostgroup Escalations

  1.CGI.cfg

  1)、main_config_file=/usr/local/nagios/etc/nagios.cfg Nagios主配置文件

  2)、physical_html_path=/usr/local/nagios/share web頁面所在路徑

  3)、use_authentication=<0/1> 用戶驗證選項:0不驗證;1驗證

  2.配置驗證

  1)、vi httpd.conf,添加下面的內(nèi)容到httpd.conf文件中

  1.   AllowOverride AuthConfig  
  2.  
  3.   order allow,deny  
  4.  
  5.   allow from all  
  6.  
  7.   Options ExecCGI  
  8.  

  2)、如果還需要對html頁面也進行驗證,需要vi httpd.conf,添加下面的內(nèi)容

  1.   AllowOverride AuthConfig  
  2.  
  3.   order allow,deny  
  4.  
  5.   allow from all  
  6.  

  3)、然后在cgi所在目錄新增.htaccess文件,文件內(nèi)容見下面

  1.   AuthName "Nagios Access"  
  2.  
  3.   AuthType Basic  
  4.  
  5.   AuthUserFile /usr/local/nagios/etc/htpasswd.users  
  6.  
  7.   require valid-user  
  8.  

  4)、設(shè)置驗證用戶賬號

  1.   htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin  
  2.  

  5)、默認權(quán)限

【編輯推薦】

Nagios飛信linux短信報警腳本配置

Nagios安裝記錄

如何用Nagios監(jiān)控遠程系統(tǒng)

責(zé)任編輯:zhaolei 來源: mblogger
相關(guān)推薦

2011-04-01 16:30:49

Nagios

2011-03-21 11:14:22

LinuxNagios

2011-03-22 13:37:29

Nagios安裝

2011-08-22 12:25:02

nagios

2011-03-31 16:05:18

Redhat配置nagios

2011-03-31 15:31:06

Redhat配置nagios

2010-05-31 11:10:37

Nagios pnp

2011-03-21 09:17:06

Nagios

2011-03-25 15:37:17

Solarisnagios

2011-03-21 15:42:14

LinuxNagios

2011-03-25 16:49:33

nagios服務(wù)

2011-11-08 21:58:01

Nagios 配置 流

2011-03-25 10:37:17

2014-08-06 15:25:36

LinuxNagios

2011-03-31 16:05:18

Redhat配置nagios

2010-05-31 12:22:13

Nagios pnp

2010-05-31 10:22:31

Nagios pnp

2011-03-28 15:22:00

nagios

2011-03-22 10:10:21

Nagios配置

2013-06-08 16:55:22

Nagios
點贊
收藏

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