move hashrate_low trigger value to macros
This commit is contained in:
+6
-2
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<zabbix_export>
|
||||
<version>4.2</version>
|
||||
<date>2019-12-28T01:56:20Z</date>
|
||||
<date>2019-12-28T02:41:13Z</date>
|
||||
<groups>
|
||||
<group>
|
||||
<name>AntMiner S9</name>
|
||||
@@ -1591,6 +1591,10 @@
|
||||
<discovery_rules/>
|
||||
<httptests/>
|
||||
<macros>
|
||||
<macro>
|
||||
<macro>{$HASH_LOW}</macro>
|
||||
<value>13</value>
|
||||
</macro>
|
||||
<macro>
|
||||
<macro>{$HOST.PORT}</macro>
|
||||
<value>4028</value>
|
||||
@@ -1667,7 +1671,7 @@
|
||||
<tags/>
|
||||
</trigger>
|
||||
<trigger>
|
||||
<expression>({AntMiner S9:AntMinerS9.Hashrate.max(240)}<13 and {AntMiner S9:AntMinerS9.Elapsed.last()}>600) and {AntMiner S9:icmpping.last()}=1</expression>
|
||||
<expression>({AntMiner S9:AntMinerS9.Hashrate.max(240)}<{$HASH_LOW} and {AntMiner S9:AntMinerS9.Elapsed.last()}>600) and {AntMiner S9:icmpping.last()}=1</expression>
|
||||
<recovery_mode>0</recovery_mode>
|
||||
<recovery_expression/>
|
||||
<name>AntMiner S9 Low hashrate on {HOST.NAME}</name>
|
||||
|
||||
Reference in New Issue
Block a user