Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Related DocumentationVersion of up.time affectedAffected Platforms
up.time Configuration Parameters4.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:

Code Block
languagetext
dbDriver=oracle.jdbc.OracleDriver

...


dbType=oracle

...


dbHostname=oraserv

...


dbPort=1521

...


dbName=uptime

...


dbUsername=name

...


dbPassword=password

 Below Below is a sample of a TNS connection string: 

Code Block
languagesql
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle1-2-3.yourdomain.com) (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:

Code Block
languagetext
dbHostname=oracle1-2-3.yourdomain.com
dbPort=1521
dbName=oradb.yourdomain.com

...