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
已提问 4 年前1124 查看次数
1 回答
0
已接受的回答

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

已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则