Comments (5)
I've just successfully ran it with the following xml file.
<jmxeval:jmxeval xmlns:jmxeval="http://www.adahas.com/schema/jmxeval-1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<connection url="service:jmx:rmi:///jndi/rmi://localhost:8090/jmxrmi">
<eval name="heapMemory">
<query var="heapMemoryMax" objectName="java.lang:type=Memory" compositeAttribute="HeapMemoryUsage" attribute="max" />
<expr var="heapMemoryMaxGb" expression="${heapMemoryMax}/1048576" />
<check useVar="heapMemoryMaxGb" warning="800" critical="600" message="Used heap memory = ${heapMemoryMaxGb}" />
</eval>
</connection>
</jmxeval:jmxeval>
Can you share the full xml file? (any sensitive data removed ofcourse)
from jmxeval.
I have the same error with your xml..
I'm using the latest version I think: jmxeval-2.0.0-SNAPSHOT
This is the check_jmxeval script, I had to change the paths to the jar files because were not updated:
BASE_DIR=
dirname $0
LIB_DIR="$BASE_DIR/lib"
$JAVA_HOME/bin/java -classpath "$BASE_DIR/jmxeval-2.0.0-SNAPSHOT.jar:$LIB_DIR/args4j-2.33.jar:$LIB_DIR/commons-io-2.5.jar:$LIB_DIR/commons-lang3-3.5.jar" com.adahas.tools.jmxeval.App $@
from jmxeval.
There were quite a lot of changes in master, unfortunately it could be that it was broken at the time you built it. I've just created a release from master. Could you please try this with 2.0.0 release?
If it still fails, can you run it again with --verbose
in the command line to get the full stack trace and paste it here?
from jmxeval.
Perfect it's working now! :)
from jmxeval.
That's great! 👍
from jmxeval.
Related Issues (13)
- Migration path from 1.2 to 2.0 xml
- How to reach tabular data type with JMXeval
- OpenJDK and tools.jar
- Does not support E notation for very small or very large numbers
- Doesn't support multiplying by 0 or 1
- log4j2 CVE update - question HOT 1
- Disable time perfdata
- Connect to a local vm via process id HOT 6
- return value type when you execute an operation HOT 2
- Error: Could not find or load main class com.adahas.tools.jmxeval.App HOT 7
- How to specify "not equal" in critical field? HOT 1
- DepShield encountered errors while building your project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmxeval.