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

OceanStor 9000 V5 7.0 Command Reference 03

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).
export event

export event

Function

The export event command is used to export event information.

Format

export event < event_type > < ip > < path > < user > < authentication_mode > [key_file] [ port ]

Parameters

Parameter

Description

Value

event_type Event type.

alarm: alarm.

log: log.

No matter whether the value is alarm or log, all alarms and logs will be exported. That is, the exported contents of the two values are the same.

ip IP address of the SFTP server that stores imported files.

The value is an IP address.

path Saving location of imported files.

The value is a character string.

The path format is / directory name.

user User name for logging in to an SFTP server.

The value is a character string that contains 1 to 64 characters. The value cannot contain double quotation marks ("). Slashes (\) are escape characters and must be used together with other characters. Use \q to represent the question mark (?), \s to represent blank, \| to represent |, and \\ to represent \.

authentication_mode Authentication mode.

password: Password.

key: Key.

key_file Key file.

The value is a character string.

The format is / file name.

password User password for logging in to an SFTP server or passphrase used to generate a key.

The value is a character string length from 1 to 64.

port SFTP service port.

The value is an integer ranging from 1 to 65535.

Level

Resource administrator,Device administrator

Usage Guidelines

The super administrator (admin) can export all operation logs. Other administrators can only export their own operation logs.

Example

  • Use a password to export event information.

    admin:/>export event alarm 192.168.110.121 /home/omuser/test root password
    Please input your password:************
    Collection succeeded and the command was successfully executed.
  • Use a key to export event information.

    admin:/>export event alarm 192.168.110.121 /home/omuser/test root key /root/.ssh/ssh_host_key
    Please input your password:**********
    Collection succeeded and the command was successfully executed.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24739

Downloads: 7

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