HP 3PAR Alerts

Let us look at how to review the alerts on a HP 3PAR SAN.

CLI

Once you have connected to the 3PAR via your product of choice over SSH you can use the showalert command to get a listing of the current alerts. If you wish to see help information for this command then you would type –

help showalert

Below is the output from the command for our reference –

3PAR01 cli% help showalert
showalert - Display system alerts.

SYNTAX
showalert [options]

DESCRIPTION
The showalert command displays the status of system alerts. When issued
without options, all new customer alerts are displayed.

AUTHORITY
Any role in the system

OPTIONS
The selection of alerts to be displayed is controlled by selecting one of
the following options:
-n
Specifies that only new customer alerts are displayed.
This is the default.

-a
Specifies that only acknowledged alerts are displayed.

-f
Specifies that only fixed alerts are displayed.

-all
Specifies that all customer alerts are displayed.

-svc
Specifies that only service alerts are displayed.
This option can only be used with the -d or -oneline formatting
options.

The format of the alert display is controlled by the following options:

-d
Specifies that detailed information is displayed. Cannot be specified
with the -oneline option.

-oneline
Specifies that summary information is displayed in a tabular form with
one line per alert.  For customer alerts, the message text will be
truncated if it is too long unless the -wide option is also specified.
-wide
Do not truncate the message text.
Only valid for customer alerts and if the -oneline option is also
specified.

SPECIFIERS
None.

NOTES
Without any options, the showalert command displays all customer alerts in
the New state.

Set the status of alerts by issuing the setalert command.

Alerts can be removed by issuing the removealert command.

EXAMPLES
The following example displays new customer alerts on a system:

cli% showalert -n

 


Next let us try the showalert command and see what output we get without any additional options defined –

3PAR01 cli% showalert Id          : 247 State       : New Message Code: 0x00e000a Time        : 2015-03-25 04:00:01 GMT Severity    : Minor Type        : Task failed Message     : Task 2101 (type 'scheduled_task', name 'Compact_CPG_All') has failed (Task Failed). Please see task status for details.

Id          : 248 State       : New Message Code: 0x00e000a Time        : 2015-03-29 04:00:00 BST Severity    : Minor Type        : Task failed Message     : Task 2736 (type 'scheduled_task', name 'Compact_CPG_All') has failed (Task Failed). Please see task status for details.

Id          : 243 State       : New Message Code: 0x05d00de Time        : 2015-03-31 21:52:54 BST Severity    : Degraded Type        : Component state change Message     : Cage 0, Cage Battery 0 Degraded (Cage Battery End of Life {0x8})

Id          : 249 State       : New Message Code: 0x00e000a Time        : 2015-04-01 04:00:01 BST Severity    : Minor Type        : Task failed Message     : Task 3199 (type 'scheduled_task', name 'Compact_CPG_All') has failed (Task Failed). Please see task status for details.

4 alerts 3PAR01 cli%

 


 

The system outputs a list of current alerts along with some useful fields. I’m not going to dig into the particulars of these alerts in this post.

Next let us take a look at the GUI options for viewing alerts.

GUI

Our GUI option exists within the 3PAR Management Console software. Below you will see a screenshot with the Events & Alerts menu loaded (click the image to enlarge, sensitive information has been obscured) –

3PAR Management Console Alerts

Again we see a listing of outstanding alerts with various information.

Both the CLI and GUI can be filtered to show specific alerts and we can also take actions such as  acknowledging or removing the alerts.

1 thought on “HP 3PAR Alerts”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.