ID: 7405
Title: elasticsearch_indices: new check for monitoring of elasticsearch indices
Component: Checks & agents
Level: 1
Class: New feature
Version: 1.6.0i1
This check uses the datasource program "Check state of elasticsearch". The
document count and size growth per minute will be recorded and averaged for a
set amount of time (30 minutes by default). The last recent document count
growth and size growth will be compared to this average value. You can set
thresholds on how much higher the last recent growth can be compared to the
average growth.
ID: 7772
Title: Fix left over omdlib pyc files after uninstall
Component: Site Management
Level: 1
Class: Bug fix
Version: 1.7.0i1
When uninstalling the 1.6.0b1 packages, they left over some .pyc files in the
/omd/versions/1.6.0b1.cre/lib/python/omdlib directory. If you have removed the
package, you can delete the directory /omd/versions/1.6.0b1.cre by hand to
clean up.
ID: 7774
Title: Fix installation issue on older debian based distros
Component: Site Management
Level: 2
Class: Bug fix
Version: 1.7.0i1
The werk #7344 introduced compatibility issues with Linux setups that don't
support linux capabilities (for different reasons). One reason may be a kernel
that does not support the capabilities.
We have added a fallback to the Checkmk debian packages that tries to use the
linux capabilities (as described in #7344). Once that fails it falls back to
setting the SETUID bit on the binaries, just like Checkmk did it before.
ID: 7773
Title: Fix 1.6 compatibility with CMA <1.4.7
Component: Linux Distributions
Level: 1
Class: Bug fix
Version: 1.7.0i1
The Checkmk 1.6 version can now be installed on Checkmk Appliance
firmwares older than 1.4.7.
ID: 7771
Title: Prevent question about removed "etc/icinga/icinga.d" directory
Component: Site Management
Level: 1
Class: Bug fix
Version: 1.7.0i1
We removed the deprecated Icinga 1 from our packages. This lead to a question
about removing the etc/icinga/icinga.d directory during updates to 1.6.0b1.
The question for removal of this directory has now been removed for most users.
ID: 7770
Title: Fix "Periodic service discovery" disabling rules breaking config
Component: Core & setup
Level: 2
Class: Bug fix
Version: 1.7.0i1
In 1.6.0b1 a rule in the ruleset "Periodic service discovery" that is
configured with the option "Do not perform service discovery check" resulted
in the following exception when updating the core config (e.g. with cmk -U):
C+:
OMD[testsite]:~$ cmk --debug -Uv
Generating configuration for core (type cmc)...
time period '24X7': 2 time points
Configuration Error: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "/omd/sites/testsite/bin/cmk", line 94, in
exit_status = modes.call(mode_name, mode_args, opts, args)
File "/omd/sites/testsite/lib/python/cmk_base/modes/__init__.py", line 72, in call
return mode.handler_function(*handler_args)
File "/omd/sites/testsite/lib/python/cmk_base/modes/check_mk.py", line 1106, in mode_update
do_update(create_core(options), with_precompile=True)
File "/omd/sites/testsite/lib/python/cmk_base/core_config.py", line 266, in do_update
do_create_config(core, with_agents=with_precompile)
File "/omd/sites/testsite/lib/python/cmk_base/core_config.py", line 219, in do_create_config
create_core_config(core)
File "/omd/sites/testsite/lib/python/cmk_base/core_config.py", line 235, in create_core_config
core.create_config()
File "/omd/sites/testsite/lib/python/cmk_base/cee/core_cmc.py", line 63, in create_config
_create_config_hook(self._cmc_file)
File "/omd/sites/testsite/lib/python/cmk_base/cee/core_cmc.py", line 123, in _create_config_hook
hosts_config = _measure_time(cmc_all_hosts)
File "/omd/sites/testsite/lib/python/cmk_base/cee/core_cmc.py", line 156, in _measure_time
result = func(*args, **kwargs)
File "/omd/sites/testsite/lib/python/cmk_base/cee/core_cmc.py", line 457, in cmc_all_hosts
cmc_hosts = CMCHosts(config_cache.all_active_hosts(), CMCHostConfig)
File "/omd/sites/testsite/lib/python/cmk_base/cee/core_cmc.py", line 501, in __init__
self._compute(hostnames, host_class)
File "/omd/sites/testsite/lib/python/cmk_base/cee/core_cmc.py", line 513, in _compute
host_config = host_class(hostname)
File "/omd/sites/testsite/lib/python/cmk_base/cee/core_cmc.py", line 966, in __init__
self._compute()
File "/omd/sites/testsite/lib/python/cmk_base/cee/core_cmc.py", line 984, in _compute
self._cmc_services()
File "/omd/sites/testsite/lib/python/cmk_base/cee/core_cmc.py", line 1259, in _cmc_services
if disc_check_params["check_interval"] \
TypeError: 'NoneType' object has no attribute '__getitem__'
C-:
ID: 7767
Title: Prevent "read only" host attributes from being cleaned up
Component: WATO
Level: 1
Class: Bug fix
Version: 1.7.0i1
The different "read only" host attributes in WATO (e.g. Network scan result,
created time, locked by, ...) could be reset to the default value using the
host attribute cleanup dialog. These options will now be hidden from that
dialog.
ID: 6972
Title: Support SQL-style quoting for filtering dict-valued columns
Component: Livestatus
Level: 1
Class: New feature
Version: 1.7.0i1
Some Livestatus columns do not contain a simple value or a list of such values,
they contain a dictionary of key/value pairs. More concretely, the
<ul>
<li><tt>custom_variables</tt></li>
<li><tt>label_sources</tt></li>
<li><tt>labels</tt></li>
<li><tt>tags</tt></li>
</ul>
columns in the
<ul>
<li><tt>contacts</tt></li>
<li><tt>hosts</tt></li>
<li><tt>hostsbygroup</tt></li>
<li><tt>services</tt></li>
<li><tt>servicesbygroup</tt></li>
<li><tt>servicesbyhostgroup</tt></li>
</ul>
tables contain dictionary values. Livestatus filter for such columns have a
special syntax:
C+:
Filter: COLUMN OPERATOR KEY VALUE
C-:
As an example, the query:
C+:
GET hosts
Filter: tag = agent cmk-agent
C-:
returns all hosts where the tag "agent" has the value "cmk-agent". Note that the
key and the value are separated by whitespace. But this makes it impossible to
query for a tag name with spaces. To support more general keys and values in
such filters, Livestatus now additionally supports SQL-style quoting for such
column filters:
C+:
Filter: labels = 'It''s so' 'cool, man!'
C-:
This filter matches a label with key "It's so" and value "cool, man!". Note the
use of 2 consecutive single quotes to represent 1 single quote. The previous
syntax still works, the new syntax is triggered by a leading single quote in the
key and/or value.