We have a couple dozen utility scripts that run on various machines to do things like application level backups, pruning out old data, cleaning up disk space, etc. They were written by multiple developers over time and there's not much common structure among them. Some log to a file, some log to syslog, some send email alerts, others fail silently, some email on success, others succeed silently, some scripts run every minute and spam us with alerts every minute when there are problems, etc. These have grown organically over several years and as we migrate to new hardware, I'd like to clean them up.How do others handle these types of one-off scripts that are different for every application,  but we still want some structure for log files, alerts, etc.Is there a framework script that will help with this? The scripts themselves are a written in Perl, Python, and Bash, but a common invocation script could still be used to point to log files, send alerts on success/failure, etc. I've looked around for one but I'm not even search what to search for. Or are alerts better handled through Nagios or other general monitoring system?
Utility script framework
scripting