Ans.: The Datadog Agent is software that runs on the hosts machine/server. It collects events and metrics from hosts and sends them to Datadog, where you can analyze your monitoring and performance data.
Ans.: Following are the methods to send data to Datadog:
1. Collector (Datadog agent)
2. DogstasD (Custom Metrics) - Extension of LogstasD lib
Ans.: Following are the top 10 commands of Datadog agent:
Ans.: Following are the top 10 techniques for troubleshooting Datadog Agent:
- Check status of Datadog agent using
- Check datadog.yaml file for correct indentation or misconfiguration.
- Check status of site URL configured in datadog.yaml.
- Check for permission issues for running that agent.
- Check the integration installation in Datadog portal.
- Check for the API Key correctness in datadog.yaml used from Datadog portal.
Ans.: Following are the metric of Linux Servers:
system.io.avg_rq_sz - The average size of request
issued to device.
system.io.avg_q_sz - The average queue size of request
issued to device.
system.disk.free - The amount of disk space that is
system.mem.free - The amount of memory that is free.
system.load.1 - The average system load over 1 minute.
system.cpu.system The percent of time the CPU spent
running the kernel.
Ans.: Following are the steps to enable any integration in datadog(except legacy products):
- Install the required software or product whose metrics needs to be collected and also supported by Datadog agent.
- Before we proceed, make sure you have Datadog agent running on your server or machine.
- Add datadog agent user to the user group of that software or product.
usermod -a -G <product> dd-agent
- Once user is added, proceed to update the config of that software/product inside below path and open yaml file.
- Update that file shown below with (if you are trying for docker) given configs.
- Once above step down. Restart the docker and datadog agent.
- After few seconds, once agent is restarted you will be able to watch metrics in Metrics > Explorer in Datadog portal.
/etc/datadog-agent/conf.d/<product>.d/ vi <product-conf>.yaml
init_config: instances: - url: "unix://var/run/docker.sock" new_tag_names: true
Ans.: Following are the metrices of windows servers:
1. Server Uptime
2. Disk Utilization
3. Memory Utilization
4. Request Queue Size
Ans.: Following are top 5 metrices of Apache:
apache.performance.cpu_load - The percent of CPU used.
apache.net.request_per_s - The number of requests
performed per second.
apache.conns_total - The total number of connections
apache.net.hits - The total number of requests
apache.performance.busy_workers - The number of
workers serving requests.