Ui, my bad:
I read
"Sitescope Monitor failing for Oracle DB monitors"
but then
"[Microsoft][ODBC Driver Manager] Invalid string or buffer length"
and thus thought that you try to monitor a MS SQL DB.
If you are using the Oracle Database Monitor (base don the SiteScope 11.32 Monitor Reference manual, chapter 75: Oracle Database Monitor)
Oracle versions supported are 8i, 9i, 10g, 11i, 11g R2 (11.2.0.1), 11g R2 Real Application Clusters (RAC), and 12c (12.1.0.1) servers.
The manual further states
..
You must have a copy of the applicable Oracle JDBC database driver file on the SiteScope server (it
is recommended to use the official Oracle JDBC driver, ojdbc6.jar or later). Copy the downloaded
driver file into the <SiteScope root directory>\WEB-INF\lib subdirectory. Stop and restart the
SiteScope service after copying the driver file to the SiteScope machine
..
So first you would need to install a JDBC driver which supports oyur Oracle version.
Then you need to make sure that you use the proper connection information, again as documented in the manual:
You must supply the correct Database connection URL, a database user name and password when
setting up the monitor. When using the Oracle thin driver, the database connection URL has the form
of:
jdbc:oracle:thin:@<server name or IP address>:<port>:<database sid>.
When monitoring Oracle RAC databases, the database connection URL has the form of:
jdbc:oracle:thin:@<server name or IP address of SCAN (Single Client Access Name)
listener>:<port>/<database service name>.
For example, to connect to the ORCL database on a machine using port 1521 you would use:
jdbc:oracle:thin:@206.168.191.19:1521/ORCL.
Note: The colon (:) and the at (@) symbols must be included as shown.
- You must know the syntax for accessing the Oracle Database driver that was installed on the
SiteScope server. Examples of common database driver strings are:
o oracle.jdbc.driver.OracleDriver.SiteScope supports the following categories of JDBC driver
supplied by Oracle that are compatible with Java 7: JDBC thin driver for Oracle databases, and
JDBC OCI (thick) driver. For details on accessing Oracle databases using OCI driver, see "How to
Access Oracle Databases Using OCI Driver" on the next page.
o com.mercury.jdbc.oracle.OracleDriver. A driver for Oracle databases. When using the driver
deployed with SiteScope, the database connection URL has the form of:
jdbc:mercury:oracle://<server name or IP address>:<database server port>;sid=<sid>
Note: The URL format may differ if you are using another JDBC driver, since the JDBC URL
depends on the driver.
- Only one version of each driver may be installed on the SiteScope machine. If there is more that
So first I would check the driver and the monitor settings.
Greetings
Siggi