HP UX Matrix Operating EnvIronment manual Checking agent state, Stop a running agent

Page 18

Stop a running agent

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

Using HP SIM to stop the AD agent

1.Initiate this task by selecting Configure Insight Dynamics AgentsStop AD Agents from the top menu bar.

2.Using the 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 Application Discovery agent and certificates” (page 55).

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{smh}] [-packfreq interval{smh}]

where

-procfreqinterval{smh} changes the current frequency for collecting process data.

-packfreqinterval{smh} 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 Application Discovery agent and certificates” (page 55).

Checking agent state

To check agent state, access Application Discovery (ToolsIntegrated ConsolesApplication Discovery...) and select Admin/Config and then AD Agents tab. Locate the Agnt Stat and WBEM Stat columns in the “Hosts/Agents” table.

18 Procedures and examples

Image 18
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 componentsUnderstand your current discovery state Refining Application DiscoveryHow discovery works Discovery ratioRefine discovery by checking agent state Warm-up ratioUnderstanding application templates How memory usage is calculatedRefine discovery by creating application templates Understanding server resource consumption Key to the graphic is as followsPage Starting the agent from the command line Procedures and examplesUsing HP SIM to start the agent Starting Application DiscoveryStopping the agent from the command line Reconfigure a running agent from the command lineUsing HP SIM to stop the AD agent Checking agent stateExplanation of agent states Adjusting the user interfaceWorking with data views Set screen data refresh intervalSet general visibility Set color themeSet number of table rows Change the data view Sort data in view tablesFilter 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 applicationsIntroduction to event settings in Application Discovery Setting event attributesSetting data polling interval Modifying the maximum size of an event listSetting event severity Setting alert locationManaging application templates Find an application templateChange application template values Create a new template Key to application template values Constructing regular expressions Application identity Separation rule fields and their descriptions SessionCreate an application template rule Aggregation rule fields and their descriptionsCreate a process aggregation rule Managing application templates Example of a nested template aggregation rule Managing application templates How to remove types from the aggregation rule Check unmatched processes to find application candidatesUnderstanding the tables that show unmatched processes Filling in the system scope fields using table data Filling in the aggregation rule fields using table dataFilling in the template separation rule fields 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 Related information Support and other resourcesContacting HP Application Discovery resourcesPage Page Amgrd OptionsInstallation = LogtraceAuthors Agentconfig Check agent state Key to event attributes Event typesEvent severity types Additional event types specific to Application DiscoveryEvent viewing locations Error messages Table C-1 Error messages seen when trying to logPage Completing certificate exchange Using HP SIM to complete certificate exchangeCompleting certificate exchange from the command line 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