Monitor Linux OS process using Cloud Watch

0

Hello Experts, Could you please let me know if there is any to monitor OS process that triggers a lambda function ? Also, can we use cloud watch to monitor a process which intern acts as a trigger for Lambda function.

Please guide me to any documentation available on that.

AWS
gefragt vor 4 Jahren1124 Aufrufe
1 Antwort
0
Akzeptierte Antwort

You can use the procstat Plugin available in CloudWatch to monitor the process.

Refer: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-procstat-process-metrics.html

Once you have the metrics in CloudWatch you can create a CloudWatch alarm based on that metrics. Alarm can be an event trigger for the Lambda function.

Refer: https://docs.aws.amazon.com/lambda/latest/dg/services-cloudwatchevents-tutorial.html

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen