Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
\n \n \n \n \n \n \n \n \n \n \n \n \n
Related DocumentationVersion of up.time \naffectedaffectedAffected Platforms
up.time Configuration Parameters \n4.4 or newerAll

...

 

If you plan to run up.time with an Oracle DataStore, you can use the information in the Oracle TNS connection string to populate database-specific fields that need to be set in the uptime.conf file.

...

 

The uptime.conf file settings for an Oracle DataStore are:

...

 

dbDriver
\ndbDriver=oracle.jdbc.OracleDriver
\ndbTypedbType=oracle
\ndbHostnamedbHostname=oraserv
\ndbPortdbPort=1521
\ndbNamedbName=uptime
\ndbUsernamedbUsername=name
\ndbPassworddbPassword=password
\n

...

 

Below is a sample of a TNS connection string:

...

 

(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle1-2-3.yourdomain.com) \n (PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=oradb.yourdomain.com)))

...

 

Add the values highlighted in bold in the TNS connection string above into the uptime.conf file as follows:

...

 

dbHostname
\ndbHostname=oracle1-2-3.yourdomain.com
\ndbPortdbPort=1521
\ndbNamedbName=oradb.yourdomain.com
\n