The regular expression used to find the per-GPU metrics is configurable. This setting allows a maximum age to be configured to avoid the situation where mining ended long ago,īut there is still a log line that shows a non-zero hash rate. However, even if mining has stopped, these log lines will still be present. This check will read the latest entries in the journal for the miner from the bottom-up, until it finds a line that reports per-GPU hashrate. unit: some-other-miner: gpu_hashrate_regex: 'gpu #(+) - (+) hashes ' max_log_line_age_minutes unit: miner-zec-ewbf gpu_hashrate_regex: 'GPU(+): (+) Sol/s ' You can add any systemd units as an "instance" to monitor that one, too: This can actually monitor any systemd process!īy default, it monitors the miner that would be installed by the miner-installation script. Check: /etc/dd-agent/checks.d/systemd-unit.py.Config: /etc/dd-agent/conf.d/systemd-unit.yaml.If you provide a DataDog API key, this script will install the dd-agent and set up monitoring of the various aspects of your mining operation. Installs DataDog monitoring of mining activities. It is recommended to not use this flag unless your GPUs' automatic fan control is very wrong. This uses the nvidia-settings tool which can be finicky about requiring a GUI environment. If un-set, the GPU fans will be automatically managed by the GPU at all times. If set, the GPU fans will be set to this % of maximum possible speed when the mining service is activeĪnd automatically managed by the GPU when mining is inactive. Command-Line FlagĪ %speed to set GPU fans to when mining starts. Installs the EWBF CUDA ZCash Miner as a system service, connected to the FlyPool ZCash Mining Pool. Installs an SSH server and upgrades all installed packages. Sets up the Ubuntu Linux environment for a primarily-unattended mining rig. So it can know if the correct drivers have already been installed and skip installing them if they are already present. Nvidia driver installation itself is not actully idempotent the script leaves a breadcrumb in ~/.nvidia-version The script will instruct you to do this if necessary. In this case, use the -nvidia-ubuntu-version flag to provide the correct identifier, e.g. It may be that the latest NVidia drivers are 1704, but your Ubuntu installation is something newer, like 17.10. However, they are not updated for every Ubuntu release. Identify the NVidia release of Ubuntu Drivers You will be unable to log out, so anyone with physical access to the machine will be able to access your account.Įach module is idempotent: You can run them multiple times without worry about messing up your system.You must not have "home directory" encryption enabled.You must not have full-disk encryption enabled.Run setup.sh, providing at least a ZCash t-address:.You may need to run sudo apt-get update & apt-get install git if the installation is brand-new. (optional) a DataDog API key for your DataDog account.It is best if this is a brand new installation with no prior configuration and no data to lose!.A working, contemporary Ubuntu installation (see chart above).Getting Started Pre-Requisites Ubuntu Version MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is distributed in the hope that it will be useful,īut WITHOUT ANY WARRANTY without even the implied warranty of You've got to provide your own internet-connected Ubuntu installation but these scripts should be able to take care of the rest. Remote monitoring of the miner with DataDog is supported if you have a DataDog account. Scripts to configure an Ubuntu installation to mine ZCash with EWBF Miner on an NVidia GPU, as part of the FlyPool mining pool.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |