Dell POWEREDGE M1000E User Manual

Page 272

Advertising
background image

272

Monitoring and Logging System Information

console(Mail-Server)#username switch6843

console(Mail-Server)#password password6843

console(Mail-Server)#exit

3 Configure emergencies and alerts to be sent immediately, and all other

messages to be sent in a single email every 120 minutes.

console(config)#logging email error

console(config)#logging email urgent emergency

console(config)#logging email logtime 120

4 Specify the email address of the sender (the switch).

console(config)#logging email from-addr

[email protected]

5 Specify the address where email alerts should be sent.

console(config)#logging email message-type both

to-addr [email protected]

6 Specify the text that will appear in the email alert Subject line.

console(config)#logging email message-type urgent

subject "LOG MESSAGES - EMERGENCY"

console(config)#logging email message-type non-

urgent subject "LOG MESSAGES"

7 Verify the configuration.

console#show mail-server all config

Mail Servers Configuration:

No of mail servers configured.................. 1

Email Alert Mail Server Address................ 192.168.2.34

Email Alert Mail Server Port................... 25

Email Alert SecurityProtocol................... none

Email Alert Username........................... switch6843

Email Alert Password........................... password6843

console#show logging email config

Email Alert Logging............................ enabled

Email Alert From Address.......................

[email protected]

Advertising