zerro trigger hashrate fixes

This commit is contained in:
3err0
2021-10-07 09:15:19 +08:00
parent 3adb6bd9c1
commit 6cf3b1f6d1
3 changed files with 8 additions and 7 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.2'
date: '2021-03-09T09:31:19Z'
date: '2021-10-07T01:08:08Z'
groups:
-
name: 'Antminer S19'
@@ -400,7 +400,7 @@ zabbix_export:
macro: '{$UPASS}'
triggers:
-
expression: '{AntMiner S19:AntMinerT17.Hashrate.nodata(15m)}=1 and {AntMiner S19:icmpping.last()}=1'
expression: '({AntMiner S19:AntMinerT17.Hashrate.nodata(15m)}=1 or {AntMiner S19:AntMinerT17.Hashrate.last(5m)}=0) and {AntMiner S19:icmpping.last()}=1'
name: 'AntMiner S19 Hashrate information not available on {HOST.NAME}'
priority: HIGH
manual_close: 'YES'
@@ -434,7 +434,7 @@ zabbix_export:
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: '({AntMiner S19:AntMinerT17.LS_online_pool1.str(true, #3)}=1 and {AntMiner S19:AntMinerT17.LS_pool1.last()}<{$LS_TIME}) or ({AntMiner S19:AntMinerT17.LS_online_pool2.str(true, #3)}=1 and {AntMiner S19:AntMinerT17.LS_pool2.last()}<{$LS_TIME}) or ({AntMiner S19:AntMinerT17.LS_online_pool3.str(true, #3)}=1 and {AntMiner S19:AntMinerT17.LS_pool3.last()}<{$LS_TIME})'
name: 'AntMiner S19 превышено время шары {HOST.NAME}'
priority: AVERAGE
priority: INFO
manual_close: 'YES'
-
expression: '({AntMiner S19:AntMinerT17.Fan_num.last()}=0) and ({AntMiner S19:icmpping.last()}=1) and ({AntMiner S19:AntMinerT17.Elapsed.last()}={AntMiner S19:AntMinerT17.Elapsed.prev()}) and ({AntMiner S19:AntMinerT17.Elapsed.last()}>0)'