Shell Scripts


Some of the shell (bash) scripts I have created for Nagios monitoring, routine system maintenance or sending reports by e-mail. I use them mostly on FreeBSD systems, but they should also be adaptable on Linux or any other Unix system. For feedback please send me an e-mail.

This scripts are free to use, but on your own risk!
  • The check_ scripts are checks for Nagios
  • The report- scripts are usually run from cron once a day (after log rotation) and will send a report to the e-mail address defined in the cron (see header of script for details).
  • The update- scripts are usually run from cron and update files from the Internet on the local system. They should only generate output and sending an e-mail on failure.
  • The mysql-backup.sh scripts is usually run from cron and creates dumps from all databases (or only specified databases) from a MySQL / MariaDB server. It only generates output on failure.


Icon  Name                        Last modified      Size  
[PARENTDIR] Parent Directory - [   ] check_dns_delegation.sh 2015-12-22 19:59 4.1K [   ] mysql-backup.sh 2015-02-23 20:51 3.5K [   ] report-SA.sh 2013-09-08 13:40 743 [   ] report-dns-bind-9.10.sh 2014-06-14 21:47 2.3K [   ] report-dns-bind-9.9.sh 2013-11-12 16:45 2.3K [   ] report-email.sh 2014-06-29 20:59 1.9K [   ] update-ndpmon-ethercodes.sh 2013-07-01 21:26 793



Document History

11-Oct-2013Initial publication
10-Nov-2013Reworked report-dns.sh to support views and added Response Rate Limiting
11-Dec-2013Added check_dns_tld_delegation.sh
04-Feb-2014Added reworked check_dns_delegation.sh and removed "old" check_dns_tld_delegation.sh
07-Feb-2014Small update of check_dns_delegation.sh
14-Jun-2014Renamed report-dns.sh to report-dns-bind-9.9.sh and added report-dns-bind-9.10.sh
29-Jun-2014Small update of report-email.sh
16-Feb-2015Added mysql-backup.sh
23-Feb-2015Small update of mysql-backup.sh
22-Dec-2015Improvements of check_dns_delegation.sh

Fabian Wenk last update 22-Dec-2015