No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show event

show event

Function

The show event command is used to query system events.

Format

show event [ from_time=? | to_time=? | level=? | status=? | number=? | sequence=? | object_type=? | event_type=? ] *

Parameters

Parameter

Description

Value

from_time=? Start time of event query. All events generated later than this point in time will be displayed.
NOTE:
Enter local time for from_time.

The value is in the format of "year-month-day"/"hour:minute:second", where:

  • "year": The year ranges from 2000 to 2035.
  • "month": The month ranges from 01 to 12.
  • "day": The day ranges from 01 to 31.
  • "hour": The hour ranges from 00 to 23.
  • "minute": The minute ranges from 00 to 59.
  • "second": The second ranges from 00 to 61.
    NOTE:
    The value 60 and 61 are used for scenarios where a leap second occurs.
to_time=? End time of event query. All events generated earlier than this point in time will be displayed.
NOTE:
Enter local time for to_time.

The value is in the format of "year-month-day"/"hour:minute:second", where:

  • "year": The year ranges from 2000 to 2035.
  • "month": The month ranges from 01 to 12.
  • "day": The day ranges from 01 to 31.
  • "hour": The hour ranges from 00 to 23.
  • "minute": The minute ranges from 00 to 59.
  • "second": The second ranges from 00 to 61.
    NOTE:
    The value 60 and 61 are used for scenarios where a leap second occurs.
level=? Event severity.

The value can be "warning", "major", "critical", or "informational", where:

  • "warning": The log message is for warning.
  • "major": The log message is major.
  • "critical": The log message is critical.
  • "informational": The log message is informational.
number=? Maximum number of events to be queried.

The value is an integer ranging from 1 to 10000.

sequence=? Event sequence number. To obtain the value, run "show event" without parameters.

The value is an integer between 1 and 4294967295.

object_type=? Alarm object type.

The value is an integer ranging from 0 to 65535.

event_type=? Event type. This command can only be executed in developer mode. For details about how to log in to developer mode, see Restricted Command Reference.

The value can be "inner_event".

status=? Status of the alarm to be queried.

The value can be "unrecovered", "cleared" or "recovered", where:

  • "unrecovered":Status of the events is unrecovered.
  • "cleared":Status of the events is cleared.
  • "recovered":Status of the events is recovered.

Level

Administrator

Usage Guidelines

  • The system time ranges from 2000-01-01/00:00:01 to 2035-12-31/23:59:59 in UTC.
  • If too many events are displayed, press "q" to stop displaying more events.
  • The sequence parameter is mutually exclusive with all other parameters.

Example

  • Query all events.

    admin:/>show event
      Sequence      Level          Occurred On                    Recovered On         Name                              ID              Alarm Object Type  
      ------------  -------------  -----------------------------  -------------------  --------------------------------  --------------  -----------------  
      70847         Informational  2015-07-31/19:59:45 UTC+08:00  --                   User Logout Succeeded             0x200F002A0019  202 
      70844         Informational  2015-07-31/19:58:30 UTC+08:00  --                   Succeeded In Changing A Password  0x200F002A0029  202 
      70842         Informational  2015-07-31/19:58:10 UTC+08:00  --                   Succeeded In Setting System NTP   0x200F00C90055  113
      70841         Informational  2015-07-31/19:58:07 UTC+08:00  --                   User Login Succeeded              0x200F002A0015  202
  • Query critical events.

    admin:/>show event level=critical
      Sequence      Level          Occurred On                    Recovered On                   Name                              ID           Alarm Object Type
      ------------  -------------  -----------------------------  -----------------------------  --------------------------------  -----------  -----------------
      16360         Critical       2013-05-29/15:31:55 UTC+08:00  2013-05-29/15:37:24 UTC+08:00  Controller Services Are Abnormal  0xF00CF0036  207
      16358         Critical       2013-05-29/15:31:55 UTC+08:00  2013-05-29/15:37:20 UTC+08:00  Failed To Monitor The Controller  0xF00CF0014  207

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Sequence

Alarm sequence number.

Level

Alarm severity.

Occurred On

Alarm occurrence time.

Recovered On

Alarm clearance time.

ID

Alarm ID.

Name

Alarm name.

Detail

Alarm details.

Repair Suggestion

Alarm handling suggestion.

Alarm Object Type

Alarm object type.

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 276346

Downloads: 250

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next