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客户端很好配置,快去配置一个吧!
【编辑推荐】