Dear PRTG Team,
Im still nubie.
Can PRTG monitor Java Application(.jar) and if yes how to setup this using PRTG.
note : java apps wrapped by tanuki wrapper.
Thanks.
Article Comments
Dear PRTG Team,
Noted.
I read "The JMX Mini Probe for Java Applications" I want to using it to my app but i still get an error when i run ""JMXMiniProbe.bat" like :
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser
Im using Windows Server 2008 r2
Thanks,
Sep, 2016 - Permalink
Hi,
You can use the JMXMiniProbe to moitor a JVM application "remotely"... The "JMXProbe.war" It is designed to be loaded into an Application server's context. It can then monitor the "local" JVM directly or any JVM remotely via RMI. For more details please see: https://docs.oracle.com/javase/tutorial/jmx/remote/jconsole.html (The JMXMiniProbe uses the same method to connect to the JVM to be monitored)
As far as the error you are getting.... It looks like you are missing some of the libraries. They are all in the WAR that is part of the distribution. If you are running it on the command-line, please unzip the WAR and run it using one of the scripts in the ".\bin" directory
JR
Sep, 2016 - Permalink
there is nothing in the ./bin directory that could be run, i have downloaded the entire JMXminiprobe package , iam getting the sae error, kindly assist
Apr, 2018 - Permalink
Hi Sved,
The batch-files/shell-scripts are in the project root directory.
"JMXMiniProbe*.*"
Please run them from there.
The batch/shell scripts get generated by the build process, so either download the release package or build from source.
There are several variations,
Direct run.
Run from WAR
Apr, 2018 - Permalink
Dear mnusyirwan
PRTG has no build-in sensor for this. As PRTG offers a few interfaces to run custom scripts as sensors, you might be able to create a custom sensor to monitor your Java applications.
Sep, 2016 - Permalink