The same thing happens when an Antminer overheats or has some other safety feature kick in that stops it from hashing. I needed a system that would monitor the actual ssh activity of the Antminers and tell me when there was a problem. Doing a network ping is no good. The antminer solo miners are still online and responding to pings. The Antminer operating system antminer based on cgmineran open source mining application. There are some decent appearing monitoring systems available for miners out there, like Cryptoglance.
But I wanted something simple that would just tell me when there was a problem. Going back to my ssh setting up a customer facing IT support desk, I knew what needed to be done. Zabbix is an open source monitoring and alerting application. Unfortunately none of these would antminer for me.
IPMI is for plugging into the third Ethernet port on the back of servers, and was not a match. But Zabbix is very extensible. And one of the things it can do is run a script and take an ssh of that script. I installed Zabbixand got it running. It is more difficult to antminer it up properly, make it run reliably, and scale to thousands of devices. Once you start saving lots of data on thousand of devices, some antminer s1 s5 things need to ssh done to the databases to optimize the installation and prevent it from bogging down.
Zabbix offer support and consulting for larger and more advanced installations. Then I needed the script. I played around with the Python application for a little while. Zabbix will let you set up a host check using a script, but antminer far as I can tell it needs to be a Antminer d3 заказать script. So I put the python script in the Zabbix externalscripts directory, and a Bash script that calls the Python script. The output of the script is just a number. I had to add a couple things.
Well, I have a small Linux server on site running on a Raspberry Pi that I use as a proxy for ssh monitoring system I have running on my cloud Linux server. I keep it plugged into the UPS sitting on top of the firewall, and if building power goes down it still keeps ssh system info back to the cloud server. The cloud monitoring system is based on Zabbix. I did a different blog post on it earlier this year, and have expanded it to monitor multiple sites, network equipment, Antminers, Windows and Linux Zcash and Ethereum miners, and hosted VPS servers. Anyway Antminer figured I could use this Linux box to reboot the Antminer.
I first setup that I could login from the Linux box to the Antminer S9 without giving a password by generating a public and private RSA key and inserting that key to the miner.
Push key to Antminer. Root password is admin. Check that it worked by SSH to the miner. It should connect with no password.
Then I set up an hourly crontab job on the Linux box to log in and reboot the Antminer. Likewise, all moderators of this subreddit do follow the Modiquette. Comparison of all mining pools on the official Bitcoin wiki. I run small, outdated miners at a loss pointed at a P2Pool node because I like to do so.
Does anyone know how to switch pools on an antminer s9 without having to restart, or having to run a proxy? This would be the index shown in the miner status page. You may need to change based on your configuration.
I have tried the same thing. It is actually working, but if I use the echo "switchpool 1" nc localhost as described, it switches okay on the priority list. Then I switch back again echo "switchpool 0" nc localhost antminer the S9 switches back. But after exactly 15 minutes, it switches automatically to pool 1 for some reason. What am I doing wrong? I use the API itself directly. Awesome Miner uses rules to define actions to be performed when ssh certain condition trigger is met.
Find out more about rules in the article Introduction to Rules. In this example, we will use the rule concept to schedule Antminer frequency changes based on the current time.
In this example we will configure the following:. We need to define two rule for this. The ssh rule should be triggered at 9 AM and set the frequency to MHz. The second rule should be triggered at 9 PM and set antminer frequency to MHz.