Management is asking for a dump of what is being monitored at each server - along with its thresholds across all services
What I need is to take a Services dump - /monitoring/list/services. That will give me servicename along with on what server it is distributed. But I also need to present all CustomVars in the same list against each row
The benefit is it will also have information of Threshold and also overrides (single service overrides).
Is there a way I can take a dump of all overrides / thresholds / host / servicename/ custom vars and overrides at one excel sheet?
Hi,
So, If don’t know any direct way, but you can dump the currently running config with icinga2 config list. How to put that into an excel sheet? I don’t know and I doubt it would be useful, but that is up to your management I guess.
Hello @radioactive9
As far as i know, there is no direct way to output from icinga api or icingaweb to csv/excel for the informations you are requesting.
However i can provide you with the requests on the api that will return you the data you need in json, you’ll then need to convert on your own from json to csv/excel.
For example, if you want to dump all data for all services, you can run this :