Skip to main content
Solved

AWS - monitor specific metrics - Cloudwatch

  • July 24, 2024
  • 1 reply
  • 71 views

Forum|alt.badge.img+10

Hello,

we try to monitor some specidif custom Cloudwatch metrics with Centreon.

Monitor the metrics seems ok but…

The only response we have from the command is “ OK: “ without any other details, same with --verbose.

How to have details ?

 

the command is:

/usr/lib/centreon/plugins/centreon_aws_cloudwatch_api.pl --plugin --custommode='awscli' --mode='get-metrics' --region='eu-central-1' --aws-secret-key='xxxxxxxxxxxxxxxxxxxxxxxxxxxx' --aws-access-key='xxxxxxxxxxxxxxxxx' --namespace='CloudWatchSynthetics' --metric='SuccessPercent' --verbose

 

and the response is:

OK:

 

rRegards,

 

Laurent

 

Best answer by LaurentV

Hello,

 

ok, just missed right : "cloudwatch:getMetricStatistics" on my user.

 

Laurent

1 reply

Forum|alt.badge.img+10
  • Author
  • Builder *
  • Answer
  • July 25, 2024

Hello,

 

ok, just missed right : "cloudwatch:getMetricStatistics" on my user.

 

Laurent