是否可以在聚合或卷的已用空间达到阈值时发送警报电子邮件?
适用场景
问题解答
- 当聚合或卷的已用空间达到
space-nearly-full-threshold-percent
或space-full-threshold-percent
的设置值时,EMS输出以下事件。monitor.volume.nearlyFull
monitor.volume.full
cluster1::> event log show -node cluster1-01 -severity * -message-name monitor.volume.*
Time Node Severity Event
------------------- ---------------- ------------- ---------------------------
9/29/2023 10:12:56 cluster1-01 ALERT monitor.volume.full: Volume"vol1@vserver:c047fed8-ee7b-11ed-ac8c-XXXXX" is full (using or reserving 70% of space and 0% of inodes).
9/29/2023 10:12:14 cluster1-01 ERROR monitor.volume.nearlyFull: Volume vol1@vserver:c047fed8-ee7b-11ed-ac8c-XXXXX is nearly full (using or reserving 62% of space and 0% of inodes).
9/29/2023 10:09:59 cluster1-01 ALERT monitor.volume.full: Aggregate"cluster1_01_SSD_1" is full (using or reserving 2% of space and 0% of inodes).
9/29/2023 10:07:01 cluster1-01 ERROR monitor.volume.nearlyFull: Aggregate cluster1_01_SSD_1 is nearly full (using or reserving 1% of space and 0% of inodes).
- 如果为上述事件配置事件筛选器、则可以发送通知邮件。