Die Checkmk-Konferenz #6 steht an! Regulärer Verkauf endet in . Tickets hier!
|Titel||Web API: Changed format of rules in get_ruleset/set_ruleset|
|Checkmk Edition||Checkmk Raw Edition (CRE)|
|Kompatibilität||Incompatible - Manual interaction might be required|
The Web API calls get_ruleset and set_ruleset, that were added with #4699 in Checkmk 1.5 have been changed in an incompatible way. If you use these API calls in your scripts, you will have to change these script to be compatible with Checkmk 1.6 and newer.
The change was caused by the change of the internal rule data structure, which is described in detail in #7352.
The API calls now work with the internal rule format with the difference that the host_folder condition is removed from the rules returned by get_ruleset and automatically added to the rules that are written with set_ruleset.