Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch

Rev 1.6.2
Mellanox Technologies
260
stats alarm <alarm-id> {rising | falling}
stats alarm <alarm ID> {rising | falling} {clear-threshold | error-threshold}
<threshold-value>
Configure alarms thresholds.
Syntax Description alarm ID Alarms supported by the system, for example:
cpu_util_indiv - Average CPU utilization too high: per-
cent utilization
disk_io - Operating System Disk I/O per second too high:
kilobytes per second
fs_mnt - Free filesystem space too low: percent of disk
space free
intf_util - Network utilization too high: bytes per second
memory_pct_used - Too much memory in use: percent of
physical memory used
paging - Paging activity too high: page faults
temperature - Temperature is too high: degrees
falling Configures alarm for when the statistic falls too low.
rising Configures alarm for when the statistic rises too high.
error-threshold Sets threshold to trigger falling or rising alarm.
clear-threshold Sets threshold to clear falling or rising alarm.
threshold-value The desired threshold value, different per alarm.
Default Default is different per alarm-id
Modes/Context Config
History 3.1.0000
Role admin
Example
switch (config) # stats alarm cpu_util_indiv falling clear-threshold 10
switch (config) #
Related Commands show stats alarm
Note Not all alarms support all four thresholds.