14

Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake
Page 2: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Andreas Umbreit & Konstantin BüttnerAgent Bakery

Page 3: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

Werks

Page 4: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

#8358

#8504

#8348 #8349 #8323 #8589 #8503#8328 #8509 #8646 #8502

New Feature-Werks

Page 5: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

Werk #8509Disabled sections (Windows agent)

Page 6: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

Situation before

● check_mk.ini section defining enabled section (cf. example.ini)

● Corresponding bakery rule● Default: All enabled

⇒ Disabling a section only possible by explicitly enabling all other sections

Page 7: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

Improvement: Rule „Disabled sections“

● ...it disables sections● Overrides Rule „Enabled sections“

Page 8: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

Werk #8504Custom file deployment

Page 9: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

Why?

● Local checks● Nagios plugins for use with MRPE● Custom agent plugins● ...use your imagination (responsibly)

Page 10: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

How does it work?

● Custom files stored in site underlocal/share/check_mk/agents/custom

● Create a folder for each package of custom files you want to use

● Packageable as .mkp

Page 11: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

Locations

● Control target location using subfolders● Linux:

– /bin ⟶ /usr/bin– /config ⟶ /etc/check_mk– /lib ⟶ /usr/lib/check_mk_agent– /var ⟶ /var/lib/check_mk_agent

Page 12: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

Locations

● Windows:– Everything points to the agent‘s

installation directory �

Page 13: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

Further Werks (1)

#8348 Changes in custom files are now detected and tell the user to rebake the agents

#8349 MRPE checks can now be configured via agent bakery

#8323 Optional OpenHardwareMonitor package is now bakeable

#8589 Automically create /var/lib/check_mk_agent/spool in baked agents

#4132 mk_inotify: added bakery files

Page 14: Agent Bakery - Check MK · 2020-06-10 · Check_MK Conference #3 - News in the Agent Bakery Further Werks (1) #8348 Changes in custom files are now detected and tell the user to rebake

Check_MK Conference #3 - News in the Agent Bakery

Further Werks (2)

#8502 rds_licenses: Remote desktop licenses plugin is now bakeable

#8328 Windows textfiles can now be configured with tags

#8646 cmk-update-agent: Added -V / --version tooutput the version of the plugin