Nagios监控Windows客户端


Nagios监控Windows客户端具体流程如下:

Nagios 

图-Nagios

对与Nagios监控服务器不需要什么其它的配置,写services.cfg即可。

以下是我监控公司一台Windows 2003 Server的配置:

  1.  define service {  
  2.  
  3. host_name Web-Server  
  4.  
  5. service_description Check-Memory  
  6.  
  7. check_period 24x7  
  8.  
  9. max_check_attempts 4  
  10.  
  11. normal_check_interval 3  
  12.  
  13. retry_check_interval 2  
  14.  
  15. contact_groups sagroup  
  16.  
  17. notification_interval 10  
  18.  
  19. notification_period 24x7  
  20.  
  21. notification_options w,u,c,r  
  22.  
  23. check_command check_nt!MEMUSE!-w 80 -c 90  
  24.  
  25. }  
  26.  

  1. define service {  
  2.  
  3. host_name Web-Server  
  4.  
  5. service_description Check-Disk-C  
  6.  
  7. check_period 24x7  
  8.  
  9. max_check_attempts 4  
  10.  
  11. normal_check_interval 3  
  12.  
  13. retry_check_interval 2  
  14.  
  15. contact_groups sagroup  
  16.  
  17. notification_interval 10  
  18.  
  19. notification_period 24x7  
  20.  
  21. notification_options w,u,c,r  
  22.  
  23. check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90  
  24.  
  25. }  
  26.  

  1. define service {  
  2.  
  3. host_name Web-Server  
  4.  
  5. service_description Check-Disk-D  
  6.  
  7. check_period 24x7  
  8.  
  9. max_check_attempts 4  
  10.  
  11. normal_check_interval 3  
  12.  
  13. retry_check_interval 2  
  14.  
  15. contact_groups sagroup  
  16.  
  17. notification_interval 10  
  18.  
  19. notification_period 24x7  
  20.  
  21. notification_options w,u,c,r  
  22.  
  23. check_command check_nt!USEDDISKSPACE!-l d -w 80 -c 90  
  24.  
  25. }  
  26.  

通过文章的描述,我们发现Nagios监控Windows客户端很好配置,快去配置一个吧!

相关内容