{% extends "pyfarm/user_interface/layout.html" %} {% block title %}Agents{% endblock %} {% block agents_nb_class %}active{% endblock %} {% block additional_scripts %} {% endblock %} {% block content %}
Agenst: {{ agents_count }} (Online: {{ online_agents_count }}, Running: {{ running_agents_count }}, Offline {{ offline_agents_count }}, Disabled {{ disabled_agents_count }})
{% for agent in agents %} {% endfor %}
State {% if order_by == 'state' and order_dir == 'desc' %} {% elif order_by == 'state' %} {% endif %} / Hostname {% if order_by == 'hostname' and order_dir == 'desc' %} {% elif order_by == 'hostname' %} {% endif %} IP-Address {% if order_by == 'remote_ip' and order_dir == 'desc' %} {% elif order_by == 'remote_ip' %} {% endif %} CPUs {% if order_by == 'cpus' and order_dir == 'desc' %} {% elif order_by == 'cpus' %} {% endif %} RAM {% if order_by == 'ram' and order_dir == 'desc' %} {% elif order_by == 'ram' %} {% endif %} Version {% if order_by == 'version' and order_dir == 'desc' %} {% elif order_by == 'version' %} {% endif %} Last Heard From {% if order_by == 'last_heard_from' and order_dir == 'desc' %} {% elif order_by == 'last_heard_from' %} {% endif %}
{% if not agent.is_offline() %}
{% endif %}
{% if agent.state == "online" %} {% endif %} {% if agent.state == "running" %} {% endif %} {% if agent.state == "offline" %} {% endif %} {% if agent.state == "disabled" %} {% endif %} {{ agent.hostname }} {% for tag in agent.tags %} {% if tag.tag in filters.tags %} {{ tag.tag }} {% else %} {{ tag.tag }} {% endif %} {% endfor %} {{ agent.remote_ip }} {{ agent.cpus }} {{ agent.ram }} MiB {{ agent.version }} {{ agent.last_heard_from }}
{% endblock %}