Useful Bash scripts for prior use as Nagios plugins