Page 1 of 1

check freshness not working

Posted: Wed Jan 29, 2014 11:45 am
by BanditBBS
On my template xiwizard_snmptrap_service I set check freshness to ON and 600 seconds. I have check_dummy set as command and 0 and "Trap reset" for the arguments as shown here:

Code: Select all

define service {
       name                                     xiwizard_snmptrap_service
       service_description                      SNMP Traps
       use                                      xiwizard_generic_service
       check_command                            check_dummy!0!"TRAP RESET"!!!!!!
       is_volatile                              1
       initial_state                            o
       max_check_attempts                       1
       active_checks_enabled                    0
       passive_checks_enabled                   1
       check_period                             xi_timeperiod_24x7
       check_freshness                          1
       freshness_threshold                      600
       flap_detection_enabled                   0
       notification_period                      xi_timeperiod_24x7
       notification_options                     w,c,
       stalking_options                         o,w,c,u,
       icon_image                               snmptrap.png
       register                                 0

}
All my trap services are set to use that template, but for some reason the freshness check is not happening. I swear it used to but as of 2 days ago it seems to have stopped.

Re: check freshness not working

Posted: Wed Jan 29, 2014 12:49 pm
by lmiltchev
All my trap services are set to use that template, but for some reason the freshness check is not happening. I swear it used to but as of 2 days ago it seems to have stopped.
The config file looks fine. Have you made any changes to the system for the last 2 days? Are you having issues with a particular check or all of the passive checks?

Re: check freshness not working

Posted: Wed Jan 29, 2014 12:52 pm
by BanditBBS
You know what....I just made a change and applied the config and now the freshness all seems OK. So some counter or something must have been messed up. All seems fine now.

Re: check freshness not working

Posted: Wed Jan 29, 2014 1:32 pm
by lmiltchev
Great! I am locking this topic then.