{% if agent_id %} {% set correct_region_type = lang.words.agent3 %} {% elif region_id %} {% set correct_region_type = lang.words.region %} {% else %} {% set correct_region_type = lang.words.country %} {% endif %}
{{ lang.words.checks|title() }} {{ lang.words.on }} {{ lang.words.the }} {{ correct_region_type }}
{% if http_checks %}
HTTP:
{% for check in http_checks %}
{{ lang.words.name|title() }}: {{ check.smon_id.multi_check_id.name|replace("'", "") }} {{ lang.words.interval|title() }}: {{ check.interval }} URL: {{ check.url }} {{ lang.words.method|title() }}: {{ check.method|upper() }} {{ lang.words.agent|title() }}
{% endfor %}
{% endif %} {% if tcp_checks %}
TCP:
{% for check in tcp_checks %}
{{ lang.words.name|title() }}: {{ check.smon_id.multi_check_id.name|replace("'", "") }} {{ lang.words.interval|title() }}: {{ check.interval }} {{ lang.words.Hostname }}: {{ check.ip }} {{ lang.words.port|title() }}: {{ check.port }} {{ lang.words.agent|title() }}
{% endfor %}
{% endif %} {% if dns_checks %}
DNS:
{% for check in dns_checks %}
{{ lang.words.name|title() }}: {{ check.smon_id.multi_check_id.name|replace("'", "") }} {{ lang.words.interval|title() }}: {{ check.interval }} {{ lang.words.record|title() }}: {{ check.ip }} Resolver:{{ check.resolver }} {{ lang.words.record_type|title() }}: {{ check.record_type|upper() }} {{ lang.words.port|title() }}: {{ check.port }} {{ lang.words.agent|title() }}
{% endfor %}
{% endif %} {% if ping_checks %}
Ping:
{% for check in ping_checks %}
{{ lang.words.name|title() }}: {{ check.smon_id.multi_check_id.name|replace("'", "") }} {{ lang.words.interval|title() }}: {{ check.interval }} {{ lang.words.Hostname }}: {{ check.ip }} {{ lang.smon_page.desc.packet_size }}: {{ check.packet_size }} {{ lang.words.agent|title() }}
{% endfor %}
{% endif %} {% if smtp_checks %}
SMTP:
{% for check in smtp_checks %}
{{ lang.words.name|title() }}: {{ check.smon_id.multi_check_id.name|replace("'", "") }} {{ lang.words.interval|title() }}: {{ check.interval }} {{ lang.words.Hostname }}: {{ check.ip }} {{ lang.words.port|title() }}: {{ check.port }} {{ lang.words.agent|title() }}
{% endfor %}
{% endif %} {% if rabbitmq_checks %}
RabbitMQ:
{% for check in rabbitmq_checks %}
{{ lang.words.name|title() }}: {{ check.smon_id.multi_check_id.name|replace("'", "") }} {{ lang.words.interval|title() }}: {{ check.interval }} {{ lang.words.Hostname }}: {{ check.ip }} VHost: {{ check.vhost }} {{ lang.words.port|title() }}: {{ check.port }} {{ lang.words.agent|title() }}
{% endfor %}
{% endif %}