![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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/1.jpg)
![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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/2.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/3.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/4.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/7.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/10.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/11.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/12.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/13.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042711/5f7792b4d24e2341ea7837e9/html5/thumbnails/14.jpg)
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