Werk #5925: Use 10 min default timeout for Windows updates plugin

KomponenteChecks & Agents
TitelUse 10 min default timeout for Windows updates plugin
Datum2018-05-09 12:53:10
Check_MK EditionCheck_MK Enterprise Edition (CEE)
Check_MK Version1.6.0i1,1.5.0b3
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

The plugin windows_updates.vbs has the tendency of running quite long. The default execution timeout of 60s for Windows plugins is in most cases not enough, resulting in the plugin being started every time the Windows agent is contacted and always timing out after 60s without delivering results. At its worst the plugin may cause high CPU load repeated every minute.

Most users of windows_updates.vbs have been forced to configure a timeout rule for the plugin in Agent Bakery. To simplify this process, Agent Bakery now delivers windows_updates.vbs with a preconfigured timeout of 10 minutes that should be enough for most users. The already existing defaults for async execution and cache_age of 4 hours were preserved.