Check_mk windows agent plugin run frequency
Zmena ako casto sa ma spustat plugin vo windows.
Nastavenie platne pre check_mk agent 1.6
Config: C:\ProgramData\checkmk\agent\chck_mk.user.yml
Priklad pre veeam:
plugins:
enabled: yes
execution:
- pattern: $CUSTOM_PLUGINS_PATH$\veeam_backup_status.ps1
async: yes
timeout: 120
cache_age: 300
retry_count: 2
cache_age: 300 – urcije cas ako casto sa bude robit spustane daneho pluginu agentom.
Option | Settings | Description |
---|---|---|
pattern | ‚@user\*.ps1‘ | Sets the ranges of the following options. Here you can also work with wildcards. The options below will then apply to all plug-ins that match the expression. It is determined upfront whether the plug-in should be executed directly from the installation directory or from the data directory. |
run | yes/no | Determines whether the execution of a plug-in should be suppressed. |
async | yes/no | Executes a plug-in asynchronously and stores the data in a file. With synchronous execution, the output is passed directly to the agent. |
timeout | 60 | Sets the maximum execution time – if this is exceeded the plug-in is terminated, even if no output has been produced. The default value orients itself to the agent’s default query interval. |
cache_age | 60 | Specifies in seconds how long an output is valid. If async is activated, a cache of ??? seconds is automatically created. |
retry_count | 1 | The number of times a plug-in can fail before discarding its output from the cache. |
description | ‘Text’ | Here you can enter a free text/comment to be added to the logs. |
DOC:
https://checkmk.com/cms_agent_windows.html