Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
I tried to detect JVM Crash events.
First, I configured Policy for JVM Crash as mentioned in documentation like the attachment.
And I started MachineAgent.
I killed JVM with -9 option. Nothing was reorted in Events screen.
When I restarted the JVM, JVM restarted event was displayed.
And when JVM is killed, this message was logged in machine-agent.log file.
[Agent-Monitor-Scheduler-3] 27 Mar 2015 11:34:14,919 INFO SigarAppAgentMonitor - Detected that JVM for PID 15572 is no longer active
My platform is CentOS 5.5 64 bit.
I use JDK 1.6 32 bit version for both AppServerAgent and MachineAgent.
For controller, I use JDK 1.7.0_55 64 bit version.
Can anybody help me to fix this?
Can you check if information in doc link and section listed below from doc link , is the case here?
https://docs.appdynamics.com/display/PRO40/JVM+Crash+Guard : "If an uninstrumented JVM crash happens within less than a minute of a previous crash then it will not be reported by the Standalone Machine Agent. In some circumstances, the JVM may crash and then be restarted only to crash again within one minute. For this repetitive cycle crash and restart scenario, only the first JVM crash is reported by the agent."
Please send the machine agent logs if you feel otherwise
Thank you for your answer.
The JVM I tested is already in the scope of monitoring. The JVM is in the chain of business transactions.
I wanted to test how I can get notifcation from the crash so that I can execute some script.
I think it may be related with some system environments like OS version, system libraries, and etc.
I could not get enough clue from the log of machine agent.
How can I investigate further?
Can you confirm whether the jvm crash case is falling under case description that i listed in previous update Or confirm whether this the case "if an uninstrumented JVM crash happens within less than a minute of a previous crash then it will not be reported by the Standalone Machine Agent"
If not please send the archive version of machie agent logs folder for our initial review ?