Hi Paulo,
Oracle is one of the more problematic assets to set-up scanning as there is so much that can go wrong. From experience, I found that following these steps provide better chance of configuring the scanning correctly (I asume agent-less here, in case of agent-based it's a bit didderent):
-
Have latest PU/SCU installed on Application Server and CCS Manager
-
Install Oracle Instant Client (latest version) on CCS Manager
-
Download also Instant Client Package - SQL*Plus package which will be useful for troubleshooting
-
Open ports between CCS Manager and target server
-
Ensure CCS Manager properly resolved the target server
-
Obtain proper credentials for data collection (both for the OS and DB)
- ensure you test the credentials by trying connecting to db via sqlplus you installed in step 3
-
Ensure credentials have proper access to the resources being scanned
-
Add Unix asset into CCS
-
Add OS asset credentials
-
Import Oracle asset from OS asset
-
Add Oracle asset credentials
-
Run some simple query against DB asset to verify
For some general troubleshooting you can try:
- Troubleshooting Oracle credentials
<path to\instantclient_12_1>sqlplus <user name>/<password>@server.domain.com:1521/<SID>
- on Unix server where DB is running, run (as Oracle user) "lsnrctl status" and compare the information with the oracle asset in CCS
Note that above is from my experience setting up Oracle monitoring for simple (default) installation of Oracle, not RAC or some highly complex set-up and I'm not Oracle expert. If above does not help, provide me following info:
- Oracle DB version along with host OS name and versions (uname –a output in case of Unix systems).
- Export all messages received for data collection job run.
- Export all messages received during asset import job.
- Provide any screenshots or assets which may illustrate the issue or provide additional information.