This article was written for version 7.3.9 of op5 Monitor, it could work on both lower and higher version if nothing else is stated.
Articles in the Community-Space are not supported by op5 Support.
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 setup monitoring with couple easy steps.
Plugin is tested against HPE 3PAR simulator running on version 3.2.2 (MU2).
3PAR check plugin and it's dependencies are third-party products, not supported by op5 AB
- Admin level access to 3PAR
- Basic knowledge of service configuration in op5 Monitor
- SSH access from op5 Monitor to 3PAR
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 update to that script mentioned in comments (which supports SSD drives as well).
You may want to upgrade to that (copy content from comment field, paste to 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
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
(press Enter to accept default settings)
Check SSH key and copy it to clipboard (it's 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
(in this case 3paradm)
[root@localhost ~]# ssh email@example.com
Create monitor user and set password
(use better password than this in example)
3par cli% createuser -c q1w2e3r4t5 monitor all browse
3par cli% exit
Login to 3PAR as monitor user
(use the password created in previous step)
[root@localhost ~]# ssh firstname.lastname@example.org
Setup passwordless SSH
(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
3par cli% showversion
Release version 3.2.2 (MU2)
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
-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
Configuring check command
Go to the "Commands" configuration page in op5 Monitor and create a new check command with the following options:
Monitoring test cases
Create a new service on your target host in op5 Monitor and select the "check_3par" command.
The check command requires one argument:
Other check_command arguments to be used: