# Logastash-input-plugin JMX

**URL:** https://discuss.elastic.co/t/logastash-input-plugin-jmx/28302
**Category:** Logstash
**Created:** [August 30, 2015, 8:04am UTC](https://discuss.elastic.co/t/logastash-input-plugin-jmx/28302 "2015-08-30T08:04:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dario\_Pezzi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dario_pezzi/32/4319_2.png) [@Dario\_Pezzi](https://discuss.elastic.co/u/Dario_Pezzi)
#### Post date: [August 30, 2015, 8:04am UTC](https://discuss.elastic.co/t/logastash-input-plugin-jmx/28302/1 "2015-08-30T08:04:02Z")

</div>

I'm trying to use the input plugin jmx.

I still receive this error:  
"Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi"

Following my jmx conf for connection:

```
   "host" : "192.168.100.4",
   "port" : 1099,
    
  "username" : "xxx",
   "password": "xxx",
  "url" : "service:jmx:rmi:///jndi/rmi://192.168.100.4:1099/karaf-integrazioni1",
    
  "alias" : "karaf_integrazioni1",
  "queries" : [
  {
    "object_name" : "java.lang:type=Runtime",
    "attributes" : ["Uptime", "StartTime"],
    "object_alias" : "Runtime"
  } ]

```

Keep in mynd that with jconsole I can connect with url and username/password.

Can anyone help to solve the problem.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 5:30am UTC](https://discuss.elastic.co/t/logastash-input-plugin-jmx/28302/2 "2017-07-06T05:30:37Z")

</div>


