{% from 'include/input_macros.html' import input, select, checkbox %} {% if user_status == 0 %} {% include 'include/no_sub.html' %} {% else %} {% for s in services %} {% if s.0 == 'roxy-wi-checker' %} {% if s.3 == '* is not installed' and s.3 == '' %}
Web panel | |
Server | Telegram | Slack | Service | Backend | Maxconn | ||
{{s.1}} | {% set id = 'haproxy_server_email-' + h.id|string() %} {% if h.email == 1 %} {{ checkbox(id, checked='checked') }} {% else %} {{ checkbox(id) }} {% endif %} | {% set id = 'haproxy_server_status-' + h.id|string() %} {% if h.service_alert == 1 %} {{ checkbox(id, checked='checked', title='Alert about changing service status') }} {% else %} {{ checkbox(id, title='Alert about changing service status') }} {% endif %} | {% set id = 'haproxy_server_backend-' + h.id|string() %} {% if h.backend_alert == 1 %} {{ checkbox(id, checked='checked', title='Alert about changing backend status') }} {% else %} {{ checkbox(id, title='Alert about changing backend status') }} {% endif %} | {% set id = 'haproxy_server_maxconn-' + h.id|string() %} {% if h.maxconn_alert == 1 %} {{ checkbox(id, checked='checked', title='Alert if the number of connections is about to reach the limit') }} {% else %} {{ checkbox(id, title='Alert if the number of connections is about to reach the limit') }} {% endif %} |
Server | Telegram | Slack | Service | ||
{{s.1}} | {% set id = 'nginx_server_email-' + h.id|string() %} {% if h.email == 1 %} {{ checkbox(id, checked='checked', title='Alert via email') }} {% else %} {{ checkbox(id, title='Alert via email') }} {% endif %} | {% set id = 'nginx_server_status-' + h.id|string() %} {% if h.service_alert == 1 %} {{ checkbox(id, checked='checked', title='Alert about changing service status') }} {% else %} {{ checkbox(id, title='Alert about changing service status') }} {% endif %} |
Server | Telegram | Slack | Service | ||
{{s.1}} | {% set id = 'apache_server_email-' + h.id|string() %} {% if h.email == 1 %} {{ checkbox(id, checked='checked', title='Alert via email') }} {% else %} {{ checkbox(id, title='Alert via email') }} {% endif %} | {% set id = 'apache_server_status-' + h.id|string() %} {% if h.service_alert == 1 %} {{ checkbox(id, checked='checked', title='Alert about changing service status') }} {% else %} {{ checkbox(id, title='Alert about changing service status') }} {% endif %} |
Server | Telegram | Slack | Service | Status | ||
{{s.1}} | {% set id = 'keepalived_server_email-' + h.id|string() %} {% if h.email == 1 %} {{ checkbox(id, checked='checked', title='Alert via email') }} {% else %} {{ checkbox(id, title='Alert via email') }} {% endif %} | {% set id = 'keepalived_server_status-' + h.id|string() %} {% if h.service_alert == 1 %} {{ checkbox(id, checked='checked', title='Alert about changing service status') }} {% else %} {{ checkbox(id, title='Alert about changing service status') }} {% endif %} | {% set id = 'keepalived_server_backend-' + h.id|string() %} {% if h.backend_alert == 1 %} {{ checkbox(id, checked='checked', title='Alert about changing Master/Backup status') }} {% else %} {{ checkbox(id, title='Alert about changing Master/Backup status') }} {% endif %} |