Data extraction

Please describe your problem as detailed as possible and don’t forget to use a meaningful title :slight_smile:
We also have a markdown formatting guide to help you make your topics more readable!

Give as much information as you can, e.g.

  • Director version : 1.9.1
  • Icinga Web 2 version and modules : 2.11.1
  • Icinga 2 version : 2.13-5.1
  • Operating System and version: linux redhat 7.6
  • Webserver, PHP versions: 7.3
  • Icingadb : 1.0.1

I’m looking for a way to list users and roles and content of user groups. An API request or something similar.

As with Icinga2 itself, Icingaweb2 also has a API. Maybe Using the Icinga Web API will get you started.

Hello,
Thanks for your response.
I use APIs to list hosts services etc, but I didn’t find commands for users, groups etc … I use sql commands on the DB to get the list of users for example. But as far as roles and their relationship to groups and users are concerned, exept from the roles.ini file I couldn’t find anythings.