{% import 'main/macros.tpl.html' as macro %} {{ macro.input_csrf() }}
{% if status|lower == 'on' %} {% elseif status|lower == 'warning' %} {% elseif status|lower == 'off' %} {% else %} {% endif %}
{{ label }}
  • {{ label_domain }}:
    {{ ip|raw }}
  • {% if type|lower == 'service' %}
  • {{ label_port }}:
    {{ port }}
  • {% endif %}
  • {{ label_status }}:
    {{ status }}
  • {{ label_rtime }}:
    {{ rtime }} {{ label_seconds }}
{{ label_settings }}
  • {{ label_type }}:
    {{ type }}
  • {{ label_warning_threshold }}:
    {{ warning_threshold }}
  • {{ label_timeout }}:
    {{ timeout }} {{ label_seconds }}
{{ label_status }}
  • {{ label_last_online }}:
    {{ last_online }}
  • {{ label_last_offline }}:
    {{ last_offline }}
  • {{ label_last_check }}:
    {{ last_check }}
{{ label_output }}
  • {{ label_last_error }}:
    {{ last_error|nl2br }}
  • {{ label_last_output }}:
    {{ last_output_truncated|nl2br }}
    {% if last_output_truncated != last_output %}
    {% endif %}
  • {{ label_last_error_output }}:
    {{ last_error_output_truncated|nl2br }}
    {% if last_error_output_truncated != last_error_output %}
    {% endif %}
{{ label_fieldset_monitoring }}
  • {{ label_monitoring }}: {% if active|lower == 'yes' %} {% elseif active|lower == 'no' %} {% else %} {% endif %}
  • {{ label_email }}: {% if email|lower == 'yes' %} {% elseif email|lower == 'no' %} {% else %} {% endif %}
  • {{ label_sms }}: {% if sms|lower == 'yes' %} {% elseif sms|lower == 'no' %} {% else %} {% endif %}
  • {{ label_pushover }}: {% if pushover|lower == 'yes' %} {% elseif pushover|lower == 'no' %} {% else %} {% endif %}
  • {{ label_telegram }}: {% if telegram|lower == 'yes' %} {% elseif telegram|lower == 'no' %} {% else %} {% endif %}
  • {{ label_jabber }}: {% if jabber|lower == 'yes' %} {% elseif jabber|lower == 'no' %} {% else %} {% endif %}
{{ html_history|raw }}