Commit 1ad8d0d8 authored by Ecklory's avatar Ecklory

Fix use trigger

parent 9ed02960
......@@ -178,7 +178,7 @@
<tags/>
</trigger>
<trigger>
<expression>{Template App Metricbeat:proc.num[metricbeat].last()} = 0</expression>
<expression>{Template App Metricbeat:proc.num[metricbeat].last()} &lt;&gt; 1</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>Metricbeat service is not active</name>
......@@ -194,7 +194,7 @@
<tags/>
</trigger>
<trigger>
<expression>{Template App Metricbeat:metricbeat.version.abschange()} = 1</expression>
<expression>{Template App Metricbeat:metricbeat.version.abschange()} &lt;&gt; 0</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>Metricbeat version was changed</name>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment