Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.23.0P1


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

...

Note

We recommend using only one of these rules. With the "enabled" “enabled” rule, you can define a set of sections that should be enabled by the agent directly. In such a case you want to disable a section, e.g., Windows counter, due to long-running WMI commands, you should use the disabled rule, or you deselect this entry in the enabled rule.

...

You will need two disabled sections rules:

  • Rule (top rule)
    This rule, without selecting any section, enables the Windows Event Log on specific systems.

  • Rule (the very last rule, if you have more rules)
    Here, you select only the Windows Event Logs. This is your default rule to disable the Log Section globally.


Disabled Sections (Windows agent)Image Modified


After you have configured the rules, don't forget to bake the agent and install it on the Windows host. Without this, the rules configured here do not apply.

If you want to check the configuration on the Windows host (might be useful for troubleshooting), the disabled sections configuration is written here: C:\ProgramData\checkmk\agent\bakery

Image Added


And the file looks like this:

Code Block
languagebash
themeRDark
# Created by Check_MK Agent Bakery.
# This file is managed via WATO, do not edit manually or you
# lose your changes next time when you update the agent.

global:
	disabled_sections: []
	enabled: true
	install: true
	port: 6556


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "bakery" , "windows" , "agent_bakery" ) and type = "page" and space = "KB"
labelswindows bakery

...