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
asked 4 years ago1111 views
1 Answer
0
Accepted Answer

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

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions