move temp value to macros
This commit is contained in:
+7
-3
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<zabbix_export>
|
||||
<version>4.2</version>
|
||||
<date>2019-07-06T06:06:47Z</date>
|
||||
<date>2019-07-06T07:14:30Z</date>
|
||||
<groups>
|
||||
<group>
|
||||
<name>AntMiner L3</name>
|
||||
@@ -1705,6 +1705,10 @@
|
||||
<macro>{$HOST.PORT}</macro>
|
||||
<value>4028</value>
|
||||
</macro>
|
||||
<macro>
|
||||
<macro>{$TEMP_LOW}</macro>
|
||||
<value>75</value>
|
||||
</macro>
|
||||
<macro>
|
||||
<macro>{$URL1}</macro>
|
||||
<value>stratum+tcp://eu.ltc.sigmapool.com:3333</value>
|
||||
@@ -1741,9 +1745,9 @@
|
||||
<tags/>
|
||||
</trigger>
|
||||
<trigger>
|
||||
<expression>(({AntMiner L3:AntMinerL3.Temp1.min(15m)}>75 or {AntMiner L3:AntMinerL3.Temp2.min(15m)}>75 or {AntMiner L3:AntMinerL3.Temp3.min(15m)}>75 or {AntMiner L3:AntMinerL3.Temp4.min(15m)}>75) and {AntMiner L3:icmpping.last()}=1)</expression>
|
||||
<expression>(({AntMiner L3:AntMinerL3.Temp1.min(15m)}>{$TEMP_LOW} or {AntMiner L3:AntMinerL3.Temp2.min(15m)}>{$TEMP_LOW} or {AntMiner L3:AntMinerL3.Temp3.min(15m)}>{$TEMP_LOW} or {AntMiner L3:AntMinerL3.Temp4.min(15m)}>{$TEMP_LOW}) and {AntMiner L3:icmpping.last()}=1)</expression>
|
||||
<recovery_mode>1</recovery_mode>
|
||||
<recovery_expression>(({AntMiner L3:AntMinerL3.Temp1.last()}<75 or {AntMiner L3:AntMinerL3.Temp2.last()}<75 or {AntMiner L3:AntMinerL3.Temp3.last()}<75 or {AntMiner L3:AntMinerL3.Temp4.last()}<75) and {AntMiner L3:icmpping.last()}=1)</recovery_expression>
|
||||
<recovery_expression>(({AntMiner L3:AntMinerL3.Temp1.min(15m)}<{$TEMP_LOW} or {AntMiner L3:AntMinerL3.Temp2.min(15m)}<{$TEMP_LOW} or {AntMiner L3:AntMinerL3.Temp3.min(15m)}<{$TEMP_LOW} or {AntMiner L3:AntMinerL3.Temp4.min(15m)}<{$TEMP_LOW}) and {AntMiner L3:icmpping.last()}=1)</recovery_expression>
|
||||
<name>AntMiner L3 High temp on {HOST.NAME}</name>
|
||||
<correlation_mode>0</correlation_mode>
|
||||
<correlation_tag/>
|
||||
|
||||
Reference in New Issue
Block a user