Nagios 1.4 flap detection?


#1

Hi there.

I have a problem getting flap detection working through the configurations files on my nagios 1.4 installation, whneactivation flap detection using the CGI web interface its working as it should.

I’m trying to enable flap detection on one of my service templates, but it doesnt get enabled - atleast its not working.
When I press the “View Configuration” in the web interface I see that flap detection is enabled, but when I click “service detail” in the “Monitoring” session it reports that flap detection is disabled?

How can i enable flap detection in the configuration files so it is working proberply.

Heres is my conf files and an example:

nagios.cfg:
enable_flap_detection=1

services.cfg:
define service{

    name                            generic-service
    active_checks_enabled           1       
    passive_checks_enabled          0       
    parallelize_check               1       
    obsess_over_service             1       
    check_freshness                 0       
    notifications_enabled           1       
    event_handler_enabled           0     
    flap_detection_enabled          1     
    process_perf_data               1       
    retain_status_information       1       
    retain_nonstatus_information    1      
    register                        0      
    }

define service{
name jks-kunder
use generic-service
is_volatile 0
check_period 24x7
max_check_attempts 5
normal_check_interval 2
retry_check_interval 1
contact_groups jks
notification_interval 0
notification_period 24x7
notification_options w,c,r
register 0
}

define service{
use jks-kunder
host_name servername
service_description C:
check_command check_disk_1249!C !1000!600
}

Thanks in advance…