I'm trying to work with APM agent and server.
Tryinf to monitoring an java application that run under Tomcat 8.5 (windows)
I have installed the APM server on same host of ELK stack is installed. This is a test enviroment.
First question is that if I check the service with command
sudo service apm-server status
It says that service is active, but into the folder of the APM (/usr/share/apm-server nor /etc/apm-server) I cn't see any log file of apm-server. This is the 1st strange thing.
The second one is that if I PUSH, on KIBANA UI - the buttons:
"check agent status" or "check APM server status" these always report an OK answer, even if the server is stopped....
I have updated the ELK stack to latest version 6.5 and also the agent is at latest version - for java is elastic-apm-agent-1.0.1.jar
At agent side I have created a setenv.bat into the bin folder of Tomcat with there content:
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:C:\Program\apm-agent\elastic-apm-agent-1.0.1.jar set CATALINA_OPTS=%CATALINA_OPTS% -Delastic.apm.service_name=my-app-name set CATALINA_OPTS=%CATALINA_OPTS% -Delastic.apm.application_packages=mylabo.local set CATALINA_OPTS=%CATALINA_OPTS% -Delastic.apm.server_urls=http://172.30.6.64:8200
Even the Agent do not create any log...
What can be the problem?
From the agent , when APM server is runnint I can browse tcp port 8200 and this reports: