HP UX Matrix Operating EnvIronment manual Amgrd, Options

Page 56

amgrd

NAME

amgrd --Change Behavior of Application Discovery Agent on Managed System

SYNOPSIS

Path: /opt/amgr/bin/amgrd [options]

amgrd [-start][-noreload ] amgrd [-connectionstatus]amgrd [-enableRestart]

amgrd [-enableRestart][-start ] amgrd [-enableRestart][-stop ] amgrd [-disableRestart]

amgrd [-disableRestart][-start ] amgrd [-disableRestart][-stop ] amgrd [-procfreq interval{smh}] amgrd [-packfreq interval{smh}] amgrd [-ping]

DESCRIPTION

The amgrd command allows you to interact with an Application Discovery agent to start or stop its operation, to change its mode of operation, to collect information about it, and to change its data collection frequency on the system where it resides. You will need root access to use this command.

You can also execute amgrd from the HP SIM graphical user interface by following ConfigureInsight Dynamics Agents to Application Discovery options such as “Start AD Agents” or “Stop AD Agents”.

Options

If no options are specified, the agent will start as a daemon with communication type of WBEM, as these are the command defaults. The agent will then look for configuration options in a file /var/opt/amgr/agent.properties and run. If /var/opt/amgr/agent.properties does not exist or does not contain a server.name property, then the agent will run, but it will not know the location of the CMS to which it should send data.

The amgrd command recognizes the following options.

-config f

-configfreq interval{smh}

-connectionstatus -disableRestart

-enableRestart

Use configuration file f instead of default file.

Set configuration check frequency to a number t, with s for seconds, m for minutes, or h for hours.

Check status of the Application Discovery agent.

By itself, -disableRestart removes any inittab entry for amgrd and exits.

With -start, amgrd removes any inittab entry for amgrd and runs the agent.

With -stop, amgrd removes any inittab entry for amgrd and stops the agent.

By itself, -enableRestartadds an inittab entry for amgrd and exits.

With -start, amgrd adds an inittab entry for amgrd and runs the agent.

With -stop, amgrd adds an inittab entry for amgrd and stops the agent.

56 Commands for controlling Application Discovery agent and certificates

Image 56
Contents Application Discovery 6.2 User Guide For managed nodes Table of Contents Support and other resources Configuring the Wbem provider password Glossary Index Application visibility selector Sort indicator List of FiguresList of Tables Possible values for agent statePage Features of Application Discovery IntroductionPage Components and concepts Application Discovery componentsRefining Application Discovery How discovery worksUnderstand your current discovery state Discovery ratioRefine discovery by checking agent state Warm-up ratioRefine discovery by creating application templates Understanding application templatesHow memory usage is calculated Understanding server resource consumption Key to the graphic is as followsPage Procedures and examples Using HP SIM to start the agentStarting the agent from the command line Starting Application DiscoveryReconfigure a running agent from the command line Using HP SIM to stop the AD agentStopping the agent from the command line Checking agent stateAdjusting the user interface Working with data viewsExplanation of agent states Set screen data refresh intervalSet number of table rows Set general visibilitySet color theme Filter data in view tables Change the data viewSort data in view tables Other controls available from right-clicking on a view table Navigate between viewsSet visibility for hosts on Application Discovery screens Set visibility for matched applicationsSetting event attributes Setting data polling intervalIntroduction to event settings in Application Discovery Modifying the maximum size of an event listSetting event severity Setting alert locationChange application template values Managing application templatesFind an application template Create a new template Key to application template values Constructing regular expressions Application identity Separation rule fields and their descriptions SessionCreate a process aggregation rule Create an application template ruleAggregation rule fields and their descriptions Managing application templates Example of a nested template aggregation rule Managing application templates Understanding the tables that show unmatched processes How to remove types from the aggregation ruleCheck unmatched processes to find application candidates Filling in the template separation rule fields Filling in the system scope fields using table dataFilling in the aggregation rule fields using table data Create an application workload in Virtualization Manager PrerequisitesBacking up Application Discovery files Create Monitored Workload Definition screen reopensPage Troubleshooting Errors in installationData missing in Application Discovery screens Applications not visible in Application Discovery screensData missing in Application Discovery screens Check that SSH is configured correctly on the managed node Host not visible in Application Discovery screens# cd /.ssh /* rootuserhomedirectory/.ssh Application Discovery may not be correctly configured Packages not visible in Application Discovery screensCheck that the host is known to Application Discovery Check that the Application Discovery agent is running Errors in Application Discovery user interface operation UI Unable to connect to servermessagesJava UI exception message displays To list the AD agent package installed on the machine, then Page Support and other resources Contacting HPRelated information Application Discovery resourcesPage Page Amgrd OptionsInstallation = LogtraceAuthors Agentconfig Check agent state Key to event attributes Event typesEvent viewing locations Event severity typesAdditional event types specific to Application Discovery Error messages Table C-1 Error messages seen when trying to logPage Using HP SIM to complete certificate exchange Completing certificate exchange from the command lineCompleting certificate exchange IntroductionCompleting certificate exchange Configuring the Wbem provider password CredentialsPage Glossary AgentManaged SSL Wbem Admin/Config tab IndexClear filter menu pick Group option Defining an application template rule AD Agents, 13