I have a problem with the behavior of passive checks in Check_MK 1.2.6p16.
I would like to configure a certain type of passive check, that is collected via a plugin (Batch file) from a monitored Windows Server 2012 R2 host, to retry a failed plugin (reached timeout for example) only at a given interval (5 minutes) and only a defined number of times (2 times maximum).
I have already tried to set the “Retry check interval for service checks” and “Maximum number of check attempts for Service” via WATO, only to find out, that the retry interval only applies to active checks. The maxmimum number of check attempts seems to be ignored too. I get intsantly alerted as soon as one of the plugins on the monitored host has a timeout. I would expect that it at least tries to run the plugin two times after the first fail before alerting but that doesn’t happen.
My check_mk.ini on the Windows Server Looks like this:
[global] async_script_execution = sequential [plugins] execution check*.bat = async timeout check*.bat = 90 cache_age check*.bat = 1800 retry_count check*.bat = 2
I also thought the retry_count would Change some behavior, but also was ignored. Or do I just assume wrong and that Setting does not Impact the retry behavior? I’m a Little confused here .
By the way all the other settings in the check_mk.ini are working perfectly.
Monitoring Host: Debian 8.4, Check_MK 1.2.6p16
Monitored Client: Windows Server 2012 R2, 1.2.6p16 (Agent Version)
I hope someone can help me out.
Thanks in advance.