Yes, tcollector will automatically run any executable it finds in
subdirectories of `collectors' and send data to a TSD. If that
doesn't work, you'd have to look at collector's log to find out why.
--
Benoit "tsuna" Sigoure
Software Engineer @ www.StumbleUpon.com
On Thu, Oct 6, 2011 at 4:12 PM, Jay Nair <jayakrish...@gmail.com> wrote:
> After I executed the mkmetric for all the metrics created by
> netstat.py, I am seeing the values in open tsdb.
Great.
> This question was asked a few times, but I could not find a concrete
> example to follow. I need to write a Java Client which sends data. I
> made an HttpURLConnection to host:4242, set the RequestMethod as PUT
> and then wrote the string value as 'java.message <unixtime> <value>
> <string>' and I don't see the values in open tsdb.
>
> Are there any examples of a Java based HTTP put which I can copy and
> modify?
At this time you cannot send new data points over HTTP. You have to
open a normal TCP socket and then write "put java.message <unixtime>
<value> <string>\n" to the socket.