How to get email alert when swapspace over threshold

Status
Not open for further replies.

leebrown66

Cadet
Joined
Aug 30, 2018
Messages
2
Hi,

I've just taken on the administration of a FreeNAS 11.1-U1 box. Users were complaining their VM's were slow and I saw that the 6GB of swap was totally exhausted. I shut down all the VM's (which made no difference) and rebooted the box.

My question is can FreeNAS send me an email when swap use goes over a threshold (say 15%) or do I just need to write a cron job for this? I could not see any configurable alerts.

I'll be upgrading to U6 this weekend, I saw some memory leaks were fixed in that.

Thanks -- lee
upload_2018-9-6_20-20-46.png
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
You really shouldn’t be swapping at all, you need more RAM
 

Hazimil

Contributor
Joined
May 26, 2014
Messages
172

leebrown66

Cadet
Joined
Aug 30, 2018
Messages
2
I wrote the cron job so I now know if the boxes are in distress.

Since the upgrade to U6 I have seen zero swap usage.
 
Status
Not open for further replies.
Top