ID: 15056
Title: aux_tags: rest-api endpoint implementation
Component: REST API
Level: 1
Class: New feature
Version: 2.2.0i1
This werk introduces the implementation of the Auxiliary Tags endpoints. These
endpoints replace the old Web-API functionality. Users can now GET, CREATE, PUT
and DELETE Auxiliary Tags via the REST API. Client scripts should be adjusted
accordingly.
ID: 14904
Title: aux_tags: New REST API endpoint implementation
Component: REST API
Level: 1
Class: New feature
Version: 2.2.0i1
This werk introduces the implementation of the Auxiliary Tags endpoints. These
endpoints replace the old Web-API functionality. Users can now GET, CREATE, PUT
and DELETE Auxiliary Tags via the REST API. Client scripts should be adjusted
accordingly.
ID: 15035
Title: wut_webio: handling of case when state is empty
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
It is possible that a device occasionally returns an empty string for different reasons such as
a firmware problem. Prior to this werk, this case was left unhandled. This werk resolves this issue.
ID: 14969
Title: In case of error show most recent message in service summary
Component: Checks & agents
Level: 1
Class: New feature
Version: 2.2.0i1
This werk only affects maintainers of custom special agents:
Previously, when an error occurred when executing a special agent, the first exception line was displayed in the service summary of the <i>Check_MK</i> service.
Since the last line is usually the most recent message, e.g. when displaying traceback, this werk changes the summary to be the last line.
ID: 14968
Title: Crash reporting for special agents
Component: Checks & agents
Level: 1
Class: New feature
Version: 2.2.0i1
The following special agents now create a crash report if they encounter an unforeseen exception:
LI: <i>Apache ActiveMQ queues</i>
LI: <i>Cisco Meraki</i>
LI: <i>Datadog</i>
LI: <i>Elasticsearch</i>
LI: <i>Google Cloud Platform (GCP)</i>
LI: <i>HPE StoreOnce via REST API 4.x</i>
LI: <i>IPMI Sensors via Freeipmi or IPMItool</i>
LI: <i>Microsoft Azure Status</i>
LI: <i>MobileIron API</i>
LI: <i>MQTT broker statistics</i>
LI: <i>Nutanix Prism</i>
LI: <i>Proxmox VE</i>
LI: <i>SMB Share fileinfo</i>
If a crash occurs, the Check_MK and Check_MK Discovery services will become CRIT as before, but now display a message with the Crash-ID.
ID: 15000
Title: Fix combined graphs in reports
Component: Reporting & Availability
Level: 1
Class: Bug fix
Version: 2.2.0i1
Since werk #14295 in version 2.1.0p14, some combined graphs showed an exception
like "Cannot render graph: host, service description or regex not found in
context".
A workaround was, to edit the content element and set the missing context
filter. Unfortunately, if you used host or service groups as filter, this
workaround didn't work.
ID: 15038
Title: Distributed configuration: Fix active Setup menu on remote site
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.2.0i1
On remote sites with enabled configuration replication which were one major version ahead of the
central site, the Setup menu was always active, even if <i>Disable remote configuration</i> was
selected in the central site. Hence, users could actively change the configuration, which was
however overwritten upon the next configuration synchronization with the central site.
Note that this issue also occured if a remote site running on the same major version as the central
site was updated to the next higher major version. In case the central site was updated as well (st.
both sites ran on the same major version again), the issue could be solved by activating changes
for the remote site in the central site for the first time after updating both sites.
This issue was present since 2.0.0p6 / 2.1.0.
ID: 14925
Title: Tighten permissions for Event Console pipe and sockets
Component: Event Console
Level: 1
Class: Bug fix
Version: 2.2.0i1
For some internal communication of the <i>Event Console</i> Unix sockets are used.
These reside in <tt>tmp/run/mkeventd/</tt> and used to be world readable.
Since these sockets are not meant to be used from site external scripts and we cannot foresee the side-effects the permissions were changed so that only Checkmk can read and write to them.
To make it easier to write custom events to the <i>Event Console</i> there is a Unix pipe also in <tt>tmp/run/mkeventd/</tt>.
This pipe used to be world readable and writeable.
With this Werk the permission is changed so that the Pipe is only world writeable.
So custom scripts can still write events to this pipe but can no longer read from this pipe.
If you used these sockets or pipe with custom scripts and rely on the previous permissions, you still can change them (eg. with <tt>chmod</tt>).
Please be aware that we do not support this customization.
ID: 14687
Title: Fixed JSON encoding outside the BMP for Livestatus
Component: Livestatus
Level: 1
Class: Bug fix
Version: 2.2.0i1
Livestatus used an incorrect way of encoding Unicode characters outside of
the Basic Multilingual Plane (BMP) for the JSON output format. This
affected characters like e.g. emojis, various symbols, characters from
ancient languages, etc.
ID: 14703
Title: sap_hana: Fix agent plugin crash when querying fileinfo
Component: agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
The mk_sap_hana agent plugin crashed when querying fileinfo if there are
multiple hosts in the system.
The error returned by the agent was:
"single-row query returns more than one row SQLSTATE".