Nagios監控Windows客戶端
作者:舜東
Nagios是Linux/Unix操作系統上的監視系統,很強大很好用,光在那兩個系統運行也不是問題,來轉到Windows系統。Nagios監控Windows客戶端很好實現。
Nagios監控Windows客戶端具體流程如下:
圖-Nagios
對與Nagios監控服務器不需要什么其它的配置,寫services.cfg即可。
以下是我監控公司一臺Windows 2003 Server的配置:
- define service {
- host_name Web-Server
- service_description Check-Memory
- check_period 24x7
- max_check_attempts 4
- normal_check_interval 3
- retry_check_interval 2
- contact_groups sagroup
- notification_interval 10
- notification_period 24x7
- notification_options w,u,c,r
- check_command check_nt!MEMUSE!-w 80 -c 90
- }
- define service {
- host_name Web-Server
- service_description Check-Disk-C
- check_period 24x7
- max_check_attempts 4
- normal_check_interval 3
- retry_check_interval 2
- contact_groups sagroup
- notification_interval 10
- notification_period 24x7
- notification_options w,u,c,r
- check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
- }
- define service {
- host_name Web-Server
- service_description Check-Disk-D
- check_period 24x7
- max_check_attempts 4
- normal_check_interval 3
- retry_check_interval 2
- contact_groups sagroup
- notification_interval 10
- notification_period 24x7
- notification_options w,u,c,r
- check_command check_nt!USEDDISKSPACE!-l d -w 80 -c 90
- }
通過文章的描述,我們發現Nagios監控Windows客戶端很好配置,快去配置一個吧!
【編輯推薦】
責任編輯:趙鵬
來源:
網絡轉載