| {{lang.words.name|title()}} * | {{ input('new-smon-name', style="width: 240px;") }} | ||
| Place * | |||
|
|
|||
| {{lang.words.checking|title()}} * | {% set check_types = {'dns': 'DNS', 'ping': 'Ping', 'smtp': 'SMTP', 'rabbitmq': 'RabbitMQ', 'tcp': 'TCP', 'http': 'HTTP(s)'} %} {{ select('check_type', values=check_types, selected='http') }} | ||
| {{lang.phrases.check_interval}} * | {{ input('new-smon-interval', value='120', type='number', placeholder='120', title=lang.phrases.check_interval_title, style="width: 240px;") }} | ||
| {{lang.words.Hostname}} * | {{ input('new-smon-ip', style="width: 240px;") }} | ||
| {{lang.smon_page.desc.packet_size}} * | {{ input('new-smon-packet_size', value='56', type='number', placeholder='56', style="width: 240px;") }} | ||
| {{lang.smon_page.desc.count_packets}} * | {{ input('new-smon-count_packets', value='5', type='number', placeholder='5', style="width: 240px;") }} | ||
| {{lang.smon_page.desc.use_kernel_timestamp}} |
{{ checkbox('new-smon-use_kernel_timestamp') }}
{{ lang.smon_page.desc.use_kernel_timestamp_desc }}
|
||
| Resolver {{lang.words.server}} * | {{ input('new-smon-resolver-server', value='8.8.8.8', style="width: 240px;") }} | ||
| {{lang.words.port|title()}} * | {{ input('new-smon-port', type='number', style="width: 240px;") }} | ||
| {{lang.words.username|title()}} * | {{ input('new-smon-username', placeholder='example@example.com', style="width: 240px;") }} | ||
| {{lang.words.password|title()}} * | {{ input('new-smon-password', type='password', style="width: 240px;") }} | ||
| VHost * | {{ input('new-smon-vhost', type='vhost', value='/', style="width: 240px;") }} | ||
| {{lang.words.timeout|title()}} * | {{ input('new-smon-timeout', type='number', style="width: 240px;", value=10) }} | {{lang.words.Retries}} * |
{{ input('new-smon-retries', type='number', style="width: 240px;", value=3) }}
{{ lang.smon_page.desc.retries_desc }}
|
| URL * | {{ input('new-smon-url', value='https://', title='proto://url[:port]/', placeholder='proto://url[:port]/', style="width: 240px;") }} | ||
| {{ lang.smon_page.desc.resolve_to_ip }} | {{ input('new-smon-resole_to_ip', title='IPv4 or IPv6', placeholder='1.1.1.1', style="width: 240px;") }} | ||
| {{lang.words.headers|title()}} {{lang.words.response}} |
|
||
| {{lang.words.body|title()}} {{lang.words.response}} |
{{ input('new-smon-body-keyword', style="width: 240px;") }}
*
{{ input('new-smon-body-json-path', style="width: 240px;", placeholder="Example: $.foo") }}
*
Check out jsonata.org
for the documentation about the query language. A playground can be found here.
{{ input('new-smon-body-json-value', style="width: 240px;", placeholder="Example: \"bar\"") }}
Leave value empty, if want to check only path
|
||
| HTTP {{lang.words.method}} | {% set http_methods = {'get': 'GET', 'post': 'POST', 'put': 'PUT', 'head': 'HEAD', 'patch': 'PATCH', 'delete': 'DELETE', 'options': 'OPTIONS'} %} {{ select('new-smon-method', values=http_methods, selected='get') }} | ||
| {{ lang.words.check|title() }} HTTP {{ lang.words.version }} | {% set http_versions = {'0': 'None', 1: '1.1', 2: '1.1', 3: '2', 4: '3'} %} {{ select('new-smon-http_version', values=http_versions, selected='0') }} | ||
| {{lang.words.body|title()}} {{lang.words.request}} | |||
| {{lang.words.headers|title()}} {{lang.words.request}} | |||
| {{lang.phrases.accepted_status_code}} * | {{ input('new-smon-status-code') }} | ||
| {{lang.smon_page.desc.redirects}} |
{{ input('new-smon-redirects', type='number', style="width: 240px;", value=10) }}
{{ lang.smon_page.desc.redirects_desc }}
|
||
| {{lang.phrases.ignore_ssl_error}} | {{ checkbox('new-smon-ignore_ssl_error') }} | {{ lang.words.accept|title() }} cookies | {{ checkbox('new-smon-accept_cookies', 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') }} | ||
| {{lang.words.enable|title()}} | {{ checkbox('new-smon-enable', checked='checked') }} |
| Proxy | |
| Host {{ lang.words.and }} {{ lang.words.port }} * | {{ input('new-smon-http_proxy_host', placeholder='proxy-server.com') }} {{ input('new-smon-http_proxy_port', placeholder='3128') }} |
| Authentication | {{ input('new-smon-http_proxy_username', placeholder='username') }} {{ input('new-smon-http_proxy_password', placeholder='password', type='password') }} |
| Authentication method | |
| Key * | |
| Cert * | |
| CA | |
| {{ lang.words.username|title() }} | {{ input('new-smon-basic_username') }} |
| {{ lang.words.password|title() }} | {{ input('new-smon-basic_password', type='password') }} |
| {{ lang.phrases.expiration_date }} |
{{ input('new-smon-expiration', placeholder="YYYY-MM-DD HH:MM") }}
{{ lang.words.time|title() }} UTC
|
| {{ lang.phrases.threshold_timeout }} |
{{ input('new-smon-threshold_timeout', value=0) }}
{{ lang.phrases.threshold_timeout_desc }}
|
| Telegram | |
| Slack | |
| PagerDuty | |
| Mattermost | |
| IncidentRelay | |
| {{ lang.words.priority|title() }} | |
| {{lang.words.runbook|title()}} | {{ input('new-smon-runbook', style="width: 240px;", placeholder="https://wiki.example.com/runbook/help") }} |
| {{lang.words.group|title()}} | {{ input('new-smon-group', style="width: 240px;") }} |
| {{lang.words.desc|title()}} | {{ input('new-smon-description', style="width: 240px;") }} |