Open cmaile opened 7 months ago
Hello @cmaile!
Have you tried querying the notifications and joining the hosts and services?
Best, A/K
Hi @Al2Klimov
Unfortunately, this is not the direction I need. I would like to query a list of services and filter by stored contacts. When I query notifications and joining to services / hosts, I only get the notifications that have been sent.
Describe the feature
When querying the Icinga2 API endpoints /object/host and /object/service, it is currently no possibility to lookup or filter the notification contacts. At least a filter as to whether an alarm has a receiver would be useful.
To Reproduce
curl -k -s -S -i -u root:icinga 'https://localhost:5665/v1/objects/hosts'