An external script and template for getting AntMiner T9+ metrics into Zabbix
- Get AntMiner metrics from
/cgi-bin/get_miner_status.cgi
output by HTTP - Parse data from JSON output
- Store data into Zabbix
- Fan 3, 6
- GH/S (RT)
- Temp chip2 for chain 2-4,9-14
- Elapsed time (Uptime)
- GH/s (ideal)
- ICMP ping
- Temp any chip chain > 85
- GH/s (ideal) < 10 TH
- GH/s (RT) < 10 TH
- ICMP ping
- Elapsed time (Uptime) < 0
- Python 2 or 3
- Python Requests
- Zabbix 3.0
- Download antminer-zbx-chk and zbx_template.xml
- Put antminer-zbx-chk into ExternalScript location (You will find it in zabbix_server configuration)
- Make antminer-zbx-chk executable (
chmod 755 antminer-zbx-chk
) - Import zabbix_template (zbx_template.xml) into zabbix
- Add AntMiner as Zabbix Host. Input AntMiner HTTP Host or IP as Zabbix Agent Host
- Add Zabbix Macros
{$HOST.PORT}
with AntMiner HTTP port value - Add Zabbix Macros
{$HTTP.USERNAME}
with AntMiner HTTP Username - Add Zabbix Macros
{$HTTP.PASSWORD}
with AntMiner HTTP Password - Link template to You servers