{% extends "base.html" %} {% block content %} {% from 'include/input_macros.html' import input, select %} {% include 'include/del_confirm.html' %}
{% include 'include/admin_users.html' %}
{% for group in groups %} {% if group.1 == "All" %} {% else %} {% endif %} {% endfor %}
Name Description
{{ group.1 }} {{ group.2 }} {% set id = 'name-' + group.0|string() %} {{ input(id, value=group.1) }} {% set id = 'descript-' + group.0|string() %} {% if group.2 != "None" %} {{ input(id, value=group.2, size='60') }} {% else %} {{ input(id, value='', size='60') }} {% endif %}

+ Add

How to setup groups you can read in this article
{% include 'include/admin_servers.html' %}
{% include 'include/admin_ssh.html' %}
{% include 'include/admin_telegram.html' %}
{% if openvpn != '' %} {% for c in openvpn_configs %} {% endfor %}

OpenVPN profiles

Profile name Time of creation
{{c.split('/')[-1]}} {{c.split('/')[0]}}

{% for c in openvpn_sess %} {% endfor %}

OpenVPN sessions

Session name Status
{{c.split(' ')[0]}} {{c.split(' ')[4]}}

Uploading ovpn files

Ovpn file name Upload ovpn file (?)
{{ input('ovpn_upload_name', size='30') }}

Upload

{% else %}

You do not have installed OpenVPN client. Read hear how to install OpenVPN client

{% endif %}
{% include 'include/admin_settings.html' %}
{% for s in services %} {% endfor %}
Service Actions Description
{% if s.1.0 == 'active' %} {% else %} {% if s.1.0 == 'inactive' or s.1.0 == 'failed' %} {% else %} {% endif %} {% endif %} {{s.0}} {{ s.2 }}
You can read about services here
{% set current_ver = versions.0 %} {% set new_ver = versions.1 %} {% set current_ver_without_dots = versions.2 %} {% set new_ver_without_dots = versions.3 %} {% for s in services %} {% if s.0 == 'smon' or s.0 == 'checker_haproxy' or s.0 == 'keep_alive' or s.0 == 'metrics_haproxy' %} {% set is_need_update = 0 %} {% if s.0 == 'smon' %} {% set service_name = 'SMON' %} {% set service_link = 'smon' %} {% set desc_link = 'https://haproxy-wi.org/services.py?service=smon' %} {% if s.3|float < smon_ver|float %} {% set is_need_update = 1 %} {% endif %} {% elif s.0 == 'checker_haproxy' %} {% set service_name = 'Checker' %} {% set service_link = 'checker' %} {% set desc_link = 'https://haproxy-wi.org/services.py?service=checker' %} {% if s.3|float < checker_ver|float %} {% set is_need_update = 1 %} {% endif %} {% elif s.0 == 'keep_alive' %} {% set service_name = 'Auto start' %} {% set service_link = 'auto_start' %} {% set desc_link = 'https://haproxy-wi.org/services.py?service=auto_start' %} {% if s.3|float < keep_ver|float %} {% set is_need_update = 1 %} {% endif %} {% elif s.0 == 'metrics_haproxy' %} {% set service_name = 'Metrics' %} {% set service_link = 'metrics' %} {% set desc_link = 'https://haproxy-wi.org/services.py?service=metrics' %} {% if s.3|float < metrics_ver|float %} {% set is_need_update = 1 %} {% endif %} {% endif %} {% endif %} {% endfor %}
Service Currnet version Last version Description
HAProxy-WI {{current_ver}} {{new_ver}} {% if new_ver_without_dots > current_ver_without_dots and new_ver != "Sorry cannot get current version" %} Update {% endif %} The main application
{{service_name}} {% if s.3 != '* is not installed' %} {{s.3}} {% endif %} {% if s.0 == 'smon' %} {{smon_ver}} {% elif s.0 == 'checker_haproxy' %} {{checker_ver}} {% elif s.0 == 'keep_alive' %} {{keep_ver}} {% elif s.0 == 'metrics_haproxy' %} {{metrics_ver}} {% endif %} {% if s.3 != '* is not installed' %} {% if is_need_update %} Update {% endif %} {% else %} {{service_name}} service is not installed Read about installation {% endif %} Read more about {{service_name}}
Note: For updating you have to use HAProxy-WI RPM. How to start using repository read here

If the HAProxy-WI server uses a proxy to connect to the Internet, add the proxy settings to yum.conf

Read more about updating in docs and changelog
{% include 'include/admin_backup.html' %}
{% include 'include/mon_installation.html' %}
{% include 'include/admins_dialogs.html' %} {% include 'include/change_pass_form.html' %} {% endblock %}