Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Application Discovery Version 4.0 User's Guide > Chapter 3 Procedures

Modifying Agent Behavior

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Use the information in this section to control the HP Application Discovery agent from the command line and to adapt its behavior to your environment. For ways to manage and monitor the agent from the user interface, see these sections:

Install the HP Application Discovery Agent on a Managed Node

See "Installing VSE Agent Software on Managed Systems" in the VSE Management Software: Installation and Update Guide for instructions on how to install the HP Application Discovery agent via the HP Systems Insight Manager (HP SIM) menus or manually. The VSE Management Software: Installation and Update Guide is available with the software and on http://docs.hp.com/.

Start the HP Application Discovery Agent

You can start the agent from the HP SIM top menu or from the command line.

Using HP SIM to Start the Agent

  1. Initiate this task by selecting Configure ->Configure VSE Agents->Start AD Agents from the HP SIM top menu.

  2. Using the HP SIM system list, select the HP-UX systems where you want to start an agent. Click Apply.

  3. Verify the system selection and click Next.

  4. A description of the action about to take place is displayed. When you are sure that you want to complete the action, click Run now to start the agent.

Starting the Agent from the Command Line

To start the agent from the command line on the managed node, enter the following command:

/opt/amgr/bin/amgrd

For the full description of the options available for modifying agent behavior, see “Commands for Controlling HP Application Discovery Agent and Certificates”.

Stop a Running Agent

You can stop the agent from the HP SIM top menu bar or from the command line.

Using HP SIM to Stop the AD Agent

  1. Initiate this task by selecting Configure ->Configure VSE Agents->Stop AD Agents from the HP SIM top menu bar.

  2. Using the HP SIM system list, select the HP-UX systems where you want to stop an agent. Click Apply.

  3. Verify the system selection and click Next.

  4. A description of the action about to take place is displayed. When you are sure that you want to complete the action, click Run now to stop the agent.

Stopping the Agent from the Command Line

To stop a running agent, enter the following command:

/opt/amgr/bin/amgrd -stop

For the full description of the options available for modifying agent behavior, see “Commands for Controlling HP Application Discovery Agent and Certificates”.

Reconfigure a Running Agent from the Command Line

To change attributes of the agent while it is running, type on the command line:

/opt/amgr/bin/amgrd [-option] [-option]

For example, the following command illustrates changing the frequency for collecting data about processes and packages.

/opt/amgr/bin/amgrd [-procfreq interval{s|m|h}] [-packfreq interval{s|m|h}]

where

  • -procfreq interval{s|m|h} changes the current frequency for collecting process data.

  • -packfreq interval{s|m|h} changes the current frequency for collecting package data.

and interval is the time span between polls. Interval may be given in seconds (s), minutes (m), or hours (h).

For example, the following command designates a process collection frequency of 10 minutes and a package collection frequency of 30 minutes:

/opt/amgr/bin/amgrd [-procfreq 10m] [-packfreq 30m]
 

For the full range of options, see “Commands for Controlling HP Application Discovery Agent and Certificates”.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.