Skip to main content
A newer release of this product is available.

event mailhistory show

Contributors
Suggest changes

(DEPRECATED)-Display a list of e-mail history records

Availability: This command is available to cluster administrators at the admin privilege level.

Description

Note This command has been deprecated. It may be removed from a future release of Data ONTAP. Instead, use the "event notification history" command set.

The event mailhistory show command displays a list of the event notifications that have been e-mailed. The command output depends on the parameters you specify with the command. By default, the command displays basic information about all notification e-mails that were sent.

To display detailed information about a specific mail-history record, run the command with the -seqnum parameter.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-node {<nodename>|local}] - Node

Selects the mail-history records that match this parameter value.

[-seqnum <Sequence Number>] - Sequence Number

Selects the mail-history records that match this parameter value.

[-message-name <Message Name>] - Message Name

Selects the mail-history records that match this parameter value.

[-address <mail address>,…​] - Mail Address

Selects the mail-history records that match this parameter value.

[-time <MM/DD/YYYY HH:MM:SS>] - Transmission Time

Selects the mail-history records that match this parameter value.

[-message <text>] - Alert Message

Selects the mail-history records that match this parameter value (text pattern).

[-previous-time <MM/DD/YYYY HH:MM:SS>] - Previous Transmission Time

Selects the mail-history records that match this parameter value.

[-num-drops-since-previous <integer>] - Number of Drops Since Previous Transmission

Selects the mail-history records that match this parameter value (number of event drops since last transmission).

Examples

The following example displays detailed information about the mail-history record with the sequence number 20520:

cluster1::> event mailhistory show -seqnum 20520
    Sequence Number:  20520
       Message Name:  wafl.vol.full
            Address:  admin@example.com
               Time:  10/1/2008 14:06:24
               Node:  node3
      Previous Time:  5/31/2007 00:33:22
 # Drops Since Prev:  0
       Mail Message:  wafl.vol.full: file system on volume
                      vol0@vserver:28558fe3-2462-11da-85ab
                      -000423bacd20 is full