<?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: Shanu Jaiswal</title>
    <description>The latest articles on Debug School by Shanu Jaiswal (@shanuj0308_97).</description>
    <link>https://www.debug.school/shanuj0308_97</link>
    <image>
      <url>https://www.debug.school/images/2CWxOisNUwJXGq08U-ivd71BKvpRUEel_pW3jAl0ZFo/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzM2MC9jMjM4/YjY5Zi0yM2Y5LTQz/ZTItOWY2NC1lN2Ni/ZWQxN2U3NzAucG5n</url>
      <title>Debug School: Shanu Jaiswal</title>
      <link>https://www.debug.school/shanuj0308_97</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/shanuj0308_97"/>
    <language>en</language>
    <item>
      <title>Datadog Assignment Infra</title>
      <dc:creator>Shanu Jaiswal</dc:creator>
      <pubDate>Wed, 18 Jan 2023 05:48:48 +0000</pubDate>
      <link>https://www.debug.school/shanuj0308_97/datadog-assignment-infra-1e60</link>
      <guid>https://www.debug.school/shanuj0308_97/datadog-assignment-infra-1e60</guid>
      <description>&lt;p&gt;1) Datadog Agent collects events and metrics from hosts and sends them to Datadog where we can analyze the monitoring and performance data&lt;/p&gt;

&lt;p&gt;2) &lt;/p&gt;

&lt;ul&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;/ul&gt;

&lt;p&gt;3)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;datadog-agent flare    
datadog-agent status 
datadog-agent stop                                  
datadog-agent help                       
datadog-agent import           
datadog-agent integration 
datadog-agent configcheck
datadog-agent config
datadog-agent health
datadog-agent hostname
datadog-agent version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;4) &lt;/p&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;p&gt;5)&lt;br&gt;
system.cpu.idle&lt;br&gt;
system.cpu.iowait&lt;br&gt;
system.disk.in_use&lt;br&gt;
system.disk.total&lt;br&gt;
system.disk.used&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.mem.total&lt;br&gt;
system.mem.usable&lt;br&gt;
system.mem.used&lt;/p&gt;

&lt;p&gt;6)To activate a given integration:&lt;br&gt;
Rename the conf.yaml.example file (in the corresponding .d folder) to conf.yaml.&lt;br&gt;
Update the required parameters inside the newly created configuration file with the values corresponding to your environment.&lt;br&gt;
Restart the Datadog Agent.&lt;/p&gt;

&lt;p&gt;7)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;system.cpu.idle&lt;/li&gt;
&lt;li&gt;system.cpu.system&lt;/li&gt;
&lt;li&gt;system.disk.write_time&lt;/li&gt;
&lt;li&gt;system.mem.free&lt;/li&gt;
&lt;li&gt;system.cpu.user&lt;/li&gt;
&lt;li&gt;system.disk.free&lt;/li&gt;
&lt;li&gt;system.disk.total&lt;/li&gt;
&lt;li&gt;system.disk.used&lt;/li&gt;
&lt;li&gt;system.mem.total&lt;/li&gt;
&lt;li&gt;system.mem.usable&lt;/li&gt;
&lt;li&gt;system.mem.used&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;8) &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;requests per second&lt;/li&gt;
&lt;li&gt;bytes per requests&lt;/li&gt;
&lt;li&gt;cpu usage&lt;/li&gt;
&lt;li&gt;memory usage&lt;/li&gt;
&lt;li&gt;load&lt;/li&gt;
&lt;/ul&gt;

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