Author

Topic: FEE .025B Cacti poller with dynamic port (Read 683 times)

donator
Activity: 686
Merit: 519
It's for the children!
February 04, 2014, 08:32:00 PM
#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.
Jump to: