The set syslog command configures the syslog alert information. You can configure the event monitor to send alerts to the syslog server whenever an alertable event occurs.
This command applies to an individual E2800, E5700, EF600 or EF300 storage array. It does not operate on E2700 or E5600 storage arrays.
To execute this command on an E2800, E5700, EF600, or EF300 storage array, you must have the Storage Admin role.
set syslog [defaultFacility=facilityNumber] | [defaultTag=defaultTag] | (serverAddresses=(serverAddress:portNumber ... serverAddress:portNumber) | addServerAddresses=(serverAddress:portNumber ... serverAddress:portNumber))
Parameter | Description |
---|---|
defaultFacility | Optional. Allows you to specify the default facility number. The default facility must be a numerical value between 0 and 23. |
defaultTag | Optional. Allows you to specify the default tag. Enclose string in quotes. |
serverAddresses | Allows you to set one or more syslog server addresses with associated port numbers. Using this set option will clear out existing server addresses. A syslog server address can be a fully qualified domain name, IPv4 address, or IPv6 address. The UDP Port must be a numerical value between 0 and 65535. Typically, the UDP Port for syslog is 514. Enclose all the addresses in parentheses. If you enter more than one address, then separate them with a space. |
addServerAddresses | Allows you to add one or more syslog server addresses with associated port numbers. Using this set option will not clear out existing server addresses. A syslog server address can be a fully qualified domain name, IPv4 address, or IPv6 address. The UDP Port must be a numerical value between 0 and 65535. Typically, the UDP Port for syslog is 514. Enclose all the addresses in parentheses. If you enter more than one address, then separate them with a space. |
SMcli -n Array1 -c "set syslog serverAddresses=("ICTM1402S02H2.company.com:22");" SMcli -n Array1 -c "set syslog addServerAddresses=("serverName1.company.com:514" "serverName2.company.com:514");" SMcli completed successfully.
8.40