Skip to content

kostyainmadness/zabbix-antminer-t9

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zabbix-antminer

An external script and template for getting AntMiner T9+ metrics into Zabbix

How it works

  • Get AntMiner metrics from /cgi-bin/get_miner_status.cgi output by HTTP
  • Parse data from JSON output
  • Store data into Zabbix

Supported metrics

  • Fan 3, 6
  • GH/S (RT)
  • Temp chip2 for chain 2-4,9-14
  • Elapsed time (Uptime)
  • GH/s (ideal)
  • ICMP ping

Supported triggers

  • Temp any chip chain > 85
  • GH/s (ideal) < 10 TH
  • GH/s (RT) < 10 TH
  • ICMP ping
  • Elapsed time (Uptime) < 0

Requirements

  • Python 2 or 3
  • Python Requests
  • Zabbix 3.0

Install

  • 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

About

AntMiner T9+ metrics into Zabbix

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%