beautypg.com

Installing and configuring ssh, Configuring a linux system to send snmp traps, Installing and configuring ssh on a linux system – HP Systems Insight Manager User Manual

Page 30

background image

line for Linux systems. You do need to first supply credentials and discover the systems, as described
in chapters 4 and 6. Then you can do the following actions from the command line, if desired.

Installing and configuring SSH

Procedure 5 Installing and configuring SSH on a Linux system

1.

Verify that SSH is installed on the managed system:

rpm -qa | grep ssh

If SSH is not installed, see your Linux provider for information about installing SSH.

2.

On the CMS, copy the SSH-generated public key from the CMS to the managed system, and
place it in the authorized keys file of the execute-as user (root or administrator).

IMPORTANT:

On a non-English CMS, ensure that an administrator account exists on the

CMS, and that mxagentconfig has run on the CMS for the created administrator account.

a.

Launch the Manage SSH Keys dialog box from the CMS command prompt:

mxagentconfig -a -n hostname -u username -p Password

b.

Click Connect.

Configuring a Linux system to send SNMP traps

NOTE:

These steps might vary slightly, depending on your version of Linux. See your Linux

provider for details if these file paths and file names do not exist on your system.

Procedure 6 Configuring a Linux system to send SNMP traps

1.

Verify that SNMP is installed:

rpm -qa | grep snmp

If it is not installed, see your Linux provider for information about installing SNMP.

2.

If the HP Server and Management Drivers and Agents daemons are installed on your system,
stop them:

/etc/init.d/hpasm stop

3.

Stop the SNMP daemon:

/etc/init.d/snmpd stop

30

Setting up managed systems