Using hp sim to stop the ad agent, Stopping the agent from the command line, Reconfigure a running agent from the command line – HP 5992-3838 User Manual

Page 22: Checking agent state

Advertising
background image

Using HP SIM to Stop the AD Agent

1.

Initiate this task by selecting Configure

Configure VSE AgentsStop 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” (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{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” (page 55)

.

Checking Agent State

To check agent state, find agent state from within HP Systems Insight Manager (HP SIM).

1.

Select Configure

Configure VSE AgentsCheck AD Agent States .

2.

Select the HP-UX systems where you want to find agent status from the HP SIM system list.
Click Apply.

3.

Verify the system selection and click Next.

4.

You can see a description of the action about to take place. When you are sure that you want
to continue with the task, click Run now to complete the agent status report.

5.

After a short time, the report appears in the main viewing window. It summarizes identifying
information and provide the state for the machine(s) that you selected earlier in the process.

22

Procedures

Advertising