Logastash-input-plugin JMX


(Dario Pezzi) #1

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.


(system) #2