From d50a0dd127482a4e9392f7453a52a612c154780d Mon Sep 17 00:00:00 2001 From: 3err0 Date: Fri, 21 Jun 2019 15:47:14 +0800 Subject: [PATCH] hostdown trigger fix --- template-farm.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template-farm.xml b/template-farm.xml index 037ccb4..793f226 100644 --- a/template-farm.xml +++ b/template-farm.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-08T06:04:34Z + 2019-06-21T07:44:40Z Фермы @@ -1281,7 +1281,7 @@ return $123; - {Farm:net.tcp.service[tcp,,3333].last(#3)}=0 and {Farm:icmpping.last(#3)}=0 + {Farm:net.tcp.service[tcp,,3333].min(5m)}=0 and {Farm:icmpping.min(5m)}=0 1 {Farm:icmpping.last()}=1 or {Farm:net.tcp.service[tcp,,3333].last()}=1 Farm Host DOWN {HOST.NAME}