{% extends "base.html" %} {% block title %}{{ lang.menu_links.monitoring.smon.agent }}{% endblock %} {% block content %} {% from 'include/input_macros.html' import input, select %} {% if smon_status in ('failed', 'inactive', 'ERROR') %}

{{lang.smon_page.desc.smon_is_not_run}}

There is no server

{{lang.smon_page.desc.run_smon}} {{lang.words.here}} {{lang.smon_page.desc.before_use}}

{% else %} {% if g.user_params['role'] <= 2 %}
+ {{lang.smon_page.desc.add_agent}} + {{lang.smon_page.desc.add_region}} + {{lang.smon_page.desc.add_country}}
{% endif %}
{{ lang.words.countries|title() }}
{% for country in countries %}
{% endfor %}
{{ lang.words.regions|title() }}
{% for region in regions %}
{% endfor %}
{{ lang.words.agents|title() }}
{% for agent in agents %}
{% endfor %}
{% endif %} {% include 'include/smon/dialogs.html' %} {% endblock %}