We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #7172: Fix automatic agent updates on Solaris

ComponentAgent Bakery
TitleFix automatic agent updates on Solaris
Date2019-10-16 14:09:26
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.6.0p5,1.7.0i1,1.5.0p23
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

This werk fixes the following bug:

Automatic agent updates are failing on Solaris. The agent updater will remove the old agent package and fail to install the newly downloaded package, leaving the Checkmk agent uninstalled. Along with some further information, you can find the message

pkgadd: ERROR: unable to determine the current working directory, errno=2
at /var/lib/check_mk_agent/cmk-update-agent.log. This only affects automatic updates, i.e. cmk-update-agent is invoked as a plugin. Manually triggered updates are not affected by this bug.

Providing that the agent didn't get uninstalled accidentely, you can fix the automatic agent updates functionality by triggering an update to a newly baked agent manually by invoking cmk-update-agent -v on the affected hosts.