The save storageArray warningEvents command saves events from the Major Event Log to a file.
This command applies to any individual storage array, including the E2700, E5600, E2800, E5700, EF600 and EF300 arrays, as long as all SMcli packages are installed.
To execute this command on an E2800, E5700, EF600, or EF300 storage array, you must have the Storage Admin role.
This command saves events from the Major Event Log to a file. You can save these events:
save storageArray (allEvents | criticalEvents | warningEvents | infoEvents | debugEvents) file="filename" [count=numberOfEvents] [forceSave=(TRUE | FALSE)]
Parameter | Description |
---|---|
allEvents | The parameter to save all of the events to a file. |
criticalEvents | The parameter to save only the critical events to a file. |
warningEvents | The parameter to save only the warning events to a file. |
infoEvents | The parameter to save only the informational events to a file. |
debugEvents | The parameter to save only the debug events to a file. |
file | The file path and the file name to which you want to save the events. Enclose the file name in double quotation marks (" "). For example: file="C:\Program Files\CLI\logs\events.txt" The default name of the file that contains the contents of the Major Event Log is major-event-log.txt. This command does not automatically append a file extension to the saved file. You must specify a file extension when entering the file name. |
count | The number of events that you want to save to a file. If you do not enter a value for the count, all events matching the type of event you specify are saved to the file. If you enter a value for the count, only that number of events (starting with the last event entered) are saved to the file. Use integer values. |
forceSave | The parameter to force saving the debug events you may have filtered from view to a file. To force saving the events, set this parameter to TRUE. The default value is FALSE. Note: Using this parameter saves debug events that have been filtered out of the SANtricity Event Viewer.
|
7.77 add these parameters: