uyuni-project / sumaform

Terraform configuration to quickly set up SUSE Manager/Uyuni environments
BSD 3-Clause "New" or "Revised" License
72 stars 71 forks source link

New module for Prometheus and Grafana Server aka Monitoring Server #1207

Open srbarrios opened 2 years ago

srbarrios commented 2 years ago

As it's actually a different component of our SUMA/Uyuni architecture, I think it will be good to have the possibility to deploy Monitoring server from Sumaform. So, having a minion module that has on top of it all the related packages/repos and even maybe configured salt formulas that allows us to directly connect and start using a Monitoring server in a deployed sumaform environment.

A simpler approach could be to have an extra flag in our minions, to setup a minion as a Monitoring server. We do something similar to setup them to collect and send Prometheus data through the Prometheus Exporters. But ofc, that would not visually differentiate this different component from the point of view of our architecture.

EDIT after discussion:

Detailed instructions: image image

vandabarata commented 2 years ago

For details on what needs to be done, the documentation is quite clear on what the minion needs - https://documentation.suse.com/suma/4.3/en/suse-manager/administration/monitoring.html

Bischoff commented 2 years ago

As Vanda stated, we could have this definition of "done":

use the sumaform module to have a working monitoring server
vandabarata commented 2 years ago

The manual/ CLI process of installing and configuring Prometheus and Grafana needs to be rethought or updated in the documentation - so the sumaform module is blocked from being worked on until the manual process is updated and tested - https://github.com/SUSE/spacewalk/issues/19714