修改 nagios check_load告警阀值

客户端配置

  • vi /etc/nagios/nrpe.cfg 

# 修改下面配置-w和-c值
# command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,8 -c 30,25,20

  • service nrpe restart

服务端配置

  • 配置Service,我这里配置的是设备组,名字为”adam“
define service{
  use generic-service
  hostgroup_name adam
  service_description Current Load
check_command check_nrpe!check_load
}

  • service nagios restart (client端nrpe服务需要重启)

-- heipark

猜你喜欢

转载自heipark.iteye.com/blog/1340190