diff options
Diffstat (limited to 'roles/monitoring/landingpage/templates')
-rw-r--r-- | roles/monitoring/landingpage/templates/index.html.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/monitoring/landingpage/templates/index.html.j2 b/roles/monitoring/landingpage/templates/index.html.j2 index a340f1db..a9bb8aca 100644 --- a/roles/monitoring/landingpage/templates/index.html.j2 +++ b/roles/monitoring/landingpage/templates/index.html.j2 @@ -8,9 +8,15 @@ <div style="text-align:center; margin-left:auto; margin-right:auto;"> <h1>{{ monitoring_landingpage_title }}</h1> <ul style="list-style-type: none;"> +{% if 'prometheus' in monitoring_landingpage_services %} <li><a target='_blank' href='/prometheus/'>Prometheus</a></li> +{% endif %} +{% if 'alertmanager' in monitoring_landingpage_services %} <li><a target='_blank' href='/alertmanager/'>Prometheus Alertmanager</a></li> +{% endif %} +{% if 'grafana' in monitoring_landingpage_services %} <li><a target='_blank' href='/grafana/'>Grafana</a></li> +{% endif %} </ul> </div> </body> |