Skip to content

An external script and template for getting AntMiner metrics into Zabbix

License

Notifications You must be signed in to change notification settings

dysnix/zabbix-antminer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zabbix-antminer

An external script and template for getting AntMiner metrics into Zabbix

Zabbix screen

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 6-7

Supported triggers

  • Temp any chip chain > 80

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

An external script and template for getting AntMiner metrics into Zabbix

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages