<?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: Mahesh</title>
    <description>The latest articles on Debug School by Mahesh (@laxmymaheshwar_641).</description>
    <link>https://www.debug.school/laxmymaheshwar_641</link>
    <image>
      <url>https://www.debug.school/images/Rmx1l5PdEr6BC_d_kqabQyAyc7bFuX0itOS_DXehW80/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzg2LzkzMDVm/MzZkLTc5OWMtNDcz/Yy05NjQxLTE1ZDNk/ODFiMmNjOS5wbmc</url>
      <title>Debug School: Mahesh</title>
      <link>https://www.debug.school/laxmymaheshwar_641</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/laxmymaheshwar_641"/>
    <language>en</language>
    <item>
      <title>Log analysis</title>
      <dc:creator>Mahesh</dc:creator>
      <pubDate>Thu, 15 Sep 2022 05:40:25 +0000</pubDate>
      <link>https://www.debug.school/laxmymaheshwar_641/log-analysis-3ddg</link>
      <guid>https://www.debug.school/laxmymaheshwar_641/log-analysis-3ddg</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Write down top 10 events in Windows and identify their event ID ?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;4624    Successful account log on&lt;br&gt;
4625    Failed account log on&lt;br&gt;
4634    An account logged off&lt;br&gt;
4648    A logon attempt was made with explicit credentials&lt;br&gt;
4719    System audit policy was changed.&lt;br&gt;
4964    A special group has been assigned to a new log on&lt;br&gt;
1102    Audit log was cleared. This can relate to a potential attack&lt;br&gt;
4720    A user account was created&lt;br&gt;
4722    A user account was enabled&lt;br&gt;
4723    An attempt was made to change the password of an account&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Write down top 10 events in Linux and identify their pattern and log linux&lt;/p&gt;

&lt;p&gt;/var/log/messages&lt;br&gt;
/var/log/auth.log&lt;br&gt;
/var/log/secure&lt;br&gt;
/var/log/boot.log&lt;br&gt;
/var/log/dmesg&lt;br&gt;
/var/log/kern.log&lt;br&gt;
/var/log/faillog&lt;br&gt;
/var/log/yum.log&lt;br&gt;
var/log/httpd/&lt;br&gt;
/var/log/mysql.log&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Identify the log file in linux which log service start|stop|enable|disable&lt;br&gt;
systemctl start service&lt;br&gt;
systemctl stop  service&lt;br&gt;
systemctl enable service&lt;br&gt;
systemctl disable service&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Identify the log file in linux which log process running or killed.&lt;br&gt;
/var/log/kern. log &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Identify the log file of apache and find out list of VERB and count of each using linux command&lt;br&gt;
/var/log/apache/access.log&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Title - Understanding Datadog Agent by Mahesh</title>
      <dc:creator>Mahesh</dc:creator>
      <pubDate>Tue, 13 Sep 2022 10:21:04 +0000</pubDate>
      <link>https://www.debug.school/laxmymaheshwar_641/title-understanding-datadog-agent-by-mahesh-3k1</link>
      <guid>https://www.debug.school/laxmymaheshwar_641/title-understanding-datadog-agent-by-mahesh-3k1</guid>
      <description>&lt;p&gt;1-** What is Datadog agent?**&lt;br&gt;
   It collects events and metrics from hosts and sends them to &lt;br&gt;
    Datadog, where you can analyze your monitoring and &lt;br&gt;
   performance data&lt;br&gt;
 the Agent is configured using a YAML file.&lt;br&gt;
the Agent is the recommended method to forward your data to the Datadog Platform.&lt;br&gt;
&lt;strong&gt;2- Type of Datadog Agent?&lt;/strong&gt;&lt;br&gt;
    Logs.&lt;br&gt;
    Metrics (gauge, rate, counter, and histogram).&lt;br&gt;
    Service checks.&lt;br&gt;
    Agent metadata and other events emitted from the /intake/ endpoint.&lt;br&gt;
&lt;strong&gt;3- Ports used to in Datadog agent?&lt;/strong&gt;&lt;br&gt;
  5000/tcp&lt;br&gt;
    Port for the go_expvar server&lt;br&gt;
  5001/tcp&lt;br&gt;
    Port the IPC API listens to&lt;br&gt;
5002/tcp&lt;br&gt;
    Port for the Agent browser GUI&lt;br&gt;
8125/udp&lt;/p&gt;

&lt;p&gt;8126/tcp&lt;br&gt;
    Port for the APM receiver&lt;/p&gt;

&lt;p&gt;4- Top 5 commands with simple explanation troubleshooting Datadog agent?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;config&lt;/strong&gt; Print the runtime configuration of a running agent&lt;br&gt;
&lt;strong&gt;configcheck&lt;/strong&gt; Print all configurations loaded &amp;amp; resolved of a running agent&lt;br&gt;
&lt;strong&gt;diagnose&lt;/strong&gt; Execute some connectivity diagnosis on your system&lt;br&gt;
&lt;strong&gt;dogstatsd&lt;/strong&gt;-capture Start a dogstatsd UDS traffic capture&lt;br&gt;
&lt;strong&gt;dogstatsd&lt;/strong&gt;-replay Replay dogstatsd traffic&lt;br&gt;
 systemctl start datadog-agent&lt;br&gt;
$ systemctl stop datadog-agent&lt;br&gt;
$ systemctl restart datadog-agent&lt;br&gt;
$ systemctl status datadog-agent&lt;br&gt;
**&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Locate how to enable Logs monitoring in datadog.yaml**
/etc/datadog-agent/conf.d/
/etc/datadog-agent/datadog.yaml&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Troubleshooting&lt;br&gt;
&lt;strong&gt;5.techniques for troubleshooting Datadog?&lt;/strong&gt;&lt;br&gt;
     i. host connected to the internet &lt;br&gt;
    ii. The Datadog API key set up in datadog.yaml configuration &lt;br&gt;
         file the API key corresponding to your Datadog platform&lt;br&gt;
    iii.  The site configured in y datadog.yaml configuration &lt;br&gt;
            file matching the one from the organization.&lt;br&gt;
   iv. There is only one Datadog Agent running on your host&lt;br&gt;
   V. Restart the Datadog Agent after editing a yaml &lt;br&gt;
      configuration file&lt;/p&gt;

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