beautypg.com

Manually setting up an hp-ux managed system, Configuring snmp to send traps to the cms, Configuring ssh access – HP Systems Insight Manager User Manual

Page 28: Subscribing to wbem indications/events, Subsribing to wbem indications/events

background image

Manually setting up an HP-UX managed system

Although chapters 4-7 explain how to finish configuring managed systems from the Systems Insight
Manager GUI, this section describes how to perform some of these same steps from the command
line for HP-UX systems. You do need to first supply credentials and discover the systems, as described
in Chapter 4

“Credentials” (page 32)

and Chapter 6

“Discovery” (page 35)

. Then you can do the

following actions from the command line, if desired.

You can use the Systems Insight Manager Configure or Repair Agents tool to configure HP-UX
managed systems simultaneously, or you can configure each managed system manually.

Configuring SNMP to send traps to the CMS

On the managed system, add the full host name or IP address of the CMS as a trapdest in
the following file:

/etc/SnmpAgent.d/snmpd.conf

trap-dest: hostname_or_ip_address

Stop the SNMP Master agent and all subagents with the command:

/sbin/init.d/SnmpMaster stop

Restart the SNMP Master agent and all subagents with the command:

/usr/sbin/snmpd

Configuring SSH access

On the CMS, copy the SSH-generated public key from the CMS to the managed system using the
mxagentconfig

:

Use one of the following commands:

mxagentconfig -a -n -u root -f

mxagentconfig -a -n -u root -p

NOTE:

Using the -p option exposes the password through ps output, so using the -f option

(with a file only readable by root, and containing only the managed system root password)
is highly recommended when using mxagentconfig -a. If you use the -p option, enclose
the password in single quotes if the password has any special characters, such as & or $. For
more information and options, see the mxagentconfig manpage with man
mxagentconfig

.

Subscribing to WBEM indications/events:

NOTE:

For more information about HP-UX WBEM events, see the Systems Insight Manager online

help.

Procedure 4 Subsribing to WBEM indications/events

1.

From the managed system, be sure WBEM is installed.

swlist -l bundle B8465BA

28

Setting up managed systems