nagios flapping state 问题解决

时间 : 16-12-23 栏目 : linux运维 作者 : 老薛 评论 : 0 点击 : 1,314 次

本案例所用nagios版本为 4.1.1

nagios flapping state 问题解决

注意看那个类似云朵的图标,那个就是在提示状态抖动,也就是flapping state检测开启了。而一旦开启,就会temporarily suppres notifications。

报警延迟是由于host or service状态不稳定,nagios称之为flapping state
在nagios的主配置文件nagios.cfg中,有如下内容:
# FLAP DETECTION OPTION
# This option determines whether or not Nagios will try
# and detect hosts and services that are "flapping".  
# Flapping occurs when a host or service changes between
# states too frequently.  When Nagios detects that a 
# host or service is flapping, it will temporarily suppress
# notifications for that host/service until it stops
# flapping.  Flap detection is very experimental, so read
# the HTML documentation before enabling this feature!
# Values: 1 = enable flap detection
#         0 = disable flap detection (default)

enable_flap_detection=0#虽然文档里说默认是0,但实际为1.改为0之后就解决了flapping state,并且解决了临时suppress notifications的问题

# FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES
# Read the HTML documentation on flap detection for
# an explanation of what this option does.  This option
# has no effect if flap detection is disabled.

low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0

本文标签

除非注明,文章均为( 老薛 )原创,转载请保留链接: http://www.bdkyr.com/xtyw002/2174.html

nagios flapping state 问题解决:等您坐沙发呢!

发表评论

2 + 8 = ?


博主微信号,很高兴为您提供帮助

随便看看

为您推荐

0