ID: 5435
Title: Fixed "omd update" problems when updating from 1.4.0p17 or older
Component: Site Management
Level: 2
Class: Bug fix
Version: 1.5.0i1
When executing "omd update" as site user to update a site from 1.4.0p17
or older an error could occur blocking the update. The message looks like
this:
<pre>
Traceback (most recent call last):
File "/omd/versions/1.4.0p17.cee/bin/omd", line 52, in <module>
import tarfile, fnmatch
File "/omd/versions/1.4.0p17.cee/lib/python2.7/tarfile.py", line 52, in <module>
import copy
File "/omd/versions/1.4.0p17.cee/lib/python2.7/copy.py", line 52, in <module>
import weakref
File "/omd/versions/1.4.0p17.cee/lib/python2.7/weakref.py", line 14, in <module>
from _weakref import (
ImportError: cannot import name _remove_dead_weakref
</pre>
This issue was caused by a mixup of python versions during the update which has
been fixed now by using the correct libraries during the update.
To workaround this issue, you could run the "omd update" command as root user instead
of the site user.
ID: 5410
Title: Windows agent: handle section Skype correctly
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 1.5.0i1
Windows agent was giving empty output for section Skype for a number of
reasons for all agent versions since 1.4.0:
* Windows registry was queried with an illegal parameter REG_MULTI_SZ
passed to RegOpenKeyExW. Starting from Windows Server 2016, this
illegal parameter caused the query to fail with "access denied".
* Werk #4007 fix (commit b89af681c90) caused the entire Skype section
to fall out if querying any of the subsection queries to Windows
registry failed. Werk #4007 was fixed based on the incorrect
assumption that Skype performance counters were queried over WMI.
In fact, they query Windows registry PerfLib instead of WMI.
* The perf counter name "LS:JoinLauncher - Join Launcher Service
Failures" was misspelled in singular, causing also this query to
fail. This subsection had never been working correctly.
* On master branch, the refactoring done in
6946cb0b8e12b5a41c24a9e02c0f5fd472b214df broke the resolving of
counter base numbers based on their names.
These causes of failure are now fixed in Windows agent. The spelling of
LS:JoinLauncher is also corrected in Skype check code.
The performance of Skype perf counter queries got awkward after
reverting Werk #4007, that is, executing all of the subsection
queries even if some of them failed due to missing perf counters.
This is now fixed by mapping the perf counters names to their counter
base numbers once and reusing this mapping for all desired perf
counters. This avoids the unnecessary looping through Windows registry
for each perf counter separately.
New log entries are now being made for functionality related to perf
counters in order to make debugging easier.
ID: 5241
Title: netapp_api_connection: removed some invalid warning messages, which appear on virtual netapp systems
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 1.5.0i1
A virtual netapp system has no sensor information (temp, fan, etc.) available..
ID: 5354
Title: cmctc_lcp: Fixes an error leading to wrong inventory and check output
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 1.5.0i1
This werk fixes an error which caused that the inventory for some sensors
was not performed correctly. This resulted in a wrong amount of discovered
services and a wrong output (numbers and units) for these services .
Therefore, the services of the corresponding hosts have to be rediscovered.
Temperature sensors are not affected by this error. One other type of
sensor is not affected as well. Which sensor type it is might depend on the
used Python version. In tests using Python version 2.7.14 Blower sensors
were not affected.
ID: 5197
Title: Improved Event Console history performance
Component: Livestatus
Level: 1
Class: Bug fix
Version: 1.5.0i1
Due to architectural changes in Check_MK 1.4.0, the performance of querying
the event console history had suffered. This has been fixed, now time
ranges are used again to speed up common queries.
ID: 5240
Title: agent_netapp, environmental sensors monitoring. No longer fails if a node has no configured shelfes
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 1.5.0i1
This fixes the error message <tt>"NoneType" object has no attribute 'children_get'</tt>, reported by the check <tt>NetApp filer connection</tt>.
ID: 5353
Title: citrix_sessions: fixes a case where no session number was returned
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 1.5.0i1
In some circumstances citrix_sessions did not return values for
XenServers. This werk fixes this problem in the citrix_xenapp
PowerShell script so that always a valid session number is
returned.
ID: 5196
Title: Bumped Livestatus stack size to give regex matching more breathing room.
Component: Livestatus
Level: 1
Class: Bug fix
Version: 1.5.0i1
The current implementation of regular expression matching can use a
non-trivial amount of memory (mainly stack), and our previous memory limit
was a bit tight. This has been improved, so regular expression matching
should work more reliably.
Note that this increases the overall amount of memory allocated for
Check_MK, but for normal installations the increase should be negligible.