Bitcoin Forum
May 05, 2024, 07:44:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: FEE .025B Cacti poller with dynamic port  (Read 683 times)
miaviator (OP)
Donator
Hero Member
*
Offline Offline

Activity: 686
Merit: 519


It's for the children!


View Profile WWW
February 05, 2014, 12:32:00 AM
Last edit: February 06, 2014, 04:23:50 PM by miaviator
 #1

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.

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!