Skip to content

Instantly share code, notes, and snippets.

View robbrown0's full-sized avatar

Rob Brown robbrown0

  • Kentucky
View GitHub Profile
@robbrown0
robbrown0 / ethos_rig_mon.py
Last active March 21, 2018 03:06
Ethos Reboot Script that checks the local hash file for hashrate, instead of doing an update, as well as pinging an Internet address to ensure the rig is online, to avoid reboot loops if internet connection is interrupted. Push notifications via the pushover service. Clean logging with log file maintenance.
#!/usr/bin/env python
# import required modules
import subprocess
import os
import re
import sys
import argparse
import httplib, urllib
import time
import datetime