kuhn-ruess / cmdbsyncer

Rule Based Syncronisation System with Checkmk and Ansible Support
MIT License
41 stars 9 forks source link

Feat: Checkmk Inventory now supports Configuration and HW_SW Inventory #36

Closed Bastian-Kuhn closed 10 months ago

Bastian-Kuhn commented 10 months ago

With this Version, it's possible (and necessary) to configure which values you want to inventorize from Checkmk. In Exchange for the Need to configure these values, you can now get every Attribute, Label, Tag, Service you want.

General:

The configuration can be found in Rules → Checkmk → Inventorize Settings All Rules can have a comma separated List of Values. If a Value ends with *, this will be a wildcard for every value starting with the given string. Wildcards will not work for the HW/SW Inventory or Checkmk Services.

Bildschirmfoto 2024-01-02 um 17 54 20

HW/ SW Inventory:

You can set up to two levels, separated by dot.

Examples:

Checkmk Services

You need to specify the Exact Service Name. You then get two Attributes with the Service Output and the Service State

Checkmk Attributes

Here you can get Tags and all API Fields from the Checkmk API

Examples:

Checkmk Labels:

Here you can get all Labels of a Host in Checkmk;

Example: