I’m trying to get a list of all the hosts registered in Director to compare the list with an external database. But I have been unable.
I have no problem getting one host, is just getting a list of hosts.
I’m trying to get a list of all the hosts registered in Director to compare the list with an external database. But I have been unable.
I have no problem getting one host, is just getting a list of hosts.
Ouch, sorry. I was meaning by an API call
Am i missing something? A GET Request of director/hosts should be sufficient.
Or do you want to get all hosts being in the director with an installed agent?
Arghhhhh!!! I was using director/host without the ‘s’
I feel quite embarrassed now.
Thanks a lot!!
Well, the API endpoints are missing in the documentation at REST API - Icinga Director so don’t beat your self up.
Thanks for comforting me