Jmxtrans is not able to send data to statsd but it is able to write the data in file, it is giving below error. For fixing used code from Stastd examples: https://github.com/etsy/statsd/blob/master/examples/StatsdClient.java and not it is working fine

[ServerScheduler_Worker-10] 2340352 ERROR (com.googlecode.jmxtrans.jobs.ServerJob:39) - Error
java.net.BindException: Address already in use
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:95)
at java.net.DatagramSocket.bind(DatagramSocket.java:376)
at java.net.DatagramSocket.<init>(DatagramSocket.java:231)
at com.googlecode.jmxtrans.util.DatagramSocketFactory.makeObject(DatagramSocketFactory.java:27)
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1212)
at com.googlecode.jmxtrans.model.output.StatsDWriter.doWrite(StatsDWriter.java:113)
at com.googlecode.jmxtrans.util.JmxUtils.runOutputWritersForQuery(JmxUtils.java:336)
at com.googlecode.jmxtrans.util.JmxUtils.processQuery(JmxUtils.java:206)
at com.googlecode.jmxtrans.util.JmxUtils.processQueriesForServer(JmxUtils.java:120)
at com.googlecode.jmxtrans.util.JmxUtils.processServer(JmxUtils.java:456)
at com.googlecode.jmxtrans.jobs.ServerJob.execute(ServerJob.java:37)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Merge pull request #60 from ravikg/master

Stasdwriter related changes using StastClient.java example from statsd repo as old code was giving error mentioned below:
Removing _ from variable name and also removing the try { } and finally keyword as it is not required
Merge pull request #61 from ravikg/master

Have removed the _ in variable name also removed the missed try keyword from a function.
fix syntax error in yaml2jmxtrans.py, allow python other than 2.6
Merge pull request #62 from dehora/master

Fix syntax error in yaml2jmxtrans.py, allow python other than 2.6
Merge pull request #64 from tewner/checkAllAttributes

Enable checking of ALL attributes if "attr" isn't specified
Merge remote-tracking branch 'remotes/upstream/master'
Add configurable outputWriters

I've added the ability to specify outputWriters in the YAML:

outputWriters:
    - "@class": "com.googlecode.jmxtrans.model.output.GraphiteWriter"
      settings:
          host: "localhost"
          port: 2003

NOTES:
- I've attempted to be completely backwards compatible.
- PLEASE test this before running in production
Document new outputWriters YAML configuration
Merge pull request #3 from Scene53/yaml2jmxtransConfigurableOutputWriters

Yaml2jmxtrans configurable output writers