OEM 10g R4 Targets Entry and “Metric Collection Error”
Recently, we have new version of oracle enterprise manager 10g release 4 installed in our environment. The process of installation is pretty smooth and the only problem is that we lost monitoring of one database in our production database server through OEM. It seems that there is improper configuration about the database entry somewhere.
In order to figure out this problem, we intuitively go find the configuration file in folder /sysman/emd directly under the folder where OEM agent is installed. We opened a file targets.xml there and found that we missed a entry for that missing database. Simply add it and then reload agent (we execute $emctl reload agent) and that database is popped up on OEM. That’s quite straightforward.
After quick glance of the OEM monitoring page, we found another problem indicating “Metric Collection Error” as following figure.
We doubt that the password for DBSNMP is not presented correctly in file targets.xml. Therefore, we log into Grid Control, click the Target tab->All Targets sub-tab. Select the missing database target’s radio button, then click the Configure button on the top left. Enter the DBSNMP password for the database. (Note: This may be the same as the SYS password if you chose that option when you created the database.)
After minutes, the error is gone away and all databases have been presented properly with availability status “Up”.
Popularity: 10% [?]
Tags:none
















