{% import 'languages/'+lang|default('en')+'.html' as lang %} {% if roxy_tools_status['roxy-wi-metrics'] == 'active' %} {% if role <= 1 %} Metrics master {% else %} Metrics master {% endif %} {% else %} {% if roxy_tools_status['roxy-wi-metrics'] == 'inactive' or roxy_tools_status['roxy-wi-metrics'] == 'failed' %} {% if role <= 1 %} Metrics master {% else %} Metrics master {% endif %} {% else %} Metrics master {% endif %} {% endif %} {% if roxy_tools_status['roxy-wi-checker'] == 'active' %} {% if role <= 1 %} Checker master {% else %} Checker master {% endif %} {% else %} {% if roxy_tools_status['roxy-wi-checker'] == 'inactive' or roxy_tools_status['roxy-wi-checker'] == 'failed' %} {% if role <= 1 %} Checker master {% else %} Checker master {% endif %} {% else %} Checker master {% endif %} {% endif %} {% if roxy_tools_status['roxy-wi-keep_alive'] == 'active' %} {% if role <= 1 %} Auto start {% else %} Auto star {% endif %} {% else %} {% if roxy_tools_status['roxy-wi-keep_alive'] == 'inactive' or roxy_tools_status['roxy-wi-keep_alive'] == 'failed' %} {% if role <= 1 %} Auto start {% else %} Auto start {% endif %} {% else %} Auto start {% endif %} {% endif %} {% if metrics_worker|int() >= 1 %} {% else %} {% if is_metrics_worker|int() == 0 %} {% else %} {% endif %} {% endif %} {% if role <= 1 %} Metrics workers {% else %} Metrics workers {% endif %} {% if checker_worker|int() >= 1 %} {% else %} {% if is_checker_worker|int() == 0 %} {% else %} {% endif %} {% endif %} {% if role <= 1 %} Checker workers {% else %} Checker workers {% endif %} {% if roxy_tools_status['roxy-wi-smon'] == 'active' %} SMON {% else %} {% if roxy_tools_status['roxy-wi-smon'] == 'inactive' or roxy_tools_status['roxy-wi-smon'] == 'failed' %} SMON {% else %} SMON {% endif %} {% endif %} {% if role == 1 %} {% if grafana|int() >= 1 %} Grafana {% else %} Grafana {% endif %} {% endif %} {% if roxy_tools_status['roxy-wi-socket'] == 'active' %} {% if role <= 1 %} Socket service {% else %} Socket service {% endif %} {% else %} {% if roxy_tools_status['roxy-wi-socket'] == 'inactive' or roxy_tools_status['roxy-wi-socket'] == 'failed' %} Socket service {% else %} Socket service {% endif %} {% endif %} {% if roxy_tools_status['roxy-wi-portscanner'] == 'active' %} Port scanner {% else %} {% if roxy_tools_status['roxy-wi-portscanner'] == 'inactive' or roxy_tools_status['roxy-wi-portscanner'] == 'failed' %} Port scanner {% else %} Port scanner {% endif %} {% endif %}