Bitcoin Forum
April 26, 2024, 08:14:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MineDown - A Linux GUI front-end Watchdog for cgminer with SMS alert.....  (Read 2565 times)
UKMark (OP)
Full Member
***
Offline Offline

Activity: 144
Merit: 100

Empty vessels make most noise.


View Profile
February 12, 2013, 12:41:44 AM
 #1

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

1714119265
Hero Member
*
Offline Offline

Posts: 1714119265

View Profile Personal Message (Offline)

Ignore
1714119265
Reply with quote  #2

1714119265
Report to moderator
1714119265
Hero Member
*
Offline Offline

Posts: 1714119265

View Profile Personal Message (Offline)

Ignore
1714119265
Reply with quote  #2

1714119265
Report to moderator
1714119265
Hero Member
*
Offline Offline

Posts: 1714119265

View Profile Personal Message (Offline)

Ignore
1714119265
Reply with quote  #2

1714119265
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714119265
Hero Member
*
Offline Offline

Posts: 1714119265

View Profile Personal Message (Offline)

Ignore
1714119265
Reply with quote  #2

1714119265
Report to moderator
1714119265
Hero Member
*
Offline Offline

Posts: 1714119265

View Profile Personal Message (Offline)

Ignore
1714119265
Reply with quote  #2

1714119265
Report to moderator
UKMark (OP)
Full Member
***
Offline Offline

Activity: 144
Merit: 100

Empty vessels make most noise.


View Profile
February 12, 2013, 10:29:07 AM
 #2

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

sal002
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile WWW
February 12, 2013, 02:48:13 PM
 #3

Nice work.  I am going to look more at this.  Could it be altered to be non-GUI in total (I run headless)?
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
February 12, 2013, 02:54:03 PM
 #4

watching Smiley

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
UKMark (OP)
Full Member
***
Offline Offline

Activity: 144
Merit: 100

Empty vessels make most noise.


View Profile
February 13, 2013, 12:03:25 AM
 #5

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.

sal002
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile WWW
February 22, 2013, 05:09:20 PM
 #6

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!