low hr trigger fixes

This commit is contained in:
2022-04-02 14:30:29 +08:00
parent 019723743f
commit 4937368af5
3 changed files with 850 additions and 851 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
zabbix_export: zabbix_export:
version: '5.2' version: '5.2'
date: '2022-03-14T06:58:20Z' date: '2022-04-02T06:26:38Z'
groups: groups:
- -
name: 'Antminer S19' name: 'Antminer S19'
@@ -492,7 +492,7 @@ zabbix_export:
name: 'AntMiner S19 low fan speed {HOST.NAME}' name: 'AntMiner S19 low fan speed {HOST.NAME}'
manual_close: 'YES' manual_close: 'YES'
- -
expression: '({AntMiner S19:AntMinerT17.Hashrate.last()}<{$HASH_LOW} and {AntMiner S19:AntMinerT17.Elapsed.last()}>600) and ({AntMiner S19:icmpping.last()}=1 and {AntMiner S19:net.tcp.service[tcp,,4028].last()}=1)' expression: '(({AntMiner S19:AntMinerT17.Hashrate.last()}<{$HASH_LOW} and {AntMiner S19:AntMinerT17.Hashrate.last()}>0 ) and {AntMiner S19:AntMinerT17.Elapsed.last()}>600) and ({AntMiner S19:icmpping.last()}=1 and {AntMiner S19:net.tcp.service[tcp,,4028].last()}=1)'
recovery_mode: RECOVERY_EXPRESSION recovery_mode: RECOVERY_EXPRESSION
recovery_expression: '{AntMiner S19:AntMinerT17.Hashrate.last()}>{$HASH_LOW} or {AntMiner S19:icmpping.last()}=0 or {AntMiner S19:AntMinerT17.Hashrate.nodata(15m)}=1' recovery_expression: '{AntMiner S19:AntMinerT17.Hashrate.last()}>{$HASH_LOW} or {AntMiner S19:icmpping.last()}=0 or {AntMiner S19:AntMinerT17.Hashrate.nodata(15m)}=1'
name: 'AntMiner S19 Low hashrate on {HOST.NAME}' name: 'AntMiner S19 Low hashrate on {HOST.NAME}'
+846 -847
View File
File diff suppressed because it is too large Load Diff
+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>5.2</version> <version>5.2</version>
<date>2022-03-17T12:39:04Z</date> <date>2022-04-02T06:20:15Z</date>
<groups> <groups>
<group> <group>
<name>Antminer T17</name> <name>Antminer T17</name>
@@ -675,7 +675,7 @@ return $123;</parameter>
<manual_close>YES</manual_close> <manual_close>YES</manual_close>
</trigger> </trigger>
<trigger> <trigger>
<expression>({AntMiner T17:AntMinerT17.Hashrate.last()}&lt;{$HASH_LOW} and {AntMiner T17:AntMinerT17.Elapsed.last()}&gt;600) and ({AntMiner T17:icmpping.last()}=1 and {AntMiner T17:net.tcp.service[tcp,,4028].last()}=1)</expression> <expression>(({AntMiner T17:AntMinerT17.Hashrate.last()}&lt;{$HASH_LOW} and {AntMiner T17:AntMinerT17.Hashrate.last()} &gt; 0) and {AntMiner T17:AntMinerT17.Elapsed.last()}&gt;600) and ({AntMiner T17:icmpping.last()}=1 and {AntMiner T17:net.tcp.service[tcp,,4028].last()}=1)</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode> <recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{AntMiner T17:AntMinerT17.Hashrate.last()}&gt;{$HASH_LOW} or {AntMiner T17:AntMinerT17.Hashrate.nodata(15m)}=1</recovery_expression> <recovery_expression>{AntMiner T17:AntMinerT17.Hashrate.last()}&gt;{$HASH_LOW} or {AntMiner T17:AntMinerT17.Hashrate.nodata(15m)}=1</recovery_expression>
<name>AntMiner T17 Low hashrate on {HOST.NAME}</name> <name>AntMiner T17 Low hashrate on {HOST.NAME}</name>