Latest Release

cancel
Showing results for 
Search instead for 
Did you mean: 

unable to set ‑Dmetric.http.listener=true on machineagent startup on version 4.2.12.1

Highlighted

unable to set ‑Dmetric.http.listener=true on machineagent startup on version 4.2.12.1

Hello

I am trying to publish external metrics into appd via HTTP listener as described here on appd version

4.2.12.1

 

https://docs.appdynamics.com/display/PRO43/Standalone+Machine+Agent+HTTP+Listener

 

I am trying to add ‑Dmetric.http.listener=true as part of machine agent startup like this

 

/opt/appd/current/machineagent/jre/bin/java -Xmx256m -Xms128m ‑Dmetric.http.listener=true ..

 

-jar /opt/appd/current/machineagent/machineagent.jar

 

and i get this error

 

Error: Could not find or load main class ‑Dmetric.http.listener=true

Help please

unable to set ‑Dmetric.http.listener=true on machineagent startup on version 4.2.12.1
2 REPLIES 2
Highlighted
Architect

Re: unable to set ‑Dmetric.http.listener=true on machineagent startup on version 4.2.12.1

you mean, the below command is not working?

/opt/appd/current/machineagent/jre/bin/java -Xmx256m -Xms128m ‑Dmetric.http.listener=true -jar /opt/appd/current/machineagent/machineagent.jar

Community Manager

Re: unable to set ‑Dmetric.http.listener=true on machineagent startup on version 4.2.12.1

Do you still need help with this? Has your question been addressed? Is there a solution you can share?