Configure syslog settings

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.

Supported Arrays

This command applies to an individual DE2000H, DE4000H, DE4000F, DE6000H, or DE6000F storage array.

Roles

To execute this command on an storage array, you must have the Storage Admin role.

Context

Syntax


set syslog [defaultFacility=facilityNumber] 
| [defaultTag=defaultTag] 
| (serverAddresses=(serverAddress:portNumber ... serverAddress:portNumber) 
| addServerAddresses=(serverAddress:portNumber ... serverAddress:portNumber))

Parameters

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.

Examples


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.