incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Yang <>
Subject Re: conf/collectors file problems
Date Fri, 19 Feb 2010 19:18:08 GMT
Hi Guille,

Thanks for catching this.  You are right, the should strip out the
prefix and port for collector file to be consistent between documentation
and the code.  JIRA-455 filed. :)


On 2/19/10 5:51 AM, "Guillermo PĂ©rez" <> wrote:

> The documentation explain to put in the conf/collectors file:
> http://<collector1HostName>:<collector1Port>/
> http://<collector2HostName>:<collector2Port>/
> http://<collector3HostName>:<collector3Port>/
> But that file is also used by the bin/ script, that simply
> tries to ssh to that. Of course, ssh to http://something... doesn't
> work.
> I have modified the file for striping http:// and :<port>
> from that file for getting the host to ssh to. I hope this may help
> other people (maybe I'm doing something wrong?)
> for slave in `cat "$HOSTLIST" | sed -e 's/^http:\/\///;s/:[0-9]*.*//'`; do

View raw message