{% include 'include/tr_validate_tips.html' %}
{{lang.words.name|title()}}
*
|
{{ input('new-smon-name') }}
|
{{lang.words.checking|title()}}
*
|
{% set check_types = {'dns': 'DNS', 'ping': 'Ping', 'tcp': 'TCP/UDP', 'http': 'HTTP(s)'} %}
{{ select('check_type', values=check_types, selected='http') }}
|
{{lang.words.Hostname}}
*
|
{{ input('new-smon-ip') }}
|
{{lang.smon_page.desc.packet_size}}
*
|
{{ input('new-smon-packet_size', value='56', type='number', placeholder='56') }}
|
Resolver {{lang.words.server}}
*
|
{{ input('new-smon-resolver-server', value='8.8.8.8') }}
|
{{lang.words.port|title()}}
*
|
{{ input('new-smon-port', type='number', size='4') }}
|
URL
*
|
{{ input('new-smon-url', value='https://', title='proto://url[:port]/') }} |
{{lang.words.body|title()}} |
{{ input('new-smon-body') }} |
HTTP {{lang.words.method}} |
{% set http_methods = {'get': 'GET', 'post': 'POST', 'put': 'PUT', 'patch': 'PATCH', 'delete': 'DELETE',
'head': 'HEAD', 'options': 'OPTIONS'} %}
{{ select('new-smon-method', values=http_methods, selected='get') }}
|
{{lang.words.enable|title()}} |
{{ checkbox('new-smon-enable', checked='checked') }}
|
{{lang.phrases.resource_record_type}}
*
|
{% set check_types = {'a': 'A', 'aaa': 'AAA', 'caa': 'CAA', 'cname': 'CNAME', 'mx': 'MX', 'ns': 'NS',
'ptr': 'PTR', 'sao': 'SAO', 'srv': 'SRV', 'txt': 'TXT'} %}
{{ select('new-smon-dns_record_type', values=check_types, selected='a') }}
|
Telegram |
|
Slack |
|
PagerDuty |
|
{{lang.words.group|title()}} |
{{ input('new-smon-group') }} |
{{lang.words.desc|title()}} |
{{ input('new-smon-description') }} |