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
feita há 4 anos1124 visualizações
1 Resposta
0
Resposta aceita

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

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas