You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've found a issue in plugin, In /opt/sensu/.aws/credentials only 1 AWS region credentials can be added. Which limits the use of different region based different credentials for different sqs queues monitoring. Kindly add an option in check-sqs-messages.rb to select which credentials are needed to be selected from /opt/sensu/.aws/credentials for the desired check to work. Right now it takes only 1 credential entry i.e only 1 aws_access_key_id and aws_secret_access_key where we can't add other/different region monitoring
Please provide some help regarding that I'm using it monitoring all our micro services queue count.
Thanks
The text was updated successfully, but these errors were encountered:
Try adding /opt/sensu/.aws/config with profiles defined for each region, e.g.:
[profile one]
region = us-west-1
[profile two]
region = us-west-2
And define the credentials in the credentials file with for each profile (instead of [default] you would need sections for each of the profiles, like [one]).
Then define the command as AWS_PROFILE=one check-sqs-message.rb ...
I don't think these plugins are being maintained anymore now that sensu-core is EOL.
@rwha I tried that, changed [default] profile in both` ~/.aws/config and ~/.aws/credential and it's working fine.
Accepting queue's from multiple profile. Thanks a lot for your help! :)
Hi,
I've found a issue in plugin, In /opt/sensu/.aws/credentials only 1 AWS region credentials can be added. Which limits the use of different region based different credentials for different sqs queues monitoring. Kindly add an option in check-sqs-messages.rb to select which credentials are needed to be selected from /opt/sensu/.aws/credentials for the desired check to work. Right now it takes only 1 credential entry i.e only 1 aws_access_key_id and aws_secret_access_key where we can't add other/different region monitoring
Please provide some help regarding that I'm using it monitoring all our micro services queue count.
Thanks
The text was updated successfully, but these errors were encountered: