Skip to main content
Solved

AWS - monitor specific metrics - Cloudwatch

  • 24 July 2024
  • 1 reply
  • 20 views

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

 

1 reply

Badge +6

Hello,

 

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

 

Laurent

Reply