Shell Scripting Example 6 – Every 2 min’s Check whether DB is up or down and send mail alert

Posted: April 19, 2015 in mysql status, Shell Script

Shell script to check whether MySQL Data Base  is up or down.

1.If it is down i Will get mail alert

2.In cronjob make it as every 2 mins to run

22

23

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s