{% if dashid == "welcome" %}

Welcome to MonDash!

You're currently seeing a demo dashboard updated with random numbers below. To get started read the API documentation and create your own dashboard by clicking the button in the upper right hand corner…

If you have any questions about this project don't hesitate to ask Knut.

{% endif %} {% if metrics|length == 0 and dashid != "welcome" %}

Welcome to your new dashboard. Your API-key is:

{{ apikey }}

After you sent your first metric you can reach your dashboard here:

{{ baseurl }}/{{ dashid }}
{% else %} {% for metric in metrics %} {% if metric.PreferredStatus == "OK" %}
{% elif metric.PreferredStatus == "Warning" %}
{% elif metric.PreferredStatus == "Critical" %}
{% else %}
{% endif %}

{{ metric.Title }}

{{ metric.Description }}

{% if metric.Status == "OK" %} Current Value: {{ metric.Value }} {% elif metric.Status == "Warning" %} Current Value: {{ metric.Value }} {% elif metric.Status == "Critical" %} Current Value: {{ metric.Value }} {% else %} Current Value: {{ metric.Value }} {% endif %} {% if !metric.HideMAD %} {{ metric.MadMultiplier }} MAD above the Median ({{ metric.Median }}) {% endif %} {% if !metric.HideMAD %}
{% endif %} Updated {{ metric.Meta.LastUpdate|naturaltime}} {% if metric.Status != "OK" %} / Last ok {{ metric.Meta.LastOK|naturaltime }} {% endif %}
{% endfor %} {% endif %}