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: 5804
Title: BI aggregations: increased render performance
Component: BI
Level: 1
Class: Bug fix
Version: 1.6.0i1
The livestatus data required for rendering the BI tree is no longer fetched consecutive from one site after another.
The new mechanism queries all sites in parallel, hereby increasing the livestatus query performance.
ID: 5993
Title: Fixed execution of management board checks
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 1.6.0i1
This concerns hosts which have configured a management board.
During checking the wrong data source was used and therefore
the wrong data was checked. Fixed that!
ID: 5996
Title: Fixed lookup of management protocol and credentials
Component: WATO
Level: 1
Class: Bug fix
Version: 1.6.0i1
If a host has configured a SNMP management board in Check_MK
version 1.4.0 and the site was upgraded to 1.5.0 or later versions,
then the SNMP management board protocol and credentials were not
found. Fixed that!
ID: 5986
Title: User synchronization is now using background job mechanism
Component: Multisite
Level: 1
Class: Bug fix
Version: 1.6.0i1
To prevent timeouts of the GUI when manually starting the user synchronization
the user synchronization is now performed as background job. You can either
have a log at the state of the current/last job from the Users page or the
list of all background jobs.
ID: 6056
Title: Analyze configuration: Test for old omdadmin default credentials
Component: WATO
Level: 1
Class: New feature
Version: 1.6.0i1
A new "Analyze configuration" test warns you in case a omdadmin user with the pre
1.4 default password is found in the site.
ID: 6046
Title: Improved execution time of e.g. service discovery
Component: Core & setup
Level: 1
Class: New feature
Version: 1.6.0i1
The overall execution time of the service discovery has been reduced by
introducing some precompiling of the check plugins and their includes
before loading them. The mechanism is similar to the compilation of
python modules from (.py to .pyc files). This mechanism reduces the
load time of the plugins by 50%.