Starting the monitoring agent

You start the monitoring agent from the command line, but the method depends on your runtime environment. You usually start the agent at the same time as you start your application. From Health Center Version 2, you can also start the agent when the Java™ application is already running. If you are using IBM® Bluemix®, you do not need to start the agent. If you are using WebSphere® Application Server, WebSphere Integration Developer or Rational® Application Developer, you must configure those products to start the Health Center agent.

Before you begin

The monitoring agent must be installed. See Installing a Health Center monitoring agent for more information. You can optionally configure the monitoring agent, see Configuring the monitoring agent, either before starting the agent or, for Java applications only, when you start it as part of this task.

If you have a firewall between the Health Center client and agent, ensure that the relevant ports are open. For more information about the Health Center properties that specify a port, see Health Center configuration properties.

If you are using a WebSphere or Rational product, see Configuring WebSphere or Rational product environments (Java applications only) for information about configuring those products to start the Health Center agent.

About this task

For information on how to start the agent with a Node.js application, see the documentation for the Node Application Metrics module. The rest of this topic applies to Java applications only.

Procedure

What to do next

After you start the agent, you can use the Health Center client or API to connect to and monitor the application on the port number displayed in the result message. See Connecting an application to the Health Center client and Using the Health Center API for more information. If you specified headless mode, the port number is not used, and the agent saves the collected data to a file. If you specified inprocess mode, you must use the Health Center API to connect to the agent. See Monitoring a running application and Configuring the monitoring agent for more information.

For information about troubleshooting problems with the Health Center agent, see Cannot connect to an application.





© Copyright IBM Corporation 2007, 2016.
© Copyright 1997, 2016, Oracle and/or its affiliates.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.