Hey y'all!
Anyone by any chance has a Unix script (an outline will do) which would check whether a db is running, and if it is not the case would send an alert of some sort to an admin, like SMS or an e-mail?
Thanks much.
Here you go.
The unix file db.base has a list of db's you would like to check.
:awink: for DB in `cat db.base`
do
proutil $DB -C holder > /dev/null
if test $? != 16
then
echo $DB is down > /tmp/mail-message
mail name@email.co.za < /tmp/mail-message
fi
done
SpyKey said:
Hey y'all!
Anyone by any chance has a Unix script (an outline will do) which would check whether a db is running, and if it is not the case would send an alert of some sort to an admin, like SMS or an e-mail?
Thanks much.
Not to do a sales pitch on Progress' behalf, but doesn't the Fathom Management tool include this along with a multitude of other performance monitoring alerts?
It doesn't come free though, but it is a supported product with defined results rather than home written code
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.