监控Windows机

被监控端

安装NSClient++:

130427934.jpg

监控端
配置被监控机对应的文件:
vi /etc/nagios/objects/windows.cfg
define host{
use windows-server
host_name winserver
alias My Windows Server
address 192.168.60.6 ; 被监控机IP
}
修改nagios配置文件:
vi /etc/nagios/nagios.cfg
cfg_file=/etc/nagios/objects/windows.cfg
重启服务:
service nagios restart

你可能感兴趣的:(windows,监控)