Is it possible to send alert email when used space of aggregate or volume reaches threshold?
Applies to
Answer
- The events below output in EMS when the used space of the aggregate or the volume reaches the setting value of
space-nearly-full-threshold-percent
orspace-full-threshold-percent
.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).
- The notification mail can be sent if configure event filter for the events above.