Input
Example
22
•
-i — Displays the number of records present in the active log. You cannot use this
option with any other option.
•
-c — The log type to filter the records. Provide multiple categories using a "," as
the delimiter. The value is case-insensitive. Valid Category values:
–
All
–
System
–
Storage
–
Updates
–
Audit
–
Config
•
-q - The sequence number from which the records must be displayed.
•
-n - Specifies the n Number of records to be displayed.
•
-r - Displays events that have occurred after this time. The time format is yyyy-
mm-dd HH:MM:SS. The time stamp must be provided within double quotes.
•
-e - Displays events that have occurred before this time. The time format is yyyy-
mm-dd HH:MM:SS. The time stamp must be provided within double quotes.
filename > - Specifies the file location and name where the chassis log is
•
-f <
exported.
•
-a <
name > - Specifies the FTP Server IP address or FQDN, user name, and
password.
path > - Specifies the path to the file on the FTP server.
•
-d <
location > - Specifies the location of the network share or area on file system
•
-l <
where chassis log is exported. Two types of network shares are supported:
— SMB mounted path: //<
path_to_image >
<
— NFS mounted path: <
user > — Specifies the user name for accessing the FTP Server, or Domain
•
-u <
and User Name for accessing network share location.
password > — Specifies the password for accessing the FTP Server or Share
•
-p <
location.
•
-s — The severity used to filter the records. Provide multiple severities using a ","
as the delimiter. The value is case-insensitive. Valid Severity values:
–
1. Warning
–
2. Critical
–
3. Info
NOTE: To view or export the Chassis log, only CMC Login User permission is required.
•
Display the number of records present in the Chassis Log:
racadm chassislog view -i
•
Display the records under the storage category with severity set to warning:
racadm chassislog view -c storage -s warning
•
Display the records under storage and system categories with severities set to
warning or critical:
racadm chassislog view -c storage,system -s
warning,critical
•
Display the records having severities set to warning or critical, starting from
sequence number 4:
racadm chassislog view -s warning,critical -q 4
ipaddress or domain name >/< share_name >/
ipaddress >:/< path_to_image >.