jmxtrans / jmxtrans-agent

Java Agent based JMX metrics exporter.
MIT License
177 stars 110 forks source link

JMXTrans data to statsd comes multipe times #140

Closed ghost closed 5 years ago

ghost commented 5 years ago

JMXTrans data to statsd comes multipe times

I have a JBOSS Server configured for monitoring using statsd and jmxtrans where the queries are read from the jmxtrans xml. For a given time the stasd gets more than once data from a single node. The sample received data are

0 count Slave2.AvailableCount value 90|c 1 count Slave2.AvailableCount value 90|c 2 count Slave2.AvailableCount value 90|c 3 count Slave2.AvailableCount value 90|c

While for other node it comes as 0 count Slave1.AvailableCount value 90|c 1 count Slave1.AvailableCount value 90|c

Can you explain like what configuration issue might be there that is making the jvm data being sent more than once. Please note : the server configuration has a domain xml which is like a master connected to 2 jboss slave, and domain process and master is started on one unix box one ip, slave 2 is on another unix box different ip.

ghost commented 5 years ago

We resolved the issue, the unique alias name was same for the field for two servers. Closing the issue.

cyrille-leclerc commented 5 years ago

Thanks for the good news.