From eae63d24b9f0677a2e3643739e9ecd139a68d439 Mon Sep 17 00:00:00 2001 From: 3err0 Date: Wed, 27 May 2020 18:45:56 +0800 Subject: [PATCH] new template aixin a1 --- template-aixin-a1.xml | 281 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 281 insertions(+) create mode 100644 template-aixin-a1.xml diff --git a/template-aixin-a1.xml b/template-aixin-a1.xml new file mode 100644 index 0000000..ecd231b --- /dev/null +++ b/template-aixin-a1.xml @@ -0,0 +1,281 @@ + + + 5.0 + 2020-05-27T10:44:36Z + + + Aixin A1 + + + + + + + + {Aixin A1:AntMinerA1.Hashrate.nodata(15m)}=1 and {Aixin A1:icmpping.last()}=1 + AntMiner A1 Hashrate information not available on {HOST.NAME} + HIGH + YES + + + ({Aixin A1:AntMinerA1.Temp1.min(15m)}>{$TEMP_LOW} or {Aixin A1:AntMinerA1.Temp2.min(15m)}>{$TEMP_LOW} or {Aixin A1:AntMinerA1.Temp3.min(15m)}>{$TEMP_LOW}) and {Aixin A1:icmpping.last()}=1 + RECOVERY_EXPRESSION + ({Aixin A1:AntMinerA1.Temp1.last()}<{$TEMP_LOW} or {Aixin A1:AntMinerA1.Temp2.last()}<{$TEMP_LOW} or {Aixin A1:AntMinerA1.Temp3.last()}<{$TEMP_LOW}) and {Aixin A1:icmpping.last()}=1 + AntMiner A1 High temp on {HOST.NAME} + AVERAGE + YES + + + {Aixin A1:icmpping.last(5m)}=0 and {Aixin A1:net.tcp.service[tcp,,4028].last(5m)}=0 + RECOVERY_EXPRESSION + {Aixin A1:icmpping.last()}=1 or {Aixin A1:net.tcp.service[tcp,,4028].last()}=1 + AntMiner A1 Host DOWN {HOST.NAME} + DISASTER + YES + + + ({Aixin A1:AntMinerA1.Fan1.last(10m)}<{$FAN_LOW} or {Aixin A1:AntMinerA1.Fan2.last(10m)}<{$FAN_LOW}) and {Aixin A1:icmpping.last()}=1 + AntMiner A1 low fan speed {HOST.NAME} + YES + + + ({Aixin A1:AntMinerA1.Hashrate.last(#3)}<{$HASH_LOW} and {Aixin A1:AntMinerA1.Elapsed.last()}>600) and {Aixin A1:icmpping.last()}=1 + RECOVERY_EXPRESSION + {Aixin A1:AntMinerA1.Hashrate.last(#3)}>{$HASH_LOW} + AntMiner A1 Low hashrate on {HOST.NAME} + WARNING + YES + + + + + Service state + + + 0 + Down + + + 1 + Up + + + + +