Artemis Telegraf queue count read not working
I am trying to use Telegraf to read the number of items in my Artemise Activemq queue. Then output that metrics to influxdb. Somehow it doesn’t create any metrics in Influxdb. In the logs, I don’t see any errors. Also in debug mode of Telegraf, I don’t see any readings coming from Artemise. So the connection to the Artemise from Telegraf is working fine. I guess the problem is that it cannot find the mbean, so it is not returning anything. I am also using 2 outputs of Influxdbs. I get other postgresql server metrics to those Influxdbs, so there is nothing wrong with the Influxdb side. Also I can read the queue counts from the java code successfully. Currently I feed those metrics to Influxdb. I just want to use Telegraf to do that instead of doing it from java code.
Here is my telegraf.conf settings for Atremise.