Files
Ansible/roles/checkmk_configure_agent/templates/windows_plugins_section.yml.j2
T
2026-09-22 19:23:17 +02:00

73 lines
2.7 KiB
Django/Jinja

# AIM managed section: plugins (checkmk_configure_agent). Content under plugins: may be replaced by AIM.
plugins:
execution:
{% if checkmk_extra_plugin_patterns | length %}
{{ checkmk_extra_plugin_patterns | to_nice_yaml(indent=2, sort_keys=false) | indent(4, true) }}
{% endif %}
- pattern: '$BUILTIN_PLUGINS_PATH$\windows_updates.vbs'
run: true
async: true
timeout: {{ checkmk_windows_updates_timeout | int }}
cache_age: {{ checkmk_windows_updates_cache | int }}
retry_count: 0
- pattern: '$BUILTIN_PLUGINS_PATH$\mk_inventory.vbs'
run: true
async: true
timeout: {{ checkmk_mk_inventory_timeout | int }}
cache_age: 3600
- pattern: '$BUILTIN_PLUGINS_PATH$\mssql.vbs'
run: true
timeout: {{ checkmk_plugins_default_timeout | int }}
{% if has_veeam_vbo | default(false) %}
- pattern: '$CUSTOM_PLUGINS_PATH$\veeam_o365_status.ps1'
run: true
async: true
timeout: {{ checkmk_plugins_default_timeout | int }}
cache_age: {{ checkmk_plugins_default_cache | int }}
{% endif %}
{% if want_windows_citrix | default(false) %}
- pattern: '$CUSTOM_PLUGINS_PATH$\citrix_sessions_customized.ps1'
run: true
async: true
timeout: {{ checkmk_plugins_default_timeout | int }}
cache_age: {{ checkmk_plugins_default_cache | int }}
{% endif %}
{% if want_windows_veeam_backup | default(false) %}
- pattern: '$CUSTOM_PLUGINS_PATH$\veeam_backup_status.ps1'
run: true
async: true
timeout: {{ checkmk_plugins_default_timeout | int }}
cache_age: {{ checkmk_plugins_default_cache | int }}
{% endif %}
{% if is_dc | default(false) %}
- pattern: '$BUILTIN_PLUGINS_PATH$\ad_replication.bat'
run: true
timeout: {{ checkmk_plugins_default_timeout | int }}
{% endif %}
{% if is_dhcp_server | default(false) %}
- pattern: '$BUILTIN_PLUGINS_PATH$\win_dhcp_pools.bat'
run: true
timeout: {{ checkmk_plugins_default_timeout | int }}
{% endif %}
{% if is_hyperv_host | default(false) %}
- pattern: '$BUILTIN_PLUGINS_PATH$\hyperv_vms.ps1'
run: true
timeout: {{ checkmk_plugins_default_timeout | int }}
- pattern: '$BUILTIN_PLUGINS_PATH$\hyperv_vms_guestinfos.ps1'
run: true
timeout: {{ checkmk_plugins_default_timeout | int }}
{% endif %}
- pattern: '$CUSTOM_PLUGINS_PATH$\*.ps1'
run: true
async: true
timeout: {{ checkmk_plugins_default_timeout | int }}
cache_age: {{ checkmk_plugins_default_cache | int }}
- pattern: '$CUSTOM_PLUGINS_PATH$\*.*'
run: true
timeout: {{ checkmk_plugins_default_timeout | int }}
- pattern: '$BUILTIN_PLUGINS_PATH$\*.*'
run: false
timeout: {{ checkmk_plugins_default_timeout | int }}
- pattern: '*'
run: false