Is there an easy way to get icinga “data lists” for automation, e.g. json-formated?
In the Browser, I’d use icingaweb2/director/data/listentry?list=customer_list
I’ve tried cingaweb2/director/data/listentry?list=customer_list&format=json, doesn’t make a difference
It would be perfect to get the results of icingacli director export datalists from remote.
not yet, reading from DB could be a solution, of course, but I don’t like doing this in general. It’s a very messy design to document and maintain. No one expects that I get the information from DB when looking for errors.