A monitoring script for cgminer written in ruby