WebAPI ruleset attributes

Hi

We’re migrating from CheckMK 1.2.8 to 2.0.0 (on another server) and I’d like to use the Web API to import rulesets from the old config (the REST API doesn’t seem to support them yet).

The old WATO ruleset definitions seem based on Python tuples whereas the Web API ruleset definitions use JSON objects. Is it documented anywhere which JSON keys can be used and how they map to the old tuples?

Thanks

Attention - the WebAPI only uses Python constructs. This is also the reason that this function is not yet implemented inside the RestAPI.
What you can do to understand the requests is the creation of some rule on an empty 2.0 system and then use the WebAPI to retrieve these rules. There you can inspect the data structure and push your rules then to the test system.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.