<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Debug School: Sivakumar</title>
    <description>The latest articles on Debug School by Sivakumar (@sivakumar99445).</description>
    <link>https://www.debug.school/sivakumar99445</link>
    <image>
      <url>https://www.debug.school/images/PuK--YL76qs3r2e10ajMKYciJRloHPkhW7kd3W7uvV0/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzM0OS83N2I3/NTE0ZS00MjI0LTQx/ZGUtYTRiNi0yNDg0/M2Q0OWI3ZjIucG5n</url>
      <title>Debug School: Sivakumar</title>
      <link>https://www.debug.school/sivakumar99445</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/sivakumar99445"/>
    <language>en</language>
    <item>
      <title>DataDog Assignment Infra - 17 Jan</title>
      <dc:creator>Sivakumar</dc:creator>
      <pubDate>Tue, 17 Jan 2023 16:38:29 +0000</pubDate>
      <link>https://www.debug.school/sivakumar99445/datadog-assignment-infra-17-jan-5hjd</link>
      <guid>https://www.debug.school/sivakumar99445/datadog-assignment-infra-17-jan-5hjd</guid>
      <description>&lt;h2&gt;
  
  
  Datadog Agent
&lt;/h2&gt;

&lt;p&gt;The Datadog Agent is a software that runs on your hosts that collects events and metrics from hosts and sends them to Datadog (SAAS), where we can analyze the collected monitoring and performance data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Methods to send data to Datadog
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Collector collects host infra data.&lt;/li&gt;
&lt;li&gt;DogstatsD collects application metrics on code level.&lt;/li&gt;
&lt;li&gt;Both the above collected data will be transferred to forwarder using TCP protocol.&lt;/li&gt;
&lt;li&gt;Forwarder send data to DataDog SAAS using http protocol.&lt;/li&gt;
&lt;li&gt;For Apache, the metrices will be saved separately which in-turn was fetched by DataDog agent.&lt;/li&gt;
&lt;li&gt;From DataDog SAAS, the metrices will be published or fetched in DataDog UI&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Top 10 commands of Datadog Agent
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;datadog-agent health
datadog-agent status
datadog-agent stop
datadog-agent check 
datadog-agent hostname
datadog-agent launch-gui
datadog-agent run
datadog-agent version
datadog-agent config
datadog-agent diagnose
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Top 10 Techniques for troubleshooting Datadog Agent
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Check Datadog Agent Process is running or not&lt;/li&gt;
&lt;li&gt;Check Datadog Agent Logs for Error&lt;/li&gt;
&lt;li&gt;Check Datadog Agent Configuration file(datadog.yaml) syntax Error&lt;/li&gt;
&lt;li&gt;Check Datadog Integration Configuration file(datadog.yaml) syntax Error&lt;/li&gt;
&lt;li&gt;Check Datadog Agent API Key in datadog.yaml&lt;/li&gt;
&lt;li&gt;Check ENV variable set for Datadog Agent conflict with datadog.yaml&lt;/li&gt;
&lt;li&gt;Print the runtime configuration of a running agent&lt;/li&gt;
&lt;li&gt;Print all configurations loaded &amp;amp; resolved of a running agent&lt;/li&gt;
&lt;li&gt;Execute some connectivity diagnosis on your system&lt;/li&gt;
&lt;li&gt;Print the current agent health&lt;/li&gt;
&lt;li&gt;Print basic statistics on the metrics processed by DogStatsD&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Top 10 Metrices of Linux Servers
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;system.cpu.idle&lt;br&gt;
system.cpu.iowait&lt;br&gt;
system.cpu.num_cores&lt;br&gt;
system.cpu.system&lt;br&gt;
system.cpu.user&lt;br&gt;
system.disk.free&lt;br&gt;
system.disk.in_use&lt;br&gt;
system.disk.total&lt;br&gt;
system.disk.used&lt;br&gt;
system.mem.total&lt;br&gt;
system.mem.usable&lt;br&gt;
system.mem.used&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Steps to enable apache integration in DataDog
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Install datadog-agent in the host.&lt;/li&gt;
&lt;li&gt;Install Apache in the host and configure variables.&lt;/li&gt;
&lt;li&gt;Click on “Install Integration” in apache tile on integration tab&lt;/li&gt;
&lt;li&gt;Enable mod_status &amp;amp; ExtendedStatus in Apache&lt;/li&gt;
&lt;li&gt;Enable Datadog Apache Integration configuration to start collecting your Apache metrics.&lt;/li&gt;
&lt;li&gt;Verify the Apache Metrics on Datadog Console&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Top 10 Metrices of Windows Servers
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;system.cpu.idle&lt;br&gt;
system.cpu.system&lt;br&gt;
system.cpu.user&lt;br&gt;
system.disk.free&lt;br&gt;
system.disk.total&lt;br&gt;
system.disk.used&lt;br&gt;
system.disk.write_time&lt;br&gt;
system.mem.free&lt;br&gt;
system.mem.total&lt;br&gt;
system.mem.usable&lt;br&gt;
system.mem.used&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Top 5 Metrices of Apache
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;apache.net.bytes_per_s&lt;br&gt;
apache.net.request_per_s&lt;br&gt;
apache.performance.cpu_load&lt;br&gt;
apache.performance.idle_workers&lt;br&gt;
apache.performance.max_workers&lt;/code&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
