Monitoring EC2 And Apache with Data Dog

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • Monitoring EC2 And Apache with Data Dog
    ########################################
     Amazon Linux Instance
     Datadog account
    Installing the DataDogAgent
    Check datadog-agent status:
    service datadog-agent status
    Apache Installation:
    sudo yum install -y httpd
    sudo systemctl status httpd
    sudo systemctl enable httpd
    sudo systemctl start httpd
    Configuring Apache for DataDog:
    cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd_bk.conf
    vi /etc/httpd/conf/httpd.conf
    Paste the following text in the httpd.conf file
    systemctl restart httpd
    curl -kI localhost/server-status
    Configuring Data Agent For Apache:
    -----------------------------------
    mv /etc/datadog-agent/conf.d/apache.d/conf.yaml.example /etc/datadog-agent/conf.d/apache.d/conf.yaml
    vi /etc/datadog-agent/conf.d/apache.d/conf.yaml
    Logs:
    ------
    vi /etc/datadog-agent/datadog.yaml
    vi /etc/datadog-agent/conf.d/apache.d/conf.yaml
    ---------------------------------------------------
    logs:
    - type: file
    path: /var/log/httpd/access_log
    source: apache
    sourcecategory: http_web_access
    service: httpd
    - type: file
    path: /var/log/ httpd/error_log
    source: apache
    sourcecategory: http_web_access
    service: httpd
    ----------------------------------------------------
    Permissions for logs:
    --------------------
    cd /var/log
    chmod 655 -R httpd
    Restart DataDog:
    sudo service datadog-agent restart
    Check the DataDog Status:
    sudo datadog-agent status

ความคิดเห็น • 28

  • @AkshayK
    @AkshayK 2 ปีที่แล้ว +3

    datadog documentation and support suck so this was very helpful!

  • @katlaselenium6878
    @katlaselenium6878 2 ปีที่แล้ว +1

    Very good explanation, thanks for sharing your knowledge
    Please share few more videos on next steps

  • @rajasekharchdn
    @rajasekharchdn 5 หลายเดือนก่อน

    Thanks for the help !!

  • @mikelmrana9331
    @mikelmrana9331 2 ปีที่แล้ว

    Thank you Vamsi

  • @veeranjaneyagupta9837
    @veeranjaneyagupta9837 4 ปีที่แล้ว

    I have completed the entire flow as you showed, its awesome, great work Bro, keep it up!

    • @veeranjaneyagupta9837
      @veeranjaneyagupta9837 4 ปีที่แล้ว

      I would prefer to add some tracing, one small dashboard and one simple alert flow would make it complete it and anybody can become Datadog familiar just with your video

    • @cloudtechmasters9985
      @cloudtechmasters9985  4 ปีที่แล้ว

      @@veeranjaneyagupta9837 Thanks for your feedback, please do watch other videos as well and let me know in case if you face any issues

  • @markfencingman
    @markfencingman 2 ปีที่แล้ว

    really helpful. thanks. Would like to see DataDogs and Java logs integration?

  • @mirzafaisalbaig
    @mirzafaisalbaig 3 ปีที่แล้ว +1

    Can you please create video for apm in datadog, trace id injection.

  • @tadtab2
    @tadtab2 2 ปีที่แล้ว

    Thank you!!!

  • @senthilkumar5129
    @senthilkumar5129 2 ปีที่แล้ว

    Nice thank you

  • @muthusankaranarayananvalli1667
    @muthusankaranarayananvalli1667 3 ปีที่แล้ว

    very nice

  • @anantababa
    @anantababa ปีที่แล้ว

    Hi , Do you have any video for create Datadog Dashboard to monitor AWS kafka services

    • @cloudtechmasters9985
      @cloudtechmasters9985  ปีที่แล้ว

      hi u can follow official docs and share errors if you face
      docs.datadoghq.com/integrations/amazon_msk/
      PFB
      chat.whatsapp.com/BODcLqIEGdh2GN4vHl4GKg

  • @brindajose856
    @brindajose856 2 ปีที่แล้ว

    could you also paste the location tag . I am unsure where to copy it from . Thank you

  • @abhishekdhanawade8000
    @abhishekdhanawade8000 2 ปีที่แล้ว

    where to find code ? please add this code also

  • @saibharath690
    @saibharath690 2 ปีที่แล้ว

    While check the apache status using Curl command i got an issue HTTP/1.1 404 NOT Found

    • @nareshnag4926
      @nareshnag4926 2 ปีที่แล้ว

      Hii bro..you solve the issue.

  • @prathibhap7770
    @prathibhap7770 3 ปีที่แล้ว

    Hi sir how can I contact you