Debug School

Mahender Rasamalla
Mahender Rasamalla

Posted on

Datadog-agent Assignmet day1

Q1. What is Datadog Agent?
Answer: Datadog agent is software as service which is an obsarbility platform used to monitor, trace create alerts & dashboards.

Q2. What are list of methods to send data to Datadog?
Answer: Following are the methods to send data to Datadog:

  1. Collector (Datadog agent)
  2. DogstasD (Custom Metrics) - Extension of LogstasD lib

  3. Top 10 commands of Datadog Agent
    Answer: Following are the top 10 commands of Datadog agent:

  4. datadog-agent run

  5. datadog-agent configcheck

  6. datadog-agent health

  7. datadog-agent hostname

  8. datadog-agent status

  9. datadog-agent check

  10. datadog-agent stop

  11. datadog-agent version

  12. datadog-agent stream-logs

  13. datadog-agent dogstasd-sta

  14. Top 10 Techniques for troubleshooting Datadog Agent
    Answer: Following are the top 10 techniques for troubleshooting Datadog Agent:

verify status of Datadog agent using datadog-agent status.
verify status of site URL configured in datadog.yaml.
verify for permission issues for running that agent.
verify the integration installation in Datadog portal.
verify for the API Key correctness in datadog.yaml used from Datadog portal.

  1. Top 10 Metrices of Linux Servers which you should care it? Answer: Following are the metric of Linux Servers:
  2. system.io.avg_rq_sz - The average size of request issued to device.
  3. system.io.avg_q_sz - The average queue size of request issued to device.
  4. system.disk.free - The amount of disk space that is free.
  5. system.mem.free - The amount of memory that is free.
  6. system.load.1 - The average system load over 1 minute.
  7. system.cpu.system The percent of time the CPU spent
    running the kernel.

  8. Write down the steps to enable any integration in datadog?
    Answer: 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 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/.d/
vi .yaml
init_config:

instances:

  • url: "unix://var/run/docker.sock" new_tag_names: true
    1. Top 10 Metrices of Windows Servers which you should care it? Answer: Following are the metrices of windows servers:
    2. Server Uptime
    3. Disk Utilization
    4. Memory Utilization
    5. Request Queue Size
  1. Top 5 Metrices of Apache which you should not miss it? Answer: Following are top 5 metrices of Apache:
  2. apache.performance.cpu_load - The percent of CPU used.
  3. apache.net.request_per_s - The number of requests performed per second.
  4. apache.conns_total - The total number of connections performed.
  5. apache.net.hits - The total number of requests performed.
  6. apache.performance.busy_workers - The number of workers serving requests.

Top comments (0)