Author

Topic: MineDown - A Linux GUI front-end Watchdog for cgminer with SMS alert..... (Read 2583 times)

hero member
Activity: 490
Merit: 500
Would be nice for it to automate switching pools or even automate switching to vanity mining (using the tools shown here - https://bitcointalk.org/index.php?topic=84569.200). 

Just a thought Smiley
full member
Activity: 144
Merit: 100
Empty vessels make most noise.
Nice work.  I am going to look more at this.  Could it be altered to be non-GUI in total (I run headless)?

Hi, TBH I think I used the term 'GUI' a bit to loosley, it actually uses whiptail which is a bash-GUI and displays various dialogue boxes within a terminal, once the watchdog starts it runs in the background, It 'should' all work via ssh but I have not tested, if you decide to have a try let me know the outcome, if it doesn't work for you then I'll certainly have a go at fixing it. 

In the meantime I have also commited a few more bug fixes and updated the standalone installer since my last post, everything seems to be very stable now and it all works as intended.
legendary
Activity: 1792
Merit: 1008
/dev/null
hero member
Activity: 490
Merit: 500
Nice work.  I am going to look more at this.  Could it be altered to be non-GUI in total (I run headless)?
full member
Activity: 144
Merit: 100
Empty vessels make most noise.
New commit added with a few minor bug fixes, NOTE: The GUI does not run when cgminer starts (it uses CPU and the terminal window can be minimized if required) this means it should have no affect on any GPU hash rates, but any problems do let me know!

Standalone installer for Linux now available here, please read the README.txt for full instructions.

MineDown-Version-12022013

Or for the source code visit:

https://github.com/Mark-Leck/MineDown
full member
Activity: 144
Merit: 100
Empty vessels make most noise.
Seeing as I have my miner setup in my garage and that I can't watch over it 24/7 I thought I would create a program to alert me if anything was up while I was away, so I did and I thought I would share it with the mining community:

MineDown
Basically its a GUI front-end watchdog written in bash for cgminer, that will configure cgminer’s start parameters and send an alert via SMS should any of the following (user configurable) trigger go off:

1) Utility = The amount of shares actually generated in a minute (I chose this as the main trigger as I feel it is one of the most important - especially for p2p mining anyway)
2) Not exactly user configurable - but also; If cgminer actually stops responding to the API requests from the watchdog - which usually means its crashed or shutdown.

I can add more triggers if requested or needed.

You will also require a FREE trial account a Twilio.com (of which I have no affiliation I just like their API and it works for free apart from the nagging "Message sent from your free twilo account" that precedes every text you get Smiley it’s great.)
The trial account limits the amount of texts you can receive, but unless your miner is going down every minute then you should not hit the limit anytime soon - also you have to send alerts to the mobile that you used to verify the trial account with) you obviously have the choice for a paid account and this will lift all of the above mentioned limits.

Anyway feel free to be my guinea pigs Cheesy

I have fully tested this and confirm it does work as should on Ubuntu 12.10 and latest cgminer-2.10.5-x86_64-built version I feel any problems on that setup will be down to the user setup, but if you have any problems just post below.... When reporting any problems please share your log which will be @ /tmp/minedown.log along with your current OS & Version

Its open source too, so no nasty surprises:
https://github.com/Mark-Leck/MineDown

All donations, feedback, ideas, suggestions & constructive criticism will be greatly received....

Mark
Jump to: