How to edit "service sets" Icinga2 through conf files

Before you ask a question, you can check the troubleshooting documentation first, maybe you can find an answer here.

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.

System information:
Platform: Ubuntu
Platform version: 20.04.4 LTS (Focal Fossa)
Kernel: Linux
Kernel version: 5.4.0-177-generic
Architecture: x86_64

Build information:
Compiler: GNU 9.3.0
Build host: runner-hh8q3bz2-project-298-concurrent-0
OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020

I would like to know if there is any way to edit the “service set” using config files. I need to add a thousand services in the services set, if there is a config file related to the “service set” it must be easier for me to complete than clicking all of the services through the web.

Thank you.

Hi Seyoung Kim

“Service set” and “clicking all of the services through the web” sounds like you’re using the director.
In this case you can use the baskets feature of the director.
It uses a JSON file to export and import so you can export the beginning of your work, edit it, and upload the result.

For inspiration, I can recommend a look at the tooling of the Linuxfabrik.

Also, “a thousand” make me a bit suspicious (if the number is not heavily exaggerated). Are the services you want to create really “different” or just targeting different hosts?