How to pass -Drhq.agent.security-token=<security-token>` when running JBoss ON Agent as a service

Solution Unverified - Updated -

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-token parameter when running agent as a service?
  • Should we add -Drhq.agent.security-token parameter to RHQ_AGENT_JAVA_OPTS or RHQ_AGENT-ADDITIONAL_JAVA_OPTS in rhq-agent-env.sh?
  • How to run the rhq_wrapper.bat with 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content