To monitor a storwize Vx000 rack (V3000, V5000, V7000), iIt is necessary to create an SSH authentication key, without passphrase, to connect to the IBM Storwize device with the user. . This key will then have to be integrated into Storwize Bay.
On the ServiceNav Box
Login in SSH console mode with the root user.
Check the presence of the /home/nagios/.ssh folder, and the rights : how-to-survey-a-bay-storwize
If it doesn't exist, create it: How to supervise a storwize bay. Find all the documentation about ServiceNav, the next generation monitoring platform.
If the user / group is not nagios, change the rights: How to monitor a storwize rack | ServiceNav How to monitor a storwize rack | ServiceNav
Switch to user nagios : on Nagios
Generate the key: ssh-keygen
Keep the default options, do not enter passphrase. You notice that the id_rsa.pub file is created in the /home/nagios/.ssh directory, and contains the key on only one line.
On your workstation, create a text file containing the contents of /home/nagios/.ssh/id_rsa.pub, on one line.
On the IBM Storwize bay
Create a nagios user and place it in the group Monitor. Assign the previously created key to it (import text file).
On the ServiceNav Box
Test by connecting to the bay IBM Storwize : ssh nagios@
If the connection takes place without requesting a password, the test is positive. Otherwise, it is likely that the key has been incorrectly copied / associated with the nagios user created on the IBM Storwize array, repeat the procedure carefully.