{% import 'languages/'+lang|default('en')+'.html' as lang %} {% 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 == '' %}
{{lang.words.email|title()}} | {{lang.words.web_panel|title()}} |
{{lang.words.server|title()}} | Telegram | Slack | PagerDuty | {{lang.words.email|title()}} | {{lang.words.service|title()}} | {{lang.words.backend|title()}} | 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=lang.phrases.alert_service_change_status) }} {% else %} {{ checkbox(id, title=lang.phrases.alert_service_change_status) }} {% endif %} | {% set id = 'haproxy_server_backend-' + h.id|string() %} {% if h.backend_alert == 1 %} {{ checkbox(id, checked='checked', title=lang.phrases.alert_backend_change_status) }} {% else %} {{ checkbox(id, title=lang.phrases.alert_backend_change_status) }} {% endif %} | {% set id = 'haproxy_server_maxconn-' + h.id|string() %} {% if h.maxconn_alert == 1 %} {{ checkbox(id, checked='checked', title=lang.phrases.alert_number_conn) }} {% else %} {{ checkbox(id, title=lang.phrases.alert_number_conn) }} {% endif %} |
{{lang.words.server|title()}} | Telegram | Slack | PagerDuty | {{lang.words.email|title()}} | {{lang.words.service|title()}} | |
{{s.1}} | {% set id = 'nginx_server_email-' + h.id|string() %} {% if h.email == 1 %} {{ checkbox(id, checked='checked', title=lang.words.alert|title()+' '+lang.words.via + ' '+lang.words.email) }} {% else %} {{ checkbox(id, title=lang.words.alert|title()+' '+lang.words.via + ' '+lang.words.email) }} {% endif %} | {% set id = 'nginx_server_status-' + h.id|string() %} {% if h.service_alert == 1 %} {{ checkbox(id, checked='checked', title=lang.phrases.alert_service_change_status) }} {% else %} {{ checkbox(id, title=lang.phrases.alert_service_change_status) }} {% endif %} |
{{lang.words.server|title()}} | Telegram | Slack | PagerDuty | {{lang.words.email|title()}} | {{lang.words.service|title()}} | |
{{s.1}} | {% set id = 'apache_server_email-' + h.id|string() %} {% if h.email == 1 %} {{ checkbox(id, checked='checked', title=lang.words.alert|title()+' '+lang.words.via + ' '+lang.words.email) }} {% else %} {{ checkbox(id, title=lang.words.alert|title()+' '+lang.words.via + ' '+lang.words.email) }} {% endif %} | {% set id = 'apache_server_status-' + h.id|string() %} {% if h.service_alert == 1 %} {{ checkbox(id, checked='checked', title=lang.phrases.alert_service_change_status) }} {% else %} {{ checkbox(id, title=lang.phrases.alert_service_change_status) }} {% endif %} |
{{lang.words.server|title()}} | Telegram | Slack | PagerDuty | {{lang.words.email|title()}} | {{lang.words.service|title()}} | {{lang.words.status|title()}} | |
{{s.1}} | {% set id = 'keepalived_server_email-' + h.id|string() %} {% if h.email == 1 %} {{ checkbox(id, checked='checked', title=lang.words.alert|title()+' '+lang.words.via + ' '+lang.words.email) }} {% else %} {{ checkbox(id, title=lang.words.alert|title()+' '+lang.words.via + ' '+lang.words.email) }} {% endif %} | {% set id = 'keepalived_server_status-' + h.id|string() %} {% if h.service_alert == 1 %} {{ checkbox(id, checked='checked', title=lang.phrases.alert_service_change_status) }} {% else %} {{ checkbox(id, title=lang.phrases.alert_service_change_status) }} {% endif %} | {% set id = 'keepalived_server_backend-' + h.id|string() %} {% if h.backend_alert == 1 %} {{ checkbox(id, checked='checked', title=lang.phrases.alert_master_backup) }} {% else %} {{ checkbox(id, title=lang.phrases.alert_master_backup) }} {% endif %} |