Debug School

Aleena
Aleena

Posted on

DD Day2 Assignment

Assignment

1) Enable Live Process monitoring in Datadog Agent

Install Datadog Agent
vi /etc/datadog-agent/datadog.yaml

enable

process_config:
process_collection:

enabled: true

systemctl restart datadog-agent
check status
In Datadog dashboard check in “Infrastructure” tab and select “Processes” to see the list.

2) Write it down a step to collect apache metrices to datadog

Install Apache HTTPD
In Datadog dashboard select integration and search for APACHE. Install it.
Enable mod_status and restart apache
Enable Datadog Apache Integration configuration to start collecting your Apache metrics
vi /etc/datadog-agent/conf.d/apache.d/conf.yaml :- add server details (if needed)
check status
check the Metrix explore in Datadog dashboard

3) Write it down a step to collect tomcat metrices to datadog
Install Open JDK 11
Install Tomcat
Enable JMX Remote in Tomcat in catalina.sh
stop/start tomcat
Enable Tomcat intergration in Datadog agent in /etc/datadog-agent/conf.d/tomcat.d/conf.yaml
Restart datadog-agent and check status
In Datadog dashboard select integration and search for Tomcat. Install it.
Browse : http://ip:8080 for traffic and check in Metrix explore in Datadog dashboard

4)Write it down a step to collect docker metrices to datadog
Install Docker Server
In Datadog dashboard select integration and search for Docker. Install it.
Enable Docker integration with Datadog :- add agent to docker group and configure agent in docker yaml
in /etc/datadog-agent/conf.d/docker.d/conf.yaml add the instance URL details
Restart datadog-agent
check datadog-agent status
Create containers and check the Metrix explore in Datadog dashboard for "Docker"
In Datadog dashboard check in “Infrastructure” tab check containers to list.

5)Write it down a step to collect mysql metrices to datadog

Install and Configure Mysql Server
In Datadog dashboard select integration and search for Mysql. Install it.
create a database user for the Datadog Agent
Grant the user privileges to collect metrics.
Configure Datadog agent to collect metrics.
make changes in /etc/datadog-agent/conf.d/mysql.d/conf.yaml
Restart datadog-agent
check the Metrix explore in Datadog dashboard for "mysql"

Top comments (0)