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
preguntada hace 4 años1124 visualizaciones
1 Respuesta
0
Respuesta aceptada

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 hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas