2008/11/30

Configure Database Target Monitoring Credentials for Grid Control

GC 10.2.0.4

After intalling an agent on a linux host, everything in Grid Control is fine except that database status is unknown with a error "Metrics Collection Error". After I googled problem and checked documents, I found this may be caused by incorrect monitoring credentials settings. Oracle uses dbsnmp account to monitor target. In order to monitor database target, dbsnmp account must be valid (not locked) and what OMS expects and each componnet must be aware of the password for this account.

According to Section "Specifying New Target Monitoring Credentials" in "Oracle Enterprise Manager Advanced Configuration", there are two ways to modify monitoring credentials: Grid Control and emctl command.
Trying to configure database inside Grid Control by clicking on "configure", Properties page didn't show up as instructed.
So go to emctl command under AGENT_HOME/bin (on the target host):
emctl config agent credentials [Target_name[:Target_type]]
For example:
emctl config agent credentials :oracle_database

You can list the target names by:
emctl config agent listtargets

After configuration, go to database home page in Grid Control, it worked. Home page show up!

No comments: