Run windows_updates.vbs on Check_MK 1.5.0p11

I copied the plugin (VBS) in the folder C:\Program Files (x86)\check_mk\plugins
But the scripted is litterly doing nothing. Also restarted the check_mk service on the client.
What piece is missing there?

my check_mk.ini

[global]
only_from = XXX.XX.XX.XXX


[logwatch]
logfile * = off


[plugins]
    # example: the windows_updates.vbs
    # plugin is executed asynchronous
    # and is only updated every 3600 seconds
    # it may fail (timeout / error) up to 3 times before the last known data is discarded
    execution windows_updates.vbs = async
    timeout windows_updates.vbs = 120
    cache_age windows_updates.vbs = 3600
    retry_count windows_updates.vbs = 3

Someone wrote in another thread that the automatic updates have to be enable so that it is possible to run the script but I can not see something in the script that is checking this condition.

The timeout setting should be way higher.
Try to use the settings.

timeout windows_updates.vbs = 3600
cache_age windows_updates.vbs = 90000

This works on more than 10k hosts in my systems without any problem.

2 Likes

I applied the changes and restarted the check_mk service on the client. But still after an hour there is not appearing a new service at the host. Seems that the check_mk server dont get any data from the plugin.

Can you take a look at the cached agent output inside your monitoring machine “/omd/sites/#sitename#/tmp/check_mk/cache/hostname” ?
Near the end of this file you should find something with “windows_updates”.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.