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
datadog documentation and support suck so this was very helpful!
thanks for your feedback
Very good explanation, thanks for sharing your knowledge
Please share few more videos on next steps
Thanks for the help !!
Thank you Vamsi
I have completed the entire flow as you showed, its awesome, great work Bro, keep it up!
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
@@veeranjaneyagupta9837 Thanks for your feedback, please do watch other videos as well and let me know in case if you face any issues
really helpful. thanks. Would like to see DataDogs and Java logs integration?
Will upload soon
Can you please create video for apm in datadog, trace id injection.
Thank you!!!
You're welcome!
Nice thank you
Welcome
very nice
Hi , Do you have any video for create Datadog Dashboard to monitor AWS kafka services
hi u can follow official docs and share errors if you face
docs.datadoghq.com/integrations/amazon_msk/
PFB
chat.whatsapp.com/BODcLqIEGdh2GN4vHl4GKg
could you also paste the location tag . I am unsure where to copy it from . Thank you
where to find code ? please add this code also
While check the apache status using Curl command i got an issue HTTP/1.1 404 NOT Found
Hii bro..you solve the issue.
Hi sir how can I contact you