Author

Topic: Hardware monitoring (Read 655 times)

alh
legendary
Activity: 1846
Merit: 1052
May 01, 2014, 04: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.
sr. member
Activity: 386
Merit: 250
April 30, 2014, 09:14:22 PM
#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://bitcointalksearch.org/topic/m.5767968

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
legendary
Activity: 2338
Merit: 1124
April 26, 2014, 07:34:06 AM
#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
newbie
Activity: 33
Merit: 0
April 26, 2014, 07:28:06 AM
#10
i remember an application called cg watcher
hero member
Activity: 650
Merit: 500
Pick and place? I need more coffee.
April 26, 2014, 07:27:57 AM
#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://bitcointalksearch.org/topic/anubis-a-cgminer-web-frontend-57342

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

legendary
Activity: 1666
Merit: 1000
April 26, 2014, 07:27:16 AM
#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
legendary
Activity: 2338
Merit: 1124
April 26, 2014, 07:26:00 AM
#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 :-)
legendary
Activity: 2338
Merit: 1124
April 26, 2014, 07:15:34 AM
#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?
legendary
Activity: 1666
Merit: 1000
April 26, 2014, 07:10:55 AM
#5
Cgminer's miner.php for using API calls via a web interface...
legendary
Activity: 938
Merit: 1000
April 26, 2014, 04: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.
legendary
Activity: 1666
Merit: 1185
dogiecoin.com
April 26, 2014, 03: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.
ck
newbie
Activity: 36
Merit: 0
April 26, 2014, 02: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
legendary
Activity: 2338
Merit: 1124
April 25, 2014, 07:45:43 PM
#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?
Jump to: