1. Unable to send message alert message when service flapping status
[1409537279] SERVICE alert:rs-07; Memory; CRITICAL; hard;2; Connection refused by host
[1409537279] SERVICE flapping alert:rs-07; Memory; STARTED; Service appears to has started flapping (28.2% change >= 20.0% threshold)
2. Reason: The flap_detection_enabled parameter function, when the service between the two states frequently switching, in order to avoid the constant sending of alarms, this parameter is used to suppress the alarm
Define Service{
Name Generic-service
Active_checks_enabled 1
Passive_checks_enabled 1
Parallelize_check 1
Obsess_over_service 1
Check_freshness 0
Notifications_enabled 1
Event_handler_enabled 1
Flap_detection_enabled 0 <--suppresses triggered monitoring alarms when the service is switched directly in multiple states. Make it non-effective
Failure_prediction_enabled 1
Process_perf_data 1
Retain_status_information 1
Retain_nonstatus_information 1
Is_volatile 0
Check_period 24x7
Max_check_attempts 3
Normal_check_interval 10
Retry_check_interval 2
Contact_groups Admins
Notification_options W,u,c,r
Notification_interval 60
Notification_period 24x7
Register 0
}
This article is from the "8764300" blog, please be sure to keep this source http://8774300.blog.51cto.com/8764300/1547319
Unable to send message alert message when Nagios monitoring service appears flapping status