nagios hosts显示时有时无???

sh/bash/dash/ksh/zsh等Shell脚本
回复
381265330
帖子: 38
注册时间: 2008-05-25 15:52
送出感谢: 0
接收感谢: 0

nagios hosts显示时有时无???

#1

帖子 381265330 » 2010-12-28 11:21

我要监控的是局域网内的几台电脑和两台linux服务器,windown的主机在hosts显示时有时无,对应的服务显示也时有时无,hosts监控的主机只显示部分,过会又能全显示,没太windown的配置基本相同,这是其中以台的配置文件:
define host{
use windows-server ; Inherit default values from a template
host_name tom ; The name we're giving to this host
alias tom-pc ; A longer name associated with the host
# address 192.168.1.65 ; IP address of the host /*因为是动态分配ip所有我把address去掉了*/
check_command check-host-alive
max_check_attempts 10
notification_interval 15
notification_period 24x7
notification_options d,r,u
contact_groups admins
}

define service{
use generic-service
host_name tom
service_description NSClient++ Version
check_command check_nt!CLIENTVERSION
}

define service{
use generic-service
host_name tom
service_description CPU Load
check_command check_nt!CPULOAD!-l 5,80,90
}
/其他的配置基本类似只是改了 host_name ,谁帮忙看下问题出在哪,谢了????
回复

回到 “Shell脚本”