NETWAYS / support-collector

The support collector allows our customers to collect relevant information from their servers. A resulting ZIP file can then be provided to our support team for further inspection.
https://www.netways.de/en/technologies/icinga/support-subscription/
GNU General Public License v3.0
0 stars 0 forks source link

Collect data from the Icinga 2 API #109

Closed tbauriedel closed 9 months ago

tbauriedel commented 9 months ago

With that it will be possible to collect 'advanced data' for the module Icinga 2. As always, we work according to the motto "we take what we get".

The API requests are not only for the local machine. With --icinga2-api-endpoints you can define every Icinga 2 endpoint you want to collect data from. For the authentication you will need to deploy a global API user. Easiest way would be to create an user in a global zone like 'director-global' and deploy. User and password are also provided by arguments. We don't save the credentials. They are only stored inside the runtime variables.

For the moment only data from /v1/status will be collected. However, the code is built in such a way that more can be added as required.