Configure Sybase Collectors
To monitor Sybase with Database Visibility, you must run Sybase >= 15.
Connection Details
Section | Field | Description |
---|---|---|
Create New Collector | Database Type | The database type that you want to monitor. |
Agent | The Database Agent that manages the collector. | |
Collector Name | The name you want to identify the collector by. | |
Connection Details | Hostname or IP Address | The hostname or IP address of the machine that your database is running on. |
Listener Port | The TCP/IP address of the port on which your database communicates with the Database Agent. | |
Custom JDBC Connection String | The JDBC connection string generated by the
database agent, for example,
jdbc:sybase: . You can also
specify a custom connection string, which is
useful for setting custom authentication
options. | |
Database Credentials | Username | The name of the user who is connecting to and monitoring the database through the Database Agent. The user should have the permissions described in User Permissions for Sybase. |
Password | The password of the user who is connecting to and monitoring the database through the Database Agent. | |
CyberArk | Click to enable CyberArk for database
username and password. When CyberArk is enabled,
information about Application, Safe, Folder, and
Object is required to fetch the username and
password for your database. To use CyberArk with
Database Visibility, you must download the
JavaPasswordSDK.jar file from the CyberArk web
site and rename the file to
cyberark-sdk-9.5.jar . Then, you
must copy the JAR file to the lib directory of the
database agent zip file. | |
HashiCorp Vault | See Configure the HashiCorp Vault. | |
Advanced Options | Sub-Collectors | Click to monitor multiple database
instances in a consolidated view, and aggregate
metrics of multiple databases. To monitor a custom
cluster, you can add additional hostname or IP
address, and port details for each sub-collector.
You can add up to a total of 29 sub-collectors.
Thereby, 30 databases can be monitored in a custom
cluster. In addition to the licenses consumed by
the main collector, each sub-collector consumes
one or more licenses, depending on the database type. Note:
|
Connection Properties | Click to add a new JDBC connection property or edit an existing property for relational databases. | |
Exclude Databases | The databases that you want to exclude, separated by commas. | |
Monitor Operating System | See Configure the Database Agent to Monitor Server Hardware. |
User Permissions for Sybase
Permission type | Permission |
---|---|
Role permission |
|
Select permission |
|
Execute permission |
|
use [custom-db-name]
sp_adduser <user-name>
To create a new dedicated user for Splunk AppDynamics Database Visibility, you can use the following
sample user creation script. Before running the script, change
"password
" to a more secure
value.create login 'DBMon_Agent_User' with password 'password' go
exec sp_locklogin 'DBMon_Agent_User', 'unlock'
go
exec sp_role 'grant', 'mon_role', 'DBMon_Agent_User'
go
where DBMon_Agent_User is the user name under which you run the
Database Visibility Agent.Also, the following configuration parameters must be set to 1 (true) to monitor the
Sybase ASE database with Splunk AppDynamics Database Visibility: "enable
monitoring
", "wait event timing
", "SQL batch
capture
", and "object lockwait timing
". You should
also set "max SQL text monitored
" to at least 8192 (8kB).
sp_configure "enable monitoring", 1
go
sp_configure "wait event timing", 1
go
sp_configure "SQL batch capture", 1
go
sp_configure "object lockwait timing", 1
go
sp_configure "max SQL text monitored", 8192
go
If the value for "max SQL text monitored
" was previously less than
4096, then increasing this setting will require that you restart the Sybase ASE
instance.
sa_role
permission, run
these commands:use sybsystemprocs
grant execute on sp_sysmon to mon_role