Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article suggests how to troubleshoot and resolve issues related to connecting to an Oracle database with any of the three Uptime Infrastructure Monitor Oracle service monitors (Basic Check, Advanced Metrics or Tablespace Check).

If an Oracle monitor is failing with the message, "Could not connect to database," check the following points to ensure that the monitor is properly configured:

  1. Review tnsnames.ora from the Oracle server being contacted.

      ...

        1. Find corresponding SID entry in the file (the SID field in the Oracle service monitor needs to match the GLOBAL_NAME field, or if it isn't set, the SERVICE_NAME field in tnsnames.ora).

      ...

        1. Make sure the port matches.
      1. Make sure the necessary firewall port exceptions are in place on the OS and networking devices between Uptime Infrastructure Monitor and the Oracle database server.

      ...

      1. Log into Oracle with the same user account that Uptime Infrastructure Monitor is configured to use to see if any warnings or errors are returned.
      2. On the Uptime Infrastructure Monitor Monitoring Station server, change the loggingLevel from INFO to DEBUG in <uptime_dir>/uptime.conf to provide further logging (restart the up.time Data Collector or uptime_core service for the change to take effect). The increased logging can be reviewed in <uptime_dir>/logs/uptime.log.Image Removed