-[no]daemon
[Do not] run the agent as a daemon.
-daemon
is the default
setting for
amgrd
. Use
-nodaemon
only for triage as the
agent will die if the terminal session ends or the terminal
is disconnected.
-[no]debug
[Do not] run the agent in debug mode.
-noreload
Do not read in persisted data (used when agent is started
or restarted).
-packfreq
interval
{s|m|h}
Set the package catalog collection frequency to a number
t, with
s
for seconds,
m
for minutes, or
h
for hours.
-procfreq
interval
{s|m|h}
Set the process collection frequency to a number t, with
s
for seconds,
m
for minutes, or
h
for hours.
-server
s
Connect to, try to connect to, or only communicate with
the Application Discovery server on machine s, where s is
the address of a machine running a central management
server.
-start
Start an agent and read in persisted data. This option is
needed explicitly to enable the setting of restart and starting
or restarting on the same invocation.
-stop
Stop a running agent.
-u
(usage) Show current usage information and exit.
-v
(version) Show current HP Application Discovery version
and exit.
-verbose
v
Set log verbose to v, which can have the following values:
0 = Disable log
1= LOG_FATAL
2 = LOG_ERROR
3 = LOG_WARN
4 = LOG_ALWAYS
5 = LOG_NOTE (default)
6 = LOG_TRACE
Installation
The
amgrd
command can be installed from a depot available on the HP VSE Managed Node
Software Update Web site. For installation instructions, please visit the VSE Management Web
site at the following URL:
http://docs.hp.com/en/vsemgmt/agents.html
Beginning with VSE Management Software Version A.03.00.00,
amgrd
is installed on the CMS
when the VSE Management Software is installed.
RETURN VALUES
0
The command completed successfully; no errors were detected.
1
An error occurred, and the command did not complete successfully.
EXAMPLES
Start HP Application Discovery Agent as a daemon, and allow it to run with default options
picked from the file
/var/opt/amgr/agent.properties
:
# /opt/amgr/bin/amgrd
<timestamp> Starting agent...
Check the connection status of HP Application Discovery agent:
# /opt/amgr/bin/amgrd -connectionstatus
OK
57