Back to OP5 Monitor FAQ

How to monitor HPE 3PAR StoreServ with op5 Monitor

This procedure is unsupported Copied

Articles in the “Unsupported Community Documents” space are not supported by ITRS support.

Version Copied

This article was written for version 7.3.9 of op5 Monitor, it could work on both lower and higher versions if nothing else is stated.

Introduction Copied

HPE 3PAR StoreServ storage is Tier 1 all-flash array data storage that can scale midsize to the largest enterprises and service providers, for instant application provisioning and high levels of service at a fraction of the cost.

This how-to will show you how to set up monitoring with a couple of easy steps.

The plugin is tested against the HPE 3PAR simulator running on version 3.2.2 (MU2).

Prerequisites Copied

Software download Copied

Download check_3par.sh (download) and store it to op5 Monitor /opt/plugins/custom and make it executable.

Please note, that there are more recent updates to that script mentioned in the comments (which supports SSD drives as well).

You may want to upgrade to that (copy content from the comment field, paste it to the editor, and save it as check_3par.sh)

Also, some other 3par related scripts are available (one at GitHub as check_3par_perf)

Create SSH key for monitor user Copied

Login to op5 Monitor as monitor user and create SSH key if not yet created

Check files under /opt/monitor/.ssh

If you have id_rsa and id_rsa.pub then you may skip SSH key creation

-bash-4.2$ ssh-keygen

(press Enter to accept default settings)

Check the SSH key and copy it to the clipboard (it’s a long line, make sure to copy all the content)

-bash-4.2$ cat id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXjsVdIT08KXEbiaaAI/WFJhM31CFSmtYW8j3qKTOLAwYH6o/2kTYJR2vA28H/rwNqsjq9dAqMRNW4GGWXFvLbau4jOkm/a6s6dNgTS2M+P1VqhSwBHNL9J/dODYQDid2xMv7trvNHsYvoXl96gjuelU8jfZZTPSei7yEiQs9OPu+nWXzlRmq+gbtdDvUVOeVl1PU/+jJBLsBfy5F5Gviu4z9n8nOPxvzKvbeEdt4uzpycOgAVkuwAj8lcVDmqpqIrp1PA+ifh+0j2eaWUyQNcy2YJ5xJyXhkJkHFqJaH6VF2J90s7s9EzHuI4n monitor@op5_7

Login to 3PAR as administrative level user Copied

(in this case 3paradm)

[root@localhost ~]# ssh 3paradm@192.168.8.50
Password:
3par cli%

Create monitor user and set password Copied

(use a better password than this in the example)

3par cli% createuser -c q1w2e3r4t5 monitor all browse
User created
3par cli% exit

Login to 3PAR as monitor user Copied

(use the password created in the previous step)

[root@localhost ~]# ssh monitor@192.168.8.50
Password:
3par cli%

Setup passwordless SSH Copied

(enter the command and then copy&paste SSH key from op5 server to here)… Remember to press “Enter” twice

3par cli% setsshkey
Please enter the SSH public key below.  When finished, press enter twice.
The key is usually long. It's better to copy it from inside an editor and paste it here. (Please make sure there are no extra blanks.)
The maximum number of characters used to represent the SSH key (including the "from" option, key type, and additional comments) is 4095.
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXjsVdIT08KXEbiaaAI/WFJhM31CFSmA28H/rwNqsjq9dAqMRNW4GGWXFvLbau4vCPJp1AA60TRhjOkm/a6s6dNgTS2M+P1VqhSwBHNL9J/dODYQDid2xMv7trvNHsYvoXl96gjuelU8jfZZTPSei7yEiQs9OPu+nWXzlRmq+gbtdDvUVOeVl1PU/+jJBLsBfy5F5Gviu4z9n8nOPxvzKvbeEdt4uzpycOgAVkuwAj8lcVDyXhkt8UNM3MnDMC28zJkHFqJaH6VF2J90s7s9EzHuI4n monitor@op5_7
SSH public key successfully set.

Test few commands as monitor user Copied

3par cli% showversion
Release version 3.2.2 (MU2)
Patches: None
Component Name                   Version
CLI Server                       3.2.2 (MU2)
CLI Client                       3.2.2
System Manager                   3.2.2 (MU2)
Kernel                           3.2.2 (MU2)
TPD Kernel Code                  3.2.2 (MU2)
3par cli% shownode
                                                            Control    Data        Cache
Node --Name--- -State-- Master InCluster -Service_LED -LED- Mem(MB) Mem(MB) Available(%)
   0 1699678-0 Degraded Yes    Yes       Off          Green    2048     512            0
   1 1699678-1 Degraded No     Yes       Off          Amber    2048     512            0

Test check_3par.sh script Copied

-bash-4.2$ cd /opt/plugins/custom
-bash-4.2$ ./check_3par.sh 192.168.8.50 monitor check_pd
OK : All PDs have normal status
-bash-4.2$

Configuring check command Copied

Go to the “Commands” configuration page in op5 Monitor and create a new check command with the following options:

OP5 Monitor - How to monitor HPE 3PAR StoreServ with op5 Monitor

Monitoring test cases Copied

Create a new service on your target host in op5 Monitor and select the “check_3par” command. The check command requires one argument:

Argument Description
$ARG1$ check type

Example:

OP5 Monitor - How to monitor HPE 3PAR StoreServ with op5 Monitor

Other check_command arguments to be used:

Additional information Copied

Support information Copied

3PAR check plugin and its dependencies are third-party products, not supported by op5 AB

["Geneos"] ["FAQ"]

Was this topic helpful?