Labelpicker didn't use custom inventory

We have created a custom inventory plugin.
The data from the plugin appears under the hostname in the folder /var/check_mk/inventory and is displayed in the GUI.
Below is an excerpt from the InventoryJSON.

The configuration from the label picker looks like this.

datasources:
Hardware-Software-Inventory:
module: lpds_hwswtree
label_prefix: hwsw
mapping:
- labelname: os_name
tree: [Software, Operating System, Name]
match_group_filters:

- [‘Microsoft Windows Server 2012 R2 Standard’, ‘Ancient Server OS’]

      - ['Microsoft Windows Server (.*)', 'Win Server \1']

- [‘Microsoft (Windows Server) (\d{4}) (.*)’, ‘\1 \2 Edition - \3’]

  - labelname: domaincontroller
    table_row_mapping:
       s_m_s_custom: ['name']
    tree: 
      - s_m_s_custom
      - Domaincontroller.*

Unfortunately, the labels are not being created, running labelpicker -t

Is there still an error in the configuration of /etc/labelpicker.yml?

Thanks in advance
Martin

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.