Most large IT shops have a tool that monitors servers for the admins and reports on issues such as low disk space. Smaller shops, or non-production servers in large shops, may not have this. Running out of disk space on a job server is a fatal situation. Jobs will simply stop running with no explanation and they likely will not recover once space is restored.
To be proactive, I wrote a disk space monitoring job for my Data Services clients. This is specific to windows but could be adapted for Linux. If any local drive in the system falls below a global variable’s threshold of 100 megabytes, the job will send an email. To send email from an ETL job you’ll have to configure the SMTP settings in the Server Manager utility. Be sure you test this – don’t assume that sending email from the job server is working.
Here are the variable declarations.
Be sure you set default values for the two global variables. For the email recipient variable, I prefer to use an email group/alias instead of individual email addresses.