6.2.3.9 lsclusteralert

List information about cluster alerts.

Purpose

The lsclusteralert command displays information about Exascale cluster alerts.

Syntax

lsclusteralert [ name [ name ]... | --openalerts] 
               [ -l ] [ --detail ] [ --attributes attribute[,attribute]... ]
               [ --filter filter[,filter]... ] 
               [ --sort [-]attribute[,[-]attribute]... ] 
               [ --count value ]

Command Options

The options for the lsclusteralert command are:

  • name: Identifies an Exascale cluster alert that you want to list information about.

  • --openalerts: Restricts the command to only display information about open Exascale cluster alerts.

  • -l: Displays output in a long, tabular format.

  • --detail: Displays detailed output with additional attributes.

  • --attributes: Identifies specific attributes to display in the output.

    To see a list of all available attributes and their descriptions, use the describe clusteralerts command. See also Describing Resources and Attributes.

  • --filter: Specifies conditions for including items in the output.

  • --sort: Sorts the output using the specified attributes.

  • --count: Specifies the maximum number of items to display in the output.

Usage Notes

Note the following information when using this command:

  • If no cluster alert name is specified and the --openalerts option is not specified, the command displays information about all Exascale cluster alerts.

  • Filter conditions are specified as: <attribute><operator><value>.

    The allowed operators are =, !=, >=, <=, >, and <.

    Multiple comma-separated filter conditions are combined using AND logic.

    Dates can be specified using the following formats:

    • yyyy-MM-dd''T''HH:mm:ss
    • yyyy-MM-dd (Time is assumed to be 00:00 AM)
    • HH:mm:ss (Date is assumed to be today)

    A date can also be followed by a timezone specification.

    Sizes can be specified using suffixes K, KB, M, MB, G, GB, T, TB. The suffix is not case-sensitive.

  • Sorting attributes are specified as: [-]<attribute>. Multiple sort attributes are comma-delimited. The default sort order is ascending. For descending sort order, prefix the attribute name with -.

    For example, use the following to primarily sort by name in descending order, and use otherAttribute in ascending order to further sort entries with the same name:

    --sort -name,otherAttribute

Examples

Example 6-18 List All Cluster Alerts

The following example shows how to list essential information about all Exascale cluster alerts.

@> lsclusteralert

Example 6-19 List All Open Cluster Alerts

The following example shows how to list essential information about all open Exascale cluster alerts.

@> lsclusteralert --openalerts

Example 6-20 List Information for a Specific Cluster Alert

The following example shows how to list detailed information about a specific cluster alert.

@> lsclusteralert StoragePool:3d9c3c5f-c4411d4d-80ddfd82-c90d84a5_StoragePoolRing:6291456_2026-01-15T00:05:35+00:00 --detail