ID: 5267
Title: cmk-update-agent: New binary format of Agent Updater executable on Linux
Component: agents
Level: 2
Class: New feature
Version: 1.5.0i2
The cmk-update-agent executable is now implemented as a packaged binary executable.
This werk consists of many changes that have partly already been applied to Check_MK 1.5.0i1.
The new format addresses several problems and yields some improvements:
* Better compatibility: All requirements regarding the installed Python Interpreter or other packages/programs were eliminated; the only requirements left are a x86_64 processor architecture and a glibc 2.5 or above.
* More convenient communication to Check_MK Server: All GET-Requests have been replaced with according POST-Requests. This improves security as sensitive data is no longer sent within the URL of the HTTP(S) request.
* Only one copy of cmk-update-agent: The copy of cmk-update-agent previously placed under /usr/bin/cmk-update-agent has been replaced by a shell script that executes the actual cmk-update-agent executable situated at the Check_MK Agent plugin directory. This eliminates the need to maintain two places when manually replacing cmk-update-agent for debugging reasons.
However, it is still possible to execute a copy of the cmk-update-agent executable directly.
* Notably, there will be no more problems with curl and because all communication is now done via python-requests, which is included within the cmk-update-agent executable as mentioned above.
ID: 5415
Title: Make Windows section openhardwaremonitor backwards compatible
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 1.5.0i2
Version 1.4.0 'corrected' the naming of section openhardwaremonitor.
Unfortunately, this broke the backwards compatibility of old ini files
that still call this 'ohm'. The fix maps the old name to the new one
so that both old and new ini files work. Moreover, the agent bakery
was still writing ini files with the old name. Now the agent bakery
is also fixed.
ID: 5264
Title: cmk-update-agent: Improve logging under windows
Component: agents
Level: 1
Class: Bug fix
Version: 1.5.0i2
With this werk, the Agent Updater ensures that there is a logging infrastructure (i.e. log-dir within agent-installation-dir) is available when running as plugin.
Additionally, an MSI-Installation log will be written on update if there is a log-dir available.
ID: 5265
Title: cmk-update-agent: Enable Agent Updater to update itself on Windows
Component: agents
Level: 2
Class: Bug fix
Version: 1.5.0i2
When triggering an update under Windows, the agent updater could not be replaced by its new downloaded version because it was still running from the corresponding file.
This situation is now mitigated by restarting the agent updater from within ../temp when running from plugins-dir.
This is relevant only for a manual execution of cmk-update-agent.exe
ID: 5473
Title: Add correct host-related acknowledgement info to notifications.
Component: cmc
Level: 1
Class: Bug fix
Version: 1.5.0i2
When a notification for a service was constructed, the HOSTACKAUTHOR and
HOSTACKCOMMENT variables were incorrectly filled with service-related
information. This has been fixed.
ID: 5472
Title: Ensure correct quoting of values in event contexts.
Component: cmc
Level: 1
Class: Bug fix
Version: 1.5.0i2
The values of custom host/service variables and acknowledgement comments
were not correctly quoted when being passed to the alert/notification
helpers. Therefore, some special characters could have been mishandled,
this has been fixed.
ID: 5254
Title: Event console: Introduced syslog application placeholder which can be used in rewriting events
Component: Event Console
Level: 1
Class: New feature
Version: 1.5.0i2
When rewriting text, hostname or application for an event you can now use the new placeholders
Message text regex match groups
<ul>
<li>$MATCH_GROUPS_MESSAGE_1$</li>
<li>$MATCH_GROUPS_MESSAGE_2$</li>
<li>$MATCH_GROUPS_MESSAGE_n$</li>
</ul>
Syslog application regex match groups
<ul>
<li>$MATCH_GROUPS_SYSLOG_APPLICATION_1$</li>
<li>$MATCH_GROUPS_SYSLOG_APPLICATION_2$</li>
<li>$MATCH_GROUPS_SYSLOG_APPLICATION_n$</li>
</ul>
Note:
The syslog application match groups are now also considered when canceling events.
The previous version did only check for identical create/canceling match groups in the event message text.
ID: 5253
Title: Linux check_mk_agent: now able to execute plugins for real time checks
Component: Checks & agents
Level: 1
Class: New feature
Version: 1.5.0i2
The file <tt>/etc/check_mk/real_time_checks.cfg</tt> now supports the parameter
<tt>RTC_PLUGINS</tt> which allows the configuration of plugins to be also executed
as real time checks.
For example
F:
RTC_PLUGINS+="apache_status"
RTC_PLUGINS+="lvm"
This executes both plugins as real time checks (1sec resolution) as well as standard check_mk check.
ID: 5483
Title: mknotifyd: improve error handling and logging
Component: Notifications
Level: 1
Class: Bug fix
Version: 1.5.0i2
Connections in progress are now explicitely written to
the mknotifyd.log. This makes it easier to spot ongoning,
unsucessful connection attempts.
Furthermore, in case of polling errors a timeout of 1s
was added. This prevents the mknotifyd from using 100% CPU
if an error appears and the polling returns immediately.