low hash trigger fix

This commit is contained in:
2020-06-04 12:01:18 +08:00
parent d59d7ee281
commit f2ab1d89c5
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2020-06-04T01:49:15Z</date>
<date>2020-06-04T03:56:25Z</date>
<groups>
<group>
<name>Aixin A1</name>
@@ -213,7 +213,7 @@
</macro>
<macro>
<macro>{$HASH_LOW}</macro>
<value>19000</value>
<value>18000</value>
</macro>
<macro>
<macro>{$HOST.PORT}</macro>
@@ -255,7 +255,7 @@
<manual_close>YES</manual_close>
</trigger>
<trigger>
<expression>({Aixin A1:AntMinerA1.Hashrate.last(#3)}&lt;{$HASH_LOW} and {Aixin A1:AntMinerA1.Elapsed.last()}&gt;600) and {Aixin A1:icmpping.last()}=1</expression>
<expression>({Aixin A1:AntMinerA1.Hashrate.last()}&lt;{$HASH_LOW} and {Aixin A1:AntMinerA1.Elapsed.last()}&gt;600) and ({Aixin A1:icmpping.last()}=1 and {Aixin A1:net.tcp.service[tcp,,4028].last()}=1)</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{Aixin A1:AntMinerA1.Hashrate.last(#3)}&gt;{$HASH_LOW}</recovery_expression>
<name>AntMiner A1 Low hashrate on {HOST.NAME}</name>