ID: 6773
Title: Fixed URL redirect from /[site]/ when using custom ports
Component: Multisite
Level: 1
Class: Bug fix
Version: 1.6.0i1
Requests to the GUI were not done correctly when a non standard port is used
for accessing the GUI. The redirect from <tt>/[site]/</tt> or <tt>/[site]</tt>
to <tt>/[site]/check_mk/</tt> was setting the URL back to standard ports.
ID: 6771
Title: Fixed minor graph rendering issues when using the modern theme
Component: metrics
Level: 1
Class: Bug fix
Version: 1.6.0i1
The graph time axis labels had a slightly wrong background color. And
the graph hover indicator line had a wrong position in relation to the
mouse pointer.
ID: 6735
Title: cpu_util_unix: Fixed calculation of CPU usage on UNIX
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 1.6.0i1
The result of the cpu_usage is wrong. The cpu_time_guest is included in
cpu_time_user: See
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/kerne…
for more information:
<code>
/*
* Account guest CPU time to a process.
* @p: the process that the CPU time gets accounted to
* @cputime: the CPU time spent in virtual machine since the last update
*/
void account_guest_time(struct task_struct *p, u64 cputime)
{
u64 *cpustat = kcpustat_this_cpu->cpustat;
/* Add guest time to process. */
p->utime += cputime;
account_group_user_time(p, cputime);
p->gtime += cputime;
/* Add guest time to cpustat. */
if (task_nice(p) > 0) {
cpustat[CPUTIME_NICE] += cputime;
cpustat[CPUTIME_GUEST_NICE] += cputime;
} else {
cpustat[CPUTIME_USER] += cputime;
cpustat[CPUTIME_GUEST] += cputime;
}
}
</code>
ID: 5511
Title: cmk-update-agent: Improve prelink handling
Component: agents
Level: 1
Class: Bug fix
Version: 1.6.0i1
With werk #5507, we tried to mitigate the impact of prelink on the agent updater binary.
However, it turned out that the corresponding files did not survive every Check_MK Agent
update scenarios.
First of all, please note that we do not recommend the usage of prelink at all,
as its benefit is questionable and there are some issues
(not limited the the cmk-update-agent binary) that may occur by applying it to a system.
Now, with this werk, the prelink exception for the cmk-update-agent is placed on the target
system in a more robust way.
A blacklist-file at <tt>/etc/prelink.conf.d/cmk-update-agent.conf</tt> is
now placed on the target system regardless of an existing prelink-installation.
If prelink is installed on the target system (i.e. the file <tt>/etc/prelink.conf</tt> exists),
our blacklist-file will be referenced as an additional prelink configuration file.
If prelink gets installed on the system after the Check_MK Agent, you have to reference
the blacklist-file by yourself. You can do this by adding a line
<pre>-c /etc/prelink.conf.d/cmk-update-agent.conf</pre>
to <tt>/etc/prelink.conf</tt>.
However, this mechanism is only available for .rpm and .deb Check_MK Agent pakages.
ID: 6605
Title: winperf_if: Fixed discovery of network interface alias
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 1.6.0i1
While parsing the winperf interface section only trailing spaces were stripped
off. There may also be leading spaces. Without cutting them off additional
information like NetConnectionID, GUID or MAC address of the interfaces were
not found. In this case the instance name of the interace was used as alias
(fallback) instead of the NetConnectionID.
Now if one has configured <tt>Use alias</tt> in the
<tt>Network Interface and Switch Port Discovery</tt> ruleset new services
may be discovered and old ones will be vanished.
In order to obtained the already used iterface names please use
<tt>Use description</tt> in the <tt>Network Interface and Switch Port Discovery</tt>
ruleset.
ID: 6728
Title: Hide links to not permitted views from host context menu
Component: Multisite
Level: 1
Class: Bug fix
Version: 1.6.0i1
The entries for linking to BI aggregations of a host and HW/SW inventory of
a host are now hidden from the host context menu when a user is not permitted
to see the target views.
ID: 6726
Title: Fixed duplicate view names in "link to" dropdown in view editor
Component: Multisite
Level: 1
Class: Bug fix
Version: 1.6.0i1
When editing the view a painter should link to, the list contained some
duplicate names. The user often had to trial and error to select the
correct view. The titles now contain a category prefix and also include
the internal view ID which is used to identify the views.