ID: 6106
Title: Raw Edition: Fixed checking of some hosts when check speicific config variables are used
Component: Core & setup
Level: 2
Class: Bug fix
Version: 1.6.0i1
When check specific configuration variables are set in the Check_MK configuration,
they could make the Check_MK checks of hosts that are not using these checks fail.
This resulted in Check_MK services showing an empty output. When executing the
precompiled host checks on the command line in debug mode, errors are shown. Like
this:
python /omd/sites/beta/var/check_mk/precompiled/[hostname] -v
Cannot read in configuration file /omd/sites/[site]/etc/check_mk/conf.d/wato/rules.mk: name 'fileinfo_groups' is not defined
ID: 6105
Title: CMC check helper: Fixed issues related to check includes not being loaded
Component: Core & setup
Level: 2
Class: Bug fix
Version: 1.6.0i1
When using the Check_MK Microcore several random checks could not be executed
because the helper were not loading the check includes in all cases. This was
some kind of race condition which could happen during check helper initialization.
This regression was introduced with 1.5.0b3.
ID: 6103
Title: Check and discovery parameters were not always reloaded
Component: Core & setup
Level: 2
Class: Bug fix
Version: 1.6.0i1
Changed check specific check and discovery parameters were not
always updated during config reload ("Activate changes"). This
made the Check_MK and Check_MK Discovery services not recognize
the changed parameters when reloading the config. The parameters
were only loaded during next core restart.
This regression affected all previous 1.5 beta releases.
ID: 5812
Title: Fixed Check_MK check helper crashes related to loading of precompiled checks
Component: Checks & agents
Level: 2
Class: Bug fix
Version: 1.6.0i1
The latest versions no longer read checks as plain text python files (Werk 6046).
The operation which generates the precompilated file was not atomic, so a file could
be partially written, while being read by another process.
This caused various exceptions in multiple checks.
ID: 6097
Title: Raw Edition: Fix possible "(null)" output of Check_MK services
Component: Core & setup
Level: 2
Class: Bug fix
Version: 1.6.0i1
The Check_MK service of multiple hosts may terminate without proper error
message resulting just in status output "(null)" in specific situations.
This happened when the precompiled host check files
(var/check_mk/precompiled/[host]) were executed by Nagios using the system wide
Python interpreter instead of the site specific interpreter.
ID: 5277
Title: cmk-update-agent: Add support for proxy servers
Component: agents
Level: 2
Class: New feature
Version: 1.6.0i1
The agent updater is now able to connect to the Check_MK server via proxy.
With this werk, a new checkbox "Use proxy server" is added to the Agent Updater rule configuration. You can now either configure a HTTP, SOCKS4 or SOCKS5 proxy (with optional credentials) or choose to follow the environment variables "HTTP_PROXY" and "HTTPS_PROXY" that may be set locally on the hosts.
Please note that the configuration default is still set to ignore local proxy settings.
ID: 6057
Title: Changed GUI internal API functions
Component: Multisite
Level: 2
Class: New feature
Version: 1.6.0i1
During development of version 1.6 we have made a lot of internal changes
to the GUI internal code. In case you developed you own GUI extensions, you
may likely be affected by this. The following table tries to summarize the
most relevant changes to make it easier for you to port your custom code:
<h3>Moved exceptions to <tt>gui_exceptions</tt> module</h3>
Use <tt>from gui_exceptions import ..</tt> to import the exception objects
you need. Available are: MKAuthException, MKUnauthenticatedException, MKGeneralException, MKUserError, MKInternalError.
<h3>Moved lqencode() to livestatus module</h3>
Use <tt>import livestatus</tt> and <tt>livestatus.lqencode()</tt>.
<h3>Moved format_plugin_output() to views</h3>
Use <tt>import view</tt> and <tt>views.format_plugin_output()</tt>.
<h3>Moved make_nagios_directory() and make_nagios_directories() to cmk.store</h3>
Use <tt>import cmk.store</tt> and <tt>cmk.store.mkdir()</tt> or <tt>cmk.store.makedirs()</tt>.
<h3>Dropped create_user_file()</h3>
Use <tt>cmk.store.save_file()</tt> instead.
<h3>Dropped bytes_human_readable()</h3>
Use <tt>cmk.render.bytes()</tt> instead.
<h3>Dropped date_human_readable()</h3>
Use <tt>cmk.render.date()</tt> instead.
<h3>Dropped percent_human_redable()</h3>
Use <tt>cmk.render.percent()</tt> instead.
<h3>Moved make_utf8() to cmk.utils</h3>
Use <tt>cmk.utils.make_utf8()</tt>.
<h3>Moved quote_shell_string() to cmk.utils</h3>
Use <tt>cmk.utils.quote_shell_string()</tt>.
<h3>Moved pnp_cleanup() to cmk.utils</h3>
Use <tt>cmk.utils.pnp_cleanup()</tt>.
<h3>Moved aquire_lock(), release_all_locks(), have_lock() and release_lock() to cmk.store</h3>
Use e.g. <tt>cmk.store.aquire_lock()</tt>.
<h3>Dropped age_human_readable()</h3>
Use <tt>cmk.render.approx_age()</tt> instead.
<h3>Moved render_scientific() to cmk.render</h3>
Use <tt>cmk.render.scientific()</tt>.
<h3>Moved render_scientific() to cmk.render</h3>
Use <tt>cmk.render.physical_precision()</tt>.
<h3>Moved several functions to new utils module</h3>
Use e.g. <tt>utils.drop_dotzero()</tt>.
These have moved been moved:
<ul>
<li><tt>drop_dotzero()</tt></li>
<li><tt>cmp_version()</tt></li>
<li><tt>num_split()</tt></li>
<li><tt>saveint()</tt></li>
<li><tt>savefloat()</tt></li>
<li><tt>get_random_string()</tt></li>
<li><tt>gen_id()</tt></li>
<li><tt>load_web_plugins()</tt></li>
</ul>
<h3>Dropped tryint()</h3>
This has totally been dropped. Implement it on your own in case
you really need this.
ID: 6039
Title: Nagios: Fixed monitoring of cluster hosts and nodes
Component: Checks & agents
Level: 2
Class: Bug fix
Version: 1.6.0i1
Monitoring Check_MK clusters was not correctly working in all
previous 1.5 releases.
ID: 6036
Title: Fixed broken IP lookup in Check_MK service when using Nagios core
Component: Core & setup
Level: 2
Class: Bug fix
Version: 1.6.0i1
The "Check_MK" services of hosts were not doing IP resolution correctly,
leading to messages like "(No output returned from plugin)" and non working
checking for these hosts.
ID: 5977
Title: Fixed broken dropdown fields in several places
Component: Multisite
Level: 2
Class: Bug fix
Version: 1.6.0i1
Some dropdown (select) fields were broken in Check_MK 1.5.0 for a longer time,
especially in WATO configuration dialogs. This issue existed in all previous
1.5.0 releases.
E.g. when setting the "Match syslog priority" option in a Event Console rule,
the selected option was not persisted as expected.