{% include 'include/tr_validate_tips.html' %}
{{lang.words.name|title()}}
*
|
{{ input('new-smon-name') }}
|
{{lang.words.checking|title()}}
*
|
{% set check_types = {'ping': 'Ping', 'tcp': 'TCP/UDP', 'http': 'HTTP(s)'} %}
{{ select('check_type', values=check_types, selected='http') }}
|
{{lang.words.Hostname}}
*
|
{{ input('new-smon-ip') }}
|
{{lang.words.port|title()}}
*
|
{{ input('new-smon-port', type='number', size='4') }}
|
{{lang.words.enable|title()}} |
{{ checkbox('new-smon-enable', checked='checked') }}
|
URL |
{{ input('new-smon-url', value='https://', title='proto://url[:port]/') }} |
{{lang.words.body|title()}} |
{{ input('new-smon-body') }} |
Telegram |
|
Slack |
|
PagerDuty |
|
{{lang.words.group|title()}} |
{{ input('new-smon-group') }} |
{{lang.words.desc|title()}} |
{{ input('new-smon-description') }} |
{% include 'include/del_confirm.html' %}
{% elif action == 'history' or action == 'checker_history' %}
{% include 'ajax/alerts_history.html' %}
{% else %}