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"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<zabbix_export>
|
<zabbix_export>
|
||||||
<version>4.2</version>
|
<version>4.2</version>
|
||||||
<date>2019-12-28T01:55:53Z</date>
|
<date>2019-12-28T02:40:48Z</date>
|
||||||
<groups>
|
<groups>
|
||||||
<group>
|
<group>
|
||||||
<name>AntMiner L3</name>
|
<name>AntMiner L3</name>
|
||||||
@@ -1701,6 +1701,10 @@
|
|||||||
<discovery_rules/>
|
<discovery_rules/>
|
||||||
<httptests/>
|
<httptests/>
|
||||||
<macros>
|
<macros>
|
||||||
|
<macro>
|
||||||
|
<macro>{$HASH_LOW}</macro>
|
||||||
|
<value>400</value>
|
||||||
|
</macro>
|
||||||
<macro>
|
<macro>
|
||||||
<macro>{$HOST.PORT}</macro>
|
<macro>{$HOST.PORT}</macro>
|
||||||
<value>4028</value>
|
<value>4028</value>
|
||||||
@@ -1777,7 +1781,7 @@
|
|||||||
<tags/>
|
<tags/>
|
||||||
</trigger>
|
</trigger>
|
||||||
<trigger>
|
<trigger>
|
||||||
<expression>({AntMiner L3:AntMinerL3.Hashrate.last(240)}<400 and {AntMiner L3:AntMinerL3.Elapsed.last()}>600) and ({AntMiner L3:icmpping.last()}=1)</expression>
|
<expression>({AntMiner L3:AntMinerL3.Hashrate.last(240)}<{$HASH_LOW} and {AntMiner L3:AntMinerL3.Elapsed.last()}>600) and ({AntMiner L3:icmpping.last()}=1)</expression>
|
||||||
<recovery_mode>0</recovery_mode>
|
<recovery_mode>0</recovery_mode>
|
||||||
<recovery_expression/>
|
<recovery_expression/>
|
||||||
<name>AntMiner L3 Low hashrate on {HOST.NAME}</name>
|
<name>AntMiner L3 Low hashrate on {HOST.NAME}</name>
|
||||||
|
|||||||
+6
-2
@@ -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>2019-12-28T01:56:20Z</date>
|
<date>2019-12-28T02:41:13Z</date>
|
||||||
<groups>
|
<groups>
|
||||||
<group>
|
<group>
|
||||||
<name>AntMiner S9</name>
|
<name>AntMiner S9</name>
|
||||||
@@ -1591,6 +1591,10 @@
|
|||||||
<discovery_rules/>
|
<discovery_rules/>
|
||||||
<httptests/>
|
<httptests/>
|
||||||
<macros>
|
<macros>
|
||||||
|
<macro>
|
||||||
|
<macro>{$HASH_LOW}</macro>
|
||||||
|
<value>13</value>
|
||||||
|
</macro>
|
||||||
<macro>
|
<macro>
|
||||||
<macro>{$HOST.PORT}</macro>
|
<macro>{$HOST.PORT}</macro>
|
||||||
<value>4028</value>
|
<value>4028</value>
|
||||||
@@ -1667,7 +1671,7 @@
|
|||||||
<tags/>
|
<tags/>
|
||||||
</trigger>
|
</trigger>
|
||||||
<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_mode>0</recovery_mode>
|
||||||
<recovery_expression/>
|
<recovery_expression/>
|
||||||
<name>AntMiner S9 Low hashrate on {HOST.NAME}</name>
|
<name>AntMiner S9 Low hashrate on {HOST.NAME}</name>
|
||||||
|
|||||||
Reference in New Issue
Block a user