GoldenGate monitoring–command line
Over the last few years I’ve been working with Oracle Golden Gate (OGG) and the one thing that is an interesting topic with OGG is what is the best way to monitor the environment. To be honest, there are a few different ways to monitor OGG; yet the simplest is from the command line. (Yea, for command line junkies). What I want to show you in this posting is a quick script that can be used to check all the associated objects with OGG. Below is the script that I created to report on the status of all objects.
#!/bin/sh
#info_all.sh
export ORACLE_SID=<ora_SID>
export ORACLE_HOME=<oracle_home>
export ORACLE_BASE=<oracle_base>
export GGS_HOME=<ogg_home>
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:/usr/local/bin:/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
echo
echo “######################################################################”
echo `date +%d/%m/%Y\ %k:%M:%S`
echo
$GGS_HOME/ggsci <<EOF
info all
exit
EOF
Based on the script provided above, if ran, we will see all the relative information associated with OGG on the current host. Monitoring OGG from the command line is simple and straight forward by using shell scripts. Using the example provided, you should be able to create additional scripts that can meet your monitoring needs.
Enjoy!
twitter: @dbasolved
blog: http://dbasolved.com
Current Oracle Certs
Bobby Curtis
I’m Bobby Curtis and I’m just your normal average guy who has been working in the technology field for awhile (started when I was 18 with the US Army). The goal of this blog has changed a bit over the years. Initially, it was a general blog where I wrote thoughts down. Then it changed to focus on the Oracle Database, Oracle Enterprise Manager, and eventually Oracle GoldenGate.
If you want to follow me on a more timely manner, I can be followed on twitter at @dbasolved or on LinkedIn under “Bobby Curtis MBA”.
bcikeppahxteispnggfhwckueuyraz https://tripledvision.com/wp-content/uploads/top-obzor-kazino.html
Muchas gracias. ?Como puedo iniciar sesion?
A C ratio 4 lateralizes an adenoma priligy and viagra combination
A study observed early occurrence of cardiovascular complications secondary to cisplatin based chemotherapy order priligy In retrospect, I wish I had asked for all the other tests that most drs would want before starting IVF SSH, day 3 bloodwork