Announcement

Collapse
No announcement yet.

Host freshness checks are not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Host freshness checks are not working

    Hi,

    In my centreon configuration I have both passive hosts and passive services, but the freshness checks of my passive hosts is are not working at all, while the freshness checks of my passive services are fully working. I searched a lot and I dont understand why.

    I'm logging in full debug and I didn't find any trace of host freshness check in my logs.

    The host freshness checks are enabled system wide and on my host template.

    I have and up to date centreon installation : centreon 2.5.4, engine 1.4.8, broker 2.7.0 and clib 1.4.2

    Do you have an idea of things I can do to try to sort this out ?

    Thanks !

    Here are the .cfg for my host :

    Template :
    Code:
    define host {    
        name                template_of_my_host
        alias                template_of_my_host
        check_command            check_centreon_dummy!2!DOWN
        max_check_attempts            1
        check_interval            1
        retry_interval            1
        active_checks_enabled        0
        passive_checks_enabled        1
        check_period            24x7
        obsess_over_host            0
        check_freshness            1
        freshness_threshold        600
        low_flap_threshold            2
        high_flap_threshold        50
        flap_detection_enabled        1
        process_perf_data            1
        contacts                sysadmin
        notification_interval        5
        first_notification_delay        1
        notification_period        24x7
        notification_options        d,u,r,f,s
        notifications_enabled        1
        stalking_options            d,u
        register                0
    }
    Host :
    Code:
    define host {    
        host_name                my_host
        use                template_of_my_host
        alias                my_host
        address                none
        _HOST_ID                40
        hostgroups            my_host_group
    }
    centengine.cfg
    Code:
    cfg_file=/etc/centreon-engine/hostTemplates.cfg
    cfg_file=/etc/centreon-engine/hosts.cfg
    cfg_file=/etc/centreon-engine/serviceTemplates.cfg
    cfg_file=/etc/centreon-engine/services.cfg
    cfg_file=/etc/centreon-engine/misccommands.cfg
    cfg_file=/etc/centreon-engine/checkcommands.cfg
    cfg_file=/etc/centreon-engine/contactgroups.cfg
    cfg_file=/etc/centreon-engine/contactTemplates.cfg
    cfg_file=/etc/centreon-engine/contacts.cfg
    cfg_file=/etc/centreon-engine/hostgroups.cfg
    cfg_file=/etc/centreon-engine/servicegroups.cfg
    cfg_file=/etc/centreon-engine/timeperiods.cfg
    cfg_file=/etc/centreon-engine/escalations.cfg
    cfg_file=/etc/centreon-engine/dependencies.cfg
    cfg_file=/etc/centreon-engine/connectors.cfg
    cfg_file=/etc/centreon-engine/meta_commands.cfg
    cfg_file=/etc/centreon-engine/meta_contact.cfg
    cfg_file=/etc/centreon-engine/meta_contactgroup.cfg
    cfg_file=/etc/centreon-engine/meta_dependencies.cfg
    cfg_file=/etc/centreon-engine/meta_escalations.cfg
    cfg_file=/etc/centreon-engine/meta_host.cfg
    cfg_file=/etc/centreon-engine/meta_hostgroup.cfg
    cfg_file=/etc/centreon-engine/meta_services.cfg
    cfg_file=/etc/centreon-engine/meta_timeperiod.cfg
    resource_file=/etc/centreon-engine/resource.cfg
    log_file=/var/log/centreon-engine/centengine.log
    status_file=/var/log/centreon-engine/status.dat
    command_check_interval=15s
    command_file=/var/lib/centreon-engine/rw/centengine.cmd
    retain_state_information=1
    state_retention_file=/var/log/centreon-engine/retention.dat
    retention_update_interval=60
    log_initial_states=1
    sleep_time=1
    service_inter_check_delay_method=s
    service_interleave_factor=2
    max_concurrent_checks=200
    max_service_check_spread=5
    check_result_reaper_frequency=5
    interval_length=60
    use_aggressive_host_checking=0
    low_service_flap_threshold=25.0
    high_service_flap_threshold=50.0
    low_host_flap_threshold=25.0
    high_host_flap_threshold=50.0
    service_check_timeout=60
    host_check_timeout=10
    event_handler_timeout=30
    notification_timeout=30
    ocsp_timeout=5
    ochp_timeout=5
    perfdata_timeout=5
    service_perfdata_command=process-service-perfdata
    check_host_freshness=1
    host_freshness_check_interval=600
    date_format=euro
    illegal_object_name_chars=~!$%^&*"|'<>?,()=
    illegal_macro_output_chars=`~$^&"|'<>
    [email protected]
    admin_pager=adminpager
    event_broker_options=-1
    passive_host_checks_are_soft=0
    additional_freshness_latency=20
    debug_file=/var/log/centreon-engine/centengine.debug
    debug_level=-1
    debug_verbosity=2
    max_debug_file_size=100000000
    daemon_dumps_core=0
    broker_module=/usr/lib/centreon-engine/externalcmd.so
    broker_module=/usr/lib/nagios/cbmod.so /etc/centreon-broker/central-module.xml
Working...
X