{% extends "base.html" %} {% block title %}{{ lang.menu_links.monitoring.smon.agent }}{% endblock %} {% block h2 %}{{ lang.menu_links.monitoring.smon.agent }}{% endblock %} {% block content %} {% from 'include/input_macros.html' import input, select %} {% if user_subscription['user_status'] == 0 %} {% include 'include/no_sub.html' %} {% elif 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}}
{% endif %}
{% for agent in agents %}
{% endfor %}
{% endif %} {% endblock %}