farm trigger recovery fix
This commit is contained in:
+7
-7
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<zabbix_export>
|
||||
<version>4.2</version>
|
||||
<date>2019-07-07T01:07:33Z</date>
|
||||
<date>2020-05-12T04:29:40Z</date>
|
||||
<groups>
|
||||
<group>
|
||||
<name>Фермы</name>
|
||||
@@ -1265,15 +1265,15 @@ return $123;</params>
|
||||
</templates>
|
||||
<triggers>
|
||||
<trigger>
|
||||
<expression>{Farm:net.tcp.service[tcp,,3333].last(20m)}=0 and {Farm:icmpping.last(20m)}=1</expression>
|
||||
<expression>{Farm:net.tcp.service[tcp,,3333].last(5m)}=0 and {Farm:icmpping.last(5m)}=1</expression>
|
||||
<recovery_mode>1</recovery_mode>
|
||||
<recovery_expression>{Farm:net.tcp.service[tcp,,3333].last()}=1</recovery_expression>
|
||||
<recovery_expression>{Farm:net.tcp.service[tcp,,3333].last()}=1 or ({Farm:net.tcp.service[tcp,,3333].last(3m)}=0 and {Farm:icmpping.last(3m)}=0)</recovery_expression>
|
||||
<name>Claymore DOWN {HOST.NAME}</name>
|
||||
<correlation_mode>0</correlation_mode>
|
||||
<correlation_tag/>
|
||||
<url/>
|
||||
<status>0</status>
|
||||
<priority>0</priority>
|
||||
<priority>4</priority>
|
||||
<description/>
|
||||
<type>0</type>
|
||||
<manual_close>1</manual_close>
|
||||
@@ -1281,7 +1281,7 @@ return $123;</params>
|
||||
<tags/>
|
||||
</trigger>
|
||||
<trigger>
|
||||
<expression>{Farm:net.tcp.service[tcp,,3333].last(15m)}=0 and {Farm:icmpping.last(15m)}=0</expression>
|
||||
<expression>{Farm:net.tcp.service[tcp,,3333].last(3m)}=0 and {Farm:icmpping.last(3m)}=0</expression>
|
||||
<recovery_mode>1</recovery_mode>
|
||||
<recovery_expression>{Farm:icmpping.last()}=1 or {Farm:net.tcp.service[tcp,,3333].last()}=1</recovery_expression>
|
||||
<name>Farm Host DOWN {HOST.NAME}</name>
|
||||
@@ -1315,7 +1315,7 @@ return $123;</params>
|
||||
<correlation_tag/>
|
||||
<url/>
|
||||
<status>1</status>
|
||||
<priority>2</priority>
|
||||
<priority>1</priority>
|
||||
<description/>
|
||||
<type>0</type>
|
||||
<manual_close>1</manual_close>
|
||||
@@ -1347,7 +1347,7 @@ return $123;</params>
|
||||
<correlation_tag/>
|
||||
<url/>
|
||||
<status>0</status>
|
||||
<priority>4</priority>
|
||||
<priority>2</priority>
|
||||
<description/>
|
||||
<type>0</type>
|
||||
<manual_close>1</manual_close>
|
||||
|
||||
Reference in New Issue
Block a user