Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing notification contacts for objects/hosts and object/services query endpoint #10007

Open
cmaile opened this issue Feb 19, 2024 · 2 comments

Comments

@cmaile
Copy link

cmaile commented Feb 19, 2024

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'

@Al2Klimov
Copy link
Member

Hello @cmaile!

Have you tried querying the notifications and joining the hosts and services?

Best,
A/K

@cmaile
Copy link
Author

cmaile commented Apr 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants