How to pass -Drhq.agent.security-token=<security-token>` when running JBoss ON Agent as a service
Issue
- How can we pass
-Drhq.agent.security-token=<security-token>when running JBoss ON Agent as a service? - Where should we define
-Drhq.agent.security-tokenparameter when running agent as a service? - Should we add
-Drhq.agent.security-tokenparameter toRHQ_AGENT_JAVA_OPTSorRHQ_AGENT-ADDITIONAL_JAVA_OPTSinrhq-agent-env.sh? - How to run the
rhq_wrapper.batwith security token argument?
Environment
- Red Hat JBoss Operations Network (JON)
- 3.1.2
- 3.2
- JBoss ON Agent run as a service
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.