-
Notifications
You must be signed in to change notification settings - Fork 280
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
impossible to export an event in json with icingaweb2 #5261
Comments
Hi, I'd rather suggest to use Icinga DB Web's export functionality as basis for your app. The monitoring module will not receive such an addition anymore. |
Hi Nilmerg, |
Possible, probably. Worth the effort, not really. 😉 |
Thank you for your response, one last question : |
The reason is, it is not implemented. In Icinga Web 2. (Specifically, the monitoring module) Icinga DB Web is the successor of the monitoring module, hence why I'm suggesting you to switch. |
Describe the bug
Hi, for an application, I want to automatically retrieve the entire content of the output field of an old event.

I can't do that with icinga2 api.
With icingaweb2 / eventhistory I have only the first line of the Output field.
So I try with this path : XXX/icingaweb2/monitoring/event/show?type=hard_state&id=22790006&format=json
but json export does not work. It is ok with pdf, but not with json and csv format.
Can you fix this ?
To Reproduce
Try to get json response with postman of in a web browser
Your Environment
Program Version | r2.14.2-1
Thank you for your help
The text was updated successfully, but these errors were encountered: