EV Observe - Configure Storwise Array Monitoring Prerequisites

Last modified on 2023/05/22 15:39

IBM Storwize is an external storage array available in multiple versions, e.g. V3000, V5000, V7000. To monitor Vx000 storage arrays, specific requisites must first be met.

You must create an SSH authentication key without a passphrase using the nagios user on the Box. This key must then be integrated in the Storwize storage array.

Procedure: How to configure Storwize Vx000 storage array monitoring prerequisites

Step 1: Generate an SSH authentication key on the Box

1. Log in to the Box as the root user via SSH.

2. Check that the /home/nagios/.ssh folder and its rights are correctly defined.

  • If the /home/nagios/.ssh folder does not exist, run the command below to create it.

mkdir /home/nagios/.ssh

  • If the user or group is not nagios with the required rights, run the command below to modify the rights.

chown nagios:nagios /home/nagios/.ssh

3. Generate the SSH authentication key.

  • Run the command below to switch to the nagios user.

su nagios

  • Run the command below to generate the key.

  Keep the default options. Do not enter the passphrase.

ssh-keygen

The file called id_rsa.pub will be created in the /home/nagios/.ssh folder. It contains the SSH authentication key in a single line.

  • Copy the key and paste it in your text editor in order to store it temporarily.
     

Step 2: Integrate the SSH authentication key in the Storwize storage array

1. Log in to the Storwize storage array.

2. Create a nagios user in the Monitor group.

3. Copy and paste the key you stored in your text editor and associate it with the nagios user.
 

Step 3: Check the connection to the Storwize storage array 

1. Run the command below to log in to the Storwize storage array.

  • Replace <ip_Storwize_bay> with the values of your environment.

ssh nagios@<ip_Storwize_bay>

2. Check that you can connect successfully without a passphrase.

3. If the connection fails, generate another SSH authentication key and associate it again with the nagios user.

Tags:
Powered by XWiki © EasyVista 2022