HP Mellanox SX1018 Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet - Page 52

Enter to Config mode. Run

Page 52 highlights

Rev 1.6.9 Step 1. Step 2. Step 3. Step 4. Step 5. Enter to Config mode. Run: switch > switch > enable switch # configure terminal Set your mailhub to the IP address to be your mail client's server - for example, Microsoft Outlook exchange server. switch (config) # email mailhub Add your email address for notifications. Run: switch (config) # email notify recipient Configure the system to send notifications for a specific event. Run: switch (config) # email notify event Show the list of events for which an email is sent. Run: 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 Step 6. 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) # Have the system send you a test email. Run: 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: Subject: System event on switch: Test email for event notification ==== System information: Hostname: switch Version: 2011-05-01 14:56:31 ... Date: 2011/05/01 08:17:29 Uptime: 17h 8m 28.060s Mellanox Technologies 52 Mellanox Technologies Confidential

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

Rev 1.6.9
Mellanox Technologies
52
Mellanox Technologies Confidential
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
Uptime:
17h 8m 28.060s