How to make your life as a dba even better?
Setup the following command in your cron job to run daily and get the severe errors from the db2 diaglog delivered right to your mailbox, pager, blackberry or iphone.
db2diag -l severe -H 1d | mail -s "$DB2INSTANCE - DB2DIAG.LOG SEVERE ERRORS - `date`" This e-mail address is being protected from spambots. You need JavaScript enabled to view it
Note: I have the shell variable DB2INSTANCE=<instance_name> defined in my .profile
| Comments |
|
Powered by !JoomlaComment 3.25





