riotgamesminions / zabbix_jmxdiscovery Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
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.
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?
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:)
Hi, we're using your plugin and it works fine but only when there are no network problems.
But when one server is down it (plugin) waits too long and blocks other checks so we have a lot of errors for other jmx checks.
I've tried to set timeout in script like suggested in http://stackoverflow.com/questions/12791025/how-to-set-request-timeout-for-jmx-connector but without any success.
Could you add timeout checks to plugin itself?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.