{include file="../../../application/admin/view_new/public/head" /}
{:lang('admin/monitor/rule_add')}
{:lang('admin/monitor/title_event')} {:lang('admin/monitor/title_setting')}
{:lang('admin/monitor/rule_default_off_hint')}

{:lang('admin/monitor/f_rule_name')} | {:lang('admin/monitor/f_metric')} | {:lang('admin/monitor/f_condition')} | {:lang('admin/monitor/f_for_min')} | {:lang('admin/monitor/f_severity')} | {:lang('admin/monitor/f_channels')} | {:lang('status')} | {:lang('opt')}
--- | --- | --- | --- | --- | --- | --- | ---
{volist name="list" id="r"}
{$r.rule_name} | `{$r.rule_metric}` | {$r.rule_agg}({$r.rule_window_min}m) {$r.rule_op} {$r.rule_threshold} | {$r.rule_for_min}m | {if condition="$r['rule_severity'] eq 3"}{:lang('admin/monitor/sev_critical')} {elseif condition="$r['rule_severity'] eq 2" /}{:lang('admin/monitor/sev_warning')} {else /}{:lang('admin/monitor/sev_info')}{/if} | {$r.rule_channels} |  | {:lang('edit')}
{/volist}

{:lang('admin/monitor/test_push')}
{foreach name="push_channels" item="ch"}
{/foreach}
{:lang('admin/monitor/test_push_hint')}
{include file="../../../application/admin/view_new/public/foot" /}