Lan Samba Server. Want it to notify me when disk is running low via email?
Hi
I have stumbled my way through setting up a basic Samba file server with Ubuntu Server 11.04. I would like it to notify me when disk space is getting tight. I have found scripts online that I can adapt to suit my needs. The issue I have is how to notify myself when space is an issue.
I already log on to it via ssh and can run commands to manually check what's going on but I would like to automate the process. The examples of scripts I have read include emailing the alert to the email admin person.
I tried sending myself an email via "mail" at the command line and it just returned a send fail type message.
Any ideas or tips on how I can email myself or notify myself?
Oh and it's only across my home lan. I don't need/want to find out remotely.
Last edited by Moggertron; 02-04-2012 at 08:06 PM.
|