low hr trigger fixes
This commit is contained in:
@@ -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}'
|
||||||
|
|||||||
@@ -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>2021-10-07T01:07:35Z</date>
|
<date>2022-04-02T06:22:23Z</date>
|
||||||
<groups>
|
<groups>
|
||||||
<group>
|
<group>
|
||||||
<name>AntMiner S9</name>
|
<name>AntMiner S9</name>
|
||||||
@@ -534,7 +534,6 @@ return $123;</parameter>
|
|||||||
<delay>0</delay>
|
<delay>0</delay>
|
||||||
<history>1d</history>
|
<history>1d</history>
|
||||||
<trends>0</trends>
|
<trends>0</trends>
|
||||||
<status>DISABLED</status>
|
|
||||||
<value_type>TEXT</value_type>
|
<value_type>TEXT</value_type>
|
||||||
<inventory_link>TYPE</inventory_link>
|
<inventory_link>TYPE</inventory_link>
|
||||||
<applications>
|
<applications>
|
||||||
@@ -699,11 +698,11 @@ return $123;</parameter>
|
|||||||
<macros>
|
<macros>
|
||||||
<macro>
|
<macro>
|
||||||
<macro>{$FAN_LOW}</macro>
|
<macro>{$FAN_LOW}</macro>
|
||||||
<value>500</value>
|
<value>800</value>
|
||||||
</macro>
|
</macro>
|
||||||
<macro>
|
<macro>
|
||||||
<macro>{$HASH_LOW}</macro>
|
<macro>{$HASH_LOW}</macro>
|
||||||
<value>12</value>
|
<value>11</value>
|
||||||
</macro>
|
</macro>
|
||||||
<macro>
|
<macro>
|
||||||
<macro>{$HOST.PORT}</macro>
|
<macro>{$HOST.PORT}</macro>
|
||||||
@@ -757,9 +756,9 @@ return $123;</parameter>
|
|||||||
<manual_close>YES</manual_close>
|
<manual_close>YES</manual_close>
|
||||||
</trigger>
|
</trigger>
|
||||||
<trigger>
|
<trigger>
|
||||||
<expression>({AntMiner S9:AntMinerS9.Hashrate.last()}<{$HASH_LOW} and {AntMiner S9:AntMinerS9.Elapsed.last()}>600) and ({AntMiner S9:icmpping.last()}=1 and {AntMiner S9:net.tcp.service[tcp,,4028].last()}=1)</expression>
|
<expression>(({AntMiner S9:AntMinerS9.Hashrate.last()}<{$HASH_LOW} and {AntMiner S9:AntMinerS9.Hashrate.last()}>0) and {AntMiner S9:AntMinerS9.Elapsed.last()}>600) and ({AntMiner S9:icmpping.last()}=1 and {AntMiner S9:net.tcp.service[tcp,,4028].last()}=1)</expression>
|
||||||
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
|
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
|
||||||
<recovery_expression>{AntMiner S9:AntMinerS9.Hashrate.last()}>{$HASH_LOW} or {AntMiner S9:icmpping.last()}=0 or {AntMiner S9:AntMinerS9.Hashrate.nodata(15m)}=1</recovery_expression>
|
<recovery_expression>{AntMiner S9:AntMinerS9.Hashrate.last()}>{$HASH_LOW} or {AntMiner S9:AntMinerS9.Hashrate.nodata(15m)}=1</recovery_expression>
|
||||||
<name>AntMiner S9 Low hashrate on {HOST.NAME}</name>
|
<name>AntMiner S9 Low hashrate on {HOST.NAME}</name>
|
||||||
<priority>WARNING</priority>
|
<priority>WARNING</priority>
|
||||||
<manual_close>YES</manual_close>
|
<manual_close>YES</manual_close>
|
||||||
|
|||||||
@@ -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()}<{$HASH_LOW} and {AntMiner T17:AntMinerT17.Elapsed.last()}>600) and ({AntMiner T17:icmpping.last()}=1 and {AntMiner T17:net.tcp.service[tcp,,4028].last()}=1)</expression>
|
<expression>(({AntMiner T17:AntMinerT17.Hashrate.last()}<{$HASH_LOW} and {AntMiner T17:AntMinerT17.Hashrate.last()} > 0) and {AntMiner T17:AntMinerT17.Elapsed.last()}>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()}>{$HASH_LOW} or {AntMiner T17:AntMinerT17.Hashrate.nodata(15m)}=1</recovery_expression>
|
<recovery_expression>{AntMiner T17:AntMinerT17.Hashrate.last()}>{$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>
|
||||||
|
|||||||
Reference in New Issue
Block a user