Related Documentation | Version of up.time affected | Affected Platforms |
up.time Configuration Parameters | 4.4 or newer | All |
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
(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 | ||
---|---|---|
| ||
dbHostname=oracle1-2-3.yourdomain.com dbPort=1521 dbName=oradb.yourdomain.com |
...