Bitcoin Forum
March 29, 2024, 08:22:36 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Hardware monitoring  (Read 638 times)
RealMalatesta (OP)
Legendary
*
Offline Offline

Activity: 2338
Merit: 1124



View Profile
April 26, 2014, 12:45:43 AM
 #1

I've got my different miners at different locations. Ant most of the time, I can't be everywhere (yeah, from time to time, I've got to go home...). Now it would be handy if there would be some solution which would enable me - and probably others - to monitor all miners remotely and - if necessary - restart them. Does such a thing exist?
1711700556
Hero Member
*
Offline Offline

Posts: 1711700556

View Profile Personal Message (Offline)

Ignore
1711700556
Reply with quote  #2

1711700556
Report to moderator
1711700556
Hero Member
*
Offline Offline

Posts: 1711700556

View Profile Personal Message (Offline)

Ignore
1711700556
Reply with quote  #2

1711700556
Report to moderator
1711700556
Hero Member
*
Offline Offline

Posts: 1711700556

View Profile Personal Message (Offline)

Ignore
1711700556
Reply with quote  #2

1711700556
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711700556
Hero Member
*
Offline Offline

Posts: 1711700556

View Profile Personal Message (Offline)

Ignore
1711700556
Reply with quote  #2

1711700556
Report to moderator
1711700556
Hero Member
*
Offline Offline

Posts: 1711700556

View Profile Personal Message (Offline)

Ignore
1711700556
Reply with quote  #2

1711700556
Report to moderator
1711700556
Hero Member
*
Offline Offline

Posts: 1711700556

View Profile Personal Message (Offline)

Ignore
1711700556
Reply with quote  #2

1711700556
Report to moderator
ck
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
April 26, 2014, 07:26:51 AM
 #2

Yeah I'll be interested in something like that too. Maybe a unified web interface where I can manage miners located all over the place. Would probably help save a lot of manual time too
dogie
Legendary
*
Offline Offline

Activity: 1666
Merit: 1183


dogiecoin.com


View Profile WWW
April 26, 2014, 08:51:14 AM
 #3

Teamviewer to a $150 laptop sitting on the same network as the miners. There's also network controlled PDUs for manually restarting miners.

gagalady
Legendary
*
Offline Offline

Activity: 938
Merit: 1000


View Profile
April 26, 2014, 09:28:27 AM
 #4

Yep, team viewer should work fine for this, I'm sure there similar programs to TV. But  i used for operations like these TV and It worked fine.
JWU42
Legendary
*
Offline Offline

Activity: 1666
Merit: 1000


View Profile
April 26, 2014, 12:10:55 PM
 #5

Cgminer's miner.php for using API calls via a web interface...

RealMalatesta (OP)
Legendary
*
Offline Offline

Activity: 2338
Merit: 1124



View Profile
April 26, 2014, 12:15:34 PM
 #6

Teamviewer to a $150 laptop sitting on the same network as the miners. There's also network controlled PDUs for manually restarting miners.

Thanks. TV is not an option for me, for several reasons. First, I don't like it :-) Second: I have several miners in several networks, so I would need like 10+ cheap laptops. And now that summer is coming, I'll have to put miners on other places, too.

There are obviously some programs around like CGRemote which looks great, however, it an environment like mine which is kind of wild, it would also mean a lot of work to set everything up. And I AM a lazy bastard...

Walking the dog, I had the following idea: Wouldn't it be possible to write a script which reads out the main data, ftp's it to a server where it will be digested by a php-script?

Hm, I'll give it a try this weekend for the ant-miners.

Or are there reasons why this shouldn't work?
RealMalatesta (OP)
Legendary
*
Offline Offline

Activity: 2338
Merit: 1124



View Profile
April 26, 2014, 12:26:00 PM
 #7

Cgminer's miner.php for using API calls via a web interface...

Although this looks good, it won't work in my environment due to the fact that I can't open a port or do port forwarding on some of the routers :-( Well, I would do it if my boss would agree, though :-)
JWU42
Legendary
*
Offline Offline

Activity: 1666
Merit: 1000


View Profile
April 26, 2014, 12:27:16 PM
 #8

Cgminer's miner.php for using API calls via a web interface...

Although this looks good, it won't work in my environment due to the fact that I can't open a port or do port forwarding on some of the routers :-( Well, I would do it if my boss would agree, though :-)

I'll just pretend I didn't read this...  Wink

helipotte
Hero Member
*****
Offline Offline

Activity: 650
Merit: 500


Pick and place? I need more coffee.


View Profile
April 26, 2014, 12:27:57 PM
 #9

You could try something like Anubis if you have a computer that is on anyway.  It listens for api calls from cgminer/bfgminer.

https://bitcointalk.org/index.php?topic=57342.0

edit: you can set the api port to whatever you like.  this should get you around a firewall. Wink

scriptcloud
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
April 26, 2014, 12:28:06 PM
 #10

i remember an application called cg watcher
RealMalatesta (OP)
Legendary
*
Offline Offline

Activity: 2338
Merit: 1124



View Profile
April 26, 2014, 12:34:06 PM
 #11

Cgminer's miner.php for using API calls via a web interface...

Although this looks good, it won't work in my environment due to the fact that I can't open a port or do port forwarding on some of the routers :-( Well, I would do it if my boss would agree, though :-)

I'll just pretend I didn't read this...  Wink

Thanks. Boss? You here??? :-p
tolip_wen
Sr. Member
****
Offline Offline

Activity: 386
Merit: 250


View Profile
May 01, 2014, 02:14:22 AM
 #12

Teamviewer to a $150 laptop sitting on the same network as the miners. There's also network controlled PDUs for manually restarting miners.

Thanks. TV is not an option for me, for several reasons. First, I don't like it :-) Second: I have several miners in several networks, so I would need like 10+ cheap laptops. And now that summer is coming, I'll have to put miners on other places, too.

There are obviously some programs around like CGRemote which looks great, however, it an environment like mine which is kind of wild, it would also mean a lot of work to set everything up. And I AM a lazy bastard...

Walking the dog, I had the following idea: Wouldn't it be possible to write a script which reads out the main data, ftp's it to a server where it will be digested by a php-script?

Hm, I'll give it a try this weekend for the ant-miners.

Or are there reasons why this shouldn't work?

I have posted a bfgminer/KnCMiner specific method of query using only stock busybox commands.
It is bfgminer specific as written, as I query KnC specific core data unavailable with cgminer.
https://bitcointalk.org/index.php?topic=313978.msg5767968#msg5767968

Saving an API query to a file is possible using common tools.
The relevant info from that post.

Code:
echo "procs|" > /tmp/procs.cmd
nc localhost 4028 < /tmp/procs.cmd > /tmp/nc.procs.out

Change "procs|" above to whatever API query you want.

It would be trivial to tftp the output from bfg or cg out for remote processing.
(stock KnC *nix does not have ftp but has tftp if you could make it work within your security needs)
scp would be a better choice.
A RasPi might be needed depending on the flexability of different miner OS etc.

For basic monitoring cg or bfg should work equally.
I feed the output from the API query into awk (it's what I had on a stock miner) and print some stats etc.

Remotely you have your choice of processing method.

YMMV
Smiley

'twisted research and opinion' donations happily accepted @
13362fxFAdrhagmCvSmFy4WoHrNRPG2V57
My sub 1337 vanity address Wink
alh
Legendary
*
Offline Offline

Activity: 1843
Merit: 1050


View Profile
May 01, 2014, 09:46:06 PM
 #13

Assuming your miners are associated with a Mining Pool (e.g. Slush, BTC Guild), then an almost
zero cost way is to assign each one a different worker Id. You then log into the web page for
the Mining Pool, and you'll see hash rates for each worker. You'll know if somebody went down.

Not clever or detailed, but it's a start.
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!