Giter VIP home page Giter VIP logo

zabbix_jmxdiscovery's People

Contributors

bunjiboys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

zabbix_jmxdiscovery's Issues

how to get the value of a specific property

Installed zabbix_jmxdiscovery and defined the item:
jmx_discovery["com.mchange.v2.c3p0:type=PooledDataSource,identityToken=,name=adserver",{HOST.IP}:8**]

but what I actually wants is:
com.mchange.v2.c3p0:type=PooledDataSource,identityToken=*,name=adserver numBusyConnections

how can I get the value of a specific property, like numBusyConnections ?
thanks in advance.

Zabbix JMXOBJ in reverse order

While you can compose the correct item prototype using #PROPNAME and PROPTYPE, it would be nice to use #JMXOBJ by itself. The issue is that the #JMXOBJ string should have 'name' and 'type' reversed.

The Jconsole object name is "kafka.network":type="RequestMetrics",name="Fetch-RequestsPerSec"

It should return ('type' first)
"{#JMXOBJ}": ""kafka.network":type="RequestMetrics",name="Fetch-RequestsPerSec""

But it returns:
"{#JMXOBJ}": ""kafka.network":name="Fetch-RequestsPerSec",type="RequestMetrics""

I'm not really a Java guy, but I went into the code and saw it's calling

bean.put("{#JMXOBJ}", beanName.getCanonicalName()); // Line 89

Maybe there's another method that can be called to get the correct object name?

Unsupported major.minor version 52.0

Hi!

I was trying to run the plugin:
java -jar JMXDiscovery-0.0.1.jar * IP:PORT

But the result was following:

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/riotgames/mondev/Main : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

Help:)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.