Hello,

CURL returns an OK status:

curl http://localhost:8080/jmx/jolokia/read/java.lang:type=Memory

{"request":{"mbean":"java.lang:type=Memory","type":"read"},"value":{"ObjectPendingFinalizationCount":0,"Verbose":true,"HeapMemoryUsage":{"init":247463936,"committed":239271936,"max":4260102144,"used":71336864},"NonHeapMemoryUsage":{"init":2555904,"committed":97542144,"max":1593835520,"used":96378936},"ObjectName":{"objectName":"java.lang:type=Memory"}},"timestamp":1470959673,"status":200}

But TELEGRAF complains:

Error handling response: Not expected status value in response body: 403

With config:

[[inputs.jolokia]]
   context = "/jmx/jolokia/"
   [[inputs.jolokia.servers]]
     host = "127.0.0.1"
     port = "8080"

   [[inputs.jolokia.metrics]]
     name = "java.lang:type=Memory"
     mbean  = "java.lang:type=Memory,*"

Tested on .13 and 1.0.0-beta3

Thanks for any help!

Drew

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/7e0a6a93-3f33-443e-88ad-2a4714442c75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to