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"?> <?xml version="1.0" encoding="UTF-8"?>
<zabbix_export> <zabbix_export>
<version>5.0</version> <version>5.0</version>
<date>2020-06-04T01:49:15Z</date> <date>2020-06-04T03:56:25Z</date>
<groups> <groups>
<group> <group>
<name>Aixin A1</name> <name>Aixin A1</name>
@@ -213,7 +213,7 @@
</macro> </macro>
<macro> <macro>
<macro>{$HASH_LOW}</macro> <macro>{$HASH_LOW}</macro>
<value>19000</value> <value>18000</value>
</macro> </macro>
<macro> <macro>
<macro>{$HOST.PORT}</macro> <macro>{$HOST.PORT}</macro>
@@ -255,7 +255,7 @@
<manual_close>YES</manual_close> <manual_close>YES</manual_close>
</trigger> </trigger>
<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_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{Aixin A1:AntMinerA1.Hashrate.last(#3)}&gt;{$HASH_LOW}</recovery_expression> <recovery_expression>{Aixin A1:AntMinerA1.Hashrate.last(#3)}&gt;{$HASH_LOW}</recovery_expression>
<name>AntMiner A1 Low hashrate on {HOST.NAME}</name> <name>AntMiner A1 Low hashrate on {HOST.NAME}</name>
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<zabbix_export> <zabbix_export>
<version>4.2</version> <version>4.2</version>
<date>2020-06-01T23:29:29Z</date> <date>2020-06-04T03:56:42Z</date>
<groups> <groups>
<group> <group>
<name>AntMiner S9</name> <name>AntMiner S9</name>
@@ -1916,7 +1916,7 @@ return $123;</params>
<tags/> <tags/>
</trigger> </trigger>
<trigger> <trigger>
<expression>({AntMiner S9:AntMinerS9.Hashrate.last(#3)}&lt;{$HASH_LOW} and {AntMiner S9:AntMinerS9.Elapsed.last()}&gt;600) and {AntMiner S9:icmpping.last()}=1</expression> <expression>({AntMiner S9:AntMinerS9.Hashrate.last()}&lt;{$HASH_LOW} and {AntMiner S9:AntMinerS9.Elapsed.last()}&gt;600) and ({AntMiner S9:icmpping.last()}=1 and {AntMiner S9:net.tcp.service[tcp,,4028].last()}=1)</expression>
<recovery_mode>1</recovery_mode> <recovery_mode>1</recovery_mode>
<recovery_expression>{AntMiner S9:AntMinerS9.Hashrate.last()}&gt;{$HASH_LOW}</recovery_expression> <recovery_expression>{AntMiner S9:AntMinerS9.Hashrate.last()}&gt;{$HASH_LOW}</recovery_expression>
<name>AntMiner S9 Low hashrate on {HOST.NAME}</name> <name>AntMiner S9 Low hashrate on {HOST.NAME}</name>
+3 -3
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<zabbix_export> <zabbix_export>
<version>5.0</version> <version>5.0</version>
<date>2020-06-04T01:49:43Z</date> <date>2020-06-04T03:58:28Z</date>
<groups> <groups>
<group> <group>
<name>Cheetah F1</name> <name>Cheetah F1</name>
@@ -231,7 +231,7 @@
</macro> </macro>
<macro> <macro>
<macro>{$HASH_LOW}</macro> <macro>{$HASH_LOW}</macro>
<value>19000</value> <value>18000</value>
</macro> </macro>
<macro> <macro>
<macro>{$HOST.PORT}</macro> <macro>{$HOST.PORT}</macro>
@@ -273,7 +273,7 @@
<manual_close>YES</manual_close> <manual_close>YES</manual_close>
</trigger> </trigger>
<trigger> <trigger>
<expression>({Cheetah F1:AntMinerF1.Hashrate.last(#3)}&lt;{$HASH_LOW} and {Cheetah F1:AntMinerF1.Elapsed.last()}&gt;600) and {Cheetah F1:icmpping.last()}=1</expression> <expression>({Cheetah F1:AntMinerF1.Hashrate.last()}&lt;{$HASH_LOW} and {Cheetah F1:AntMinerF1.Elapsed.last()}&gt;600) and ({Cheetah F1:icmpping.last()}=1 and {Cheetah F1:net.tcp.service[tcp,,4028].last()}=1)</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode> <recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{Cheetah F1:AntMinerF1.Hashrate.last(#3)}&gt;{$HASH_LOW}</recovery_expression> <recovery_expression>{Cheetah F1:AntMinerF1.Hashrate.last(#3)}&gt;{$HASH_LOW}</recovery_expression>
<name>AntMiner F1 Low hashrate on {HOST.NAME}</name> <name>AntMiner F1 Low hashrate on {HOST.NAME}</name>