Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch

Rev 2.10
Mellanox Technologies
220
Mellanox Technologies Confidential
4.7.4 Email Notifications
To configure MLNX-OS to send you emails for all configured events and failures:
Step 1. Enter to Config mode. Run:
Step 2. Set your mailhub to the IP address to be your mail client’s server – for example, Microsoft Out-
look exchange server.
Step 3. Add your email address for notifications. Run:
Step 4. Configure the system to send notifications for a specific event. Run:
Step 5. Show the list of events for which an email is sent. Run:
Step 6. Have the system send you a test email. Run:
switch >
switch > enable
switch # configure terminal
switch (config) # email mailhub <IP address>
switch (config) # email notify recipient <email address>
switch (config) # email notify event <event name>
switch (config) # show email events
Failure events for which emails will be sent:
process-crash: A process in the system has crashed
unexpected-shutdown: Unexpected system shutdown
Informational events for which emails will be sent:
asic-chip-down: ASIC (Chip) Down
cpu-util-high: CPU utilization has risen too high
cpu-util-ok: CPU utilization has fallen back to normal levels
disk-io-high: Disk I/O per second has risen too high
disk-io-ok: Disk I/O per second has fallen back to acceptable levels
disk-space-low: Filesystem free space has fallen too low
.
.
.
switch (config) #
switch # email send-test
The last command should generate the following email:
-----Original Message-----
From: Admin User [mailto:do-not-reply@switch.]
Sent: Sunday, May 01, 2011 11:17 AM
To: <name>
Subject: System event on switch: Test email for event notification
==== System information:
Hostname: switch
Version: <version> 2011-05-01 14:56:31
...
Date: 2011/05/01 08:17:29