Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: miaviator on February 05, 2014, 12:32:00 AM



Title: FEE .025B Cacti poller with dynamic port
Post by: miaviator on February 05, 2014, 12:32:00 AM
EDIT: UNICORN!!!!!!!!!!!!!!!!!
I solved this.  Now I'm charging for it.


.025BTC to the first person who solves this problem:

I have two or more hosts behind the same IP
each host uses a separate port
I can monitor uptime using TCP ping on the API port
running
Code:
query_cgminer_stats.pl IP summary
will spit out the correct summary if I modify the file and change the port:
Code:
my $cgminer_port = "4028";
which of course would make all of my other rigs stop being monitored

I need to monitor these machines and likely a lot more under the same conditions by having the port in the poller use the host_ping_port as the port number instead of 4028.