This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ################################################################################################################################################################## | |
# Database Server Monitoring Script [dbalarm]. | |
VER="[8.0]" | |
SCRIPT_NAME="dbalarm${VER}" | |
# Features: | |
# Report ERRORS in DB, ASM Instance, GRID INFRASTRUCTURE, GOLDENGATE and LISTENERS ALERTLOG plus dmesg DEVICE DRIVER OS log. | |
# Report TABLESPACES, ASM DISKGROUPS and FRA when reach %USED THRESHOLD. | |
# Report OFFLINE databases. | |
# Report CPU, FILESYSTEM, TABLESPACES When hit the THRESHOLD. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ##################################################################################################### | |
# Script to Enable the trace on an Oracle Session. | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 24-12-11 # # # # # | |
# | |
# Modified: 31-12-13 Customized the script to run on various environments. | |
# 04-05-14 Enhanced trace file search criteria. | |
# 16-06-20 Enhanced trace file search criteria. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ################################################# | |
# Script to STOP tracing an Oracle Traced Session. | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 24-12-11 # # # # # | |
# Modified: 31-12-13 | |
# Customized the script to run on | |
# various environments. | |
# 04-05-14 Enhanced search criteria | |
# for generated trace file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ############################################################################################## | |
# This script shows AUDIT records for DB User. | |
# To be run by ORACLE user | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 25-04-2013 # # # # # | |
# | |
# Modified: 07-03-2019 Allow the user to control the display of LOGIN/LOGOFF data. | |
# 10-03-2019 Added the option of excluding specific audit action from the report. | |
# ############################################################################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ################################################################################################################################################### | |
# Ver: 3.4 | |
# EXPORT DATABASE | SCHEMA | TABLE. | |
# To be run by ORACLE user | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# # # # # # | |
# Created: 03-02-2014 | |
# Modified: 26-05-2014 Hashed METADATA export lines to clear the confusion. | |
# 21-08-2014 Added DEGREE OF PARALLELISM calculation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ################################################################################### | |
# This script Backup & Cleanup the database logs. | |
# To be run by ORACLE user | |
# [Ver 2.0] | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 03-06-2013 # # # # # | |
# Modified: 02-07-2013 | |
# 14-01-2014 Customized the script to run on various environments. | |
# 14-06-2017 Increased the script accuracy and elimiated tar bug. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ################################################################################################## | |
# Database COLD Backup Script. | |
# [Ver 1.6] # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# Created: 22-12-13 # # # # # | |
# | |
# Modified: 16-05-14 Increased linesize to avoid line breaking. | |
# | |
# | |
# ################################################################################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ################################################################################################################################## | |
# DATABASE DAILY HEALTH CHECK MONITORING SCRIPT | |
VER="[6.2]" | |
# =================================================================================================== | |
# CAUTION: THIS SCRIPT MAY CAUSE A SLIGHT OVEARHEAD, DO NOT RUN IT TOO FREQUENT, ONCE A DAY IS IDEAL. | |
# =================================================================================================== | |
# *********** | |
# How To Use: | |
# *********** | |
# 1- Set your Email by modifying this parameter below: EMAIL="[email protected]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ####################################################################################################################### | |
# Ver [3.4] | |
# CONFIGURATION BASELINE COLLECTOR SCRIPT FOR ORACLE DATABASE & LINUX OS | |
# THIS SCRIPT WILL WRITE FOUR LOG FILES: | |
# - ONE FOR DATABASE CONFIGURATIONS [One log for EACH database]. | |
# - ONE CONTAINS CREATION/GRANTED PRIVILEGES DDL STATEMENTS FOR ALL DB USERS [One log for EACH database]. | |
# - ONE FOR CONTROLFILE BACKUP TO TRACE [One log for EACH database]. | |
# - ONE FOR OS CONFIGURATIONS. | |
# | |
# FEATURES: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ##################################################################################################### | |
# This script takes an on-demand RMAN Backup. | |
# [Ver 5.2] | |
# # # # | |
# Author: Mahmmoud ADEL # # # # ### | |
# # # # # # | |
# Created: 24-09-11 | |
# Modified: 31-12-13 Customized the script to run on various environments. | |
# 12-03-16 Run RMAN command in the background to avoid job fail when session terminate. |
OlderNewer