Configure Database Collector
2 minutesConfigure Database Collector
The Database Agent Collector is the process that runs within the Database Agent to collect performance metrics about your database instances and database servers. One collector collects metrics for one database instance. Multiple collectors can run in one Database Agent. Once the Database Agent is connected to the Controller one or more collectors can be configured in the Controller.
In this exercise you will perform the following tasks:
- Access your AppDynamics Controller from your web browser
- Configure a Database Collector in the Controller
- Confirm the Database Collector is collecting data
Login to the Controller
Log into the AppDynamics SE Lab Controller using your Cisco credentials.
Configure a Database Collector in the Controller
Use the following steps to change the settings for the query literals and navigate to the collectors configuration.
- Click the Databases tab on the left menu.
- Click the Configuration tab on the bottom left.
- Uncheck the checkbox for Remove literals from the queries.
- Click the Collectors option.
Use the following steps to configure a new Database collector.
- Click Add button.
- Select MySQL for the database type.
- Select DBMon-Lab-Agent for the database agent and enter the following parameters.
- Collector Name: Supercar-MySQL-YOURINITIALS
- Hostname or IP Address: localhost
- Listener Port: 3306
- Username: root
- Password: Welcome1!
- Select the Monitor Operating System checkbox under the Advanced Options
- Select Linux as the operating system and enter the following parameters.
- SSH Port: 22
- Username: splunk
- Password: Password Provided by Your Instructor to SSH into the EC2 Instance
- Click OK to save the collector.
Confirm that the Database Collector is collecting data
Wait for ten minutes to allow the collector to run and submit data, then follow these steps to verify that the database collector is connecting to the database and collecting database metrics.
- Click the Databases tab on the left menu
- Search for the Collector created in the previous section: Supercar-MySQL-YOURINITIALS
- Ensure the status is green and there are no errors shown.
- Click the Supercar-MySQL link to drill into the database.
Note: It may take up to 18 minutes from the time you configure your collector to see the Top 10 SQL Wait States and any queries on the Queries tab.
You can read more about configuring Database Collectors here





