[Release] Checkmk stable release 2.1.0p8

Dear friends of Checkmk,

the new stable release 2.1.0p8 of Checkmk is ready for download.

This maintenance release ships with 5 changes affecting all editions of Checkmk,
3 Enterprise Edition specific changes and 0 Managed Services Edition specific changes.

Support periods can be found here: Checkmk versions

Changes in all Checkmk Editions:

Checks & agents:

  • 14601 FIX: iis_app_pool_state: Fix service description formatting
    NOTE: Please refer to the migration notes!

Notifications:

  • 14286 FIX: mail: Add timeout to graph processing of HTML mail notifications

Other components:

  • 14283 FIX: NagVis: Fix broken gadgets in Checkmk 2.1

Site management:

  • 14543 FIX: Make ssh command work as site user on SUSE Linux Enterprise Server 15 SP3

User interface:

  • 14166 FIX: Small speedup when loading views/dashboards

Changes in the Checkmk Enterprise Edition:

Agent bakery:

  • 14602 FIX: cmk-update-agent: Use configured var directory

Core & setup:

  • 14285 FIX: Fix frozen Microcore (Livestatus not responding) during config reloads

Notifications:

  • 14284 FIX: Notification spooler: Fix producing corrupted spool files

Changes in the Checkmk Managed Services Edition:

You can download Checkmk from our download page:

Please mail bug reports and qualified feedback to feedback@checkmk.com.
We greatly thank you for using Checkmk and wish you a successful monitoring,

Your Checkmk Team

1 Like

Hi,
ich bekomme beim Update von p5 auf p8 nun folgenden Fehler:

Traceback (most recent call last):
  File "/omd/versions/2.1.0p8.cee/bin/omd", line 63, in <module>
    omdlib.main.main()
  File "/omd/versions/2.1.0p8.cee/lib/python3/omdlib/main.py", line 4665, in main
    command.handler(version_info, site, global_opts, args, command_options)
  File "/omd/versions/2.1.0p8.cee/lib/python3/omdlib/main.py", line 2726, in main_update
    not is_apache_hook_up_to_date(site)
  File "/omd/versions/2.1.0p8.cee/lib/python3/omdlib/system_apache.py", line 72, in is_apache_hook_up_to_date
    with open(os.path.join(omdlib.utils.omd_base_path(), "omd/apache/%s.conf" % site.name)) as f:
PermissionError: [Errno 13] Permission denied: '/omd/apache/checkmk_test.conf'

Woran liegt das? bzw. ist das ein Bug? @robin.gierse
VG
Christian

seems like maybe Fix local privilege escalation from site users is not a compatible change in all cases?

The files located here /omd/apache are readable only by root and the group. The site user cannot access them. But I don’t know if this is a general bug or if it could be because of our umask (0027)?!
Is it enough to just give the files o+r or is there more to change?

edit:
after chmod o+r to the related file, the update procedure was successful.

After update do 2.1.0p8 there is error when clicking Check_MK Discovery → Parametar for this servise

Traceback:

  File "/omd/sites/XXX/lib/python3/cmk/gui/wsgi/applications/checkmk.py", line 241, in _process_request
    resp = page_handler()
  File "/omd/sites/XXX/lib/python3/cmk/gui/wsgi/applications/utils.py", line 56, in _call_auth
    func()
  File "/omd/sites/XXX/lib/python3/cmk/gui/pages.py", line 195, in <lambda>
    return (lambda hc: lambda: hc().handle_page())(handle_class)
  File "/omd/sites/XXX/lib/python3/cmk/gui/pages.py", line 48, in handle_page
    self.page()
  File "/omd/sites/XXX/lib/python3/cmk/gui/pages.py", line 165, in <lambda>
    "page": lambda self: self._wrapped_callable[0](),
  File "/omd/sites/XXX/lib/python3/cmk/gui/wato/page_handler.py", line 95, in page_handler
    _wato_page_handler(current_mode, mode_permissions, mode_class)
  File "/omd/sites/XXX/lib/python3/cmk/gui/wato/page_handler.py", line 172, in _wato_page_handler
    mode.handle_page()
  File "/omd/sites/XXX/lib/python3/cmk/gui/plugins/wato/utils/base_modes.py", line 152, in handle_page
    return self.page()
  File "/omd/sites/XXX/lib/python3/cmk/gui/wato/pages/object_parameters.py", line 110, in page
    service_result = self._show_service_info(all_rulesets=all_rulesets)
  File "/omd/sites/XXX/lib/python3/cmk/gui/wato/pages/object_parameters.py", line 167, in _show_service_info
    origin = serviceinfo["origin"]

Local Variables

{'all_rulesets': <cmk.gui.watolib.rulesets.AllRulesets object at 0x7f76fc0663a0>,
 'self': <cmk.gui.wato.pages.object_parameters.ModeObjectParameters object at 0x7f76ff4d0520>,
 'service_result': AnalyseServiceResult(service_info={'labels': {}, 'label_sources': {}}),
 'serviceinfo': {'label_sources': {}, 'labels': {}}}

I can confirm the error. It occurs when I click on “Parameters for this Service” for the “Check_MK” service of e.g. a linux host.

1 Like

Could all of you facing this “parameter of the service” error execute “omd update-apache-config [SITENAME]” like mentioned in Fix local privilege escalation from site users please. In my case error has been “fixed” by this.

Devs are informed to make the werk incompatible…

1 Like

Hi @MarsellusWallace,

[root@cmk1 apache]# omd update-apache-config daily
Reloading Apache...OK
[root@cmk1 apache]# omd update-apache-config daily_slave1
Reloading Apache...OK

Then I’ve restartet every site and also the systems httpd. But I’ve still the error message:

Kind regards
Christian

Here is my Crash Report as Screenshots:

Hi, the issue with “Parameters for this service has been fixed”: https://checkmk.com/werk/14546
The fix will be released with the next patch release.

2 Likes

Das sieht aus, als wäre da eine Datei abgelegt, die nicht zu Checkmk gehört. Kann das sein?
Ansonsten gab es schon die richtigen Hinweise, würde ich sagen.

Hi @robin.gierse ,
this issue was already solved by myself and there is a werk which adresses this:

Thank you!
Christian

1 Like