Amazon Simple Notification Service (Amazon SNS) is a web service that coordinates and manages the delivery or sending of messages to subscribing endpoints or clients.

Resource Information:

  • Type of Resource: Generic monitorable resource
  • Discovery type: AWS SDK discovery type
  • Discovery profile selection: Resource can be discovered by “SNS” in the profiler
  • ResourceTag: SNS
  • Resource Unique Identification: topicArn (topic.topicArn())
  • Dependencies: SNS Topic may have subscriptions and integrate with various AWS services for notifications

In Amazon SNS, there are two types of clients:

  • Publishers, also called producers, communicate asynchronously with subscribers by producing and sending a message to a topic, which is a logical access point and communication channel.
  • Subscribers, also called consumers, consume or receive the message or notification over one of the supported protocols when they are subscribed to the topic. Subscribers include web servers, email addresses, Amazon SQS queues, AWS Lambda functions. Supported protocols include Amazon SQS, HTTP/S, email, SMS, Lambda.

Use the AWS public cloud integration to discover and collect metrics against the AWS service.

External reference

What is Amazon SNS?

Setup

To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select SNS.

Event support

CloudTrail event support

  • Supported (CreateTopic, DeleteTopic)
  • Configurable in OpsRamp AWS Integration Discovery Profile.

CloudWatch alarm support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

Supported metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_sns_NumberOfMessagesPublishedNumberOfMessagesPublishedNumber Of Messages PublishedCountSumThe number of messages published to your Amazon SNS topics
aws_sns_NumberOfNotificationsDeliveredNumberOfNotificationsDeliveredNumber Of Notifications DeliveredCountSumThe number of messages successfully delivered from your Amazon SNS topics to subscribing endpoints
aws_sns_NumberOfNotificationsFailedNumberOfNotificationsFailedNumber Of Notifications FailedCountSumThe number of messages that Amazon SNS failed to deliver
aws_sns_NumberOfNotificationsFilteredOutNumberOfNotificationsFilteredOutNumber Of Notifications Filtered OutCountSumThe number of messages rejected by subscription filter policies
aws_sns_NumberOfNotificationsFilteredOutMessageAttributesNumberOfNotificationsFilteredOut-MessageAttributesNumber Of Notifications Filtered Out-Message AttributesCountSumThe number of messages rejected by subscription filter policies for attribute-based filtering
aws_sns_NumberOfNotificationsFilteredOutMessageBodyNumberOfNotificationsFilteredOut-MessageBodyNumber Of Notifications Filtered Out-Message BodyCountSumThe number of messages rejected by subscription filter policies for payload-based filtering
aws_sns_NumberOfNotificationsFilteredOutInvalidAttributesNumberOfNotificationsFilteredOut-InvalidAttributesNumber Of Notifications Filtered Out-Invalid AttributesCountSumThe number of messages rejected because message attributes are invalid
aws_sns_NumberOfNotificationsFilteredOutNoMessageAttributesNumberOfNotificationsFilteredOut-NoMessageAttributesNumber Of Notifications Filtered Out-No Message AttributesCountSumThe number of messages rejected because the messages have no attributes
aws_sns_NumberOfNotificationsFilteredOutInvalidMessageBodyNumberOfNotificationsFilteredOut-InvalidMessageBodyNumber Of Notifications Filtered Out-Invalid Message BodyCountSumThe number of messages rejected because the message body is invalid for filtering
aws_sns_NumberOfNotificationsRedrivenToDlqNumberOfNotificationsRedrivenToDlqNumber Of Notifications Redriven To DlqCountSumThe number of messages moved to a dead-letter queue
aws_sns_NumberOfNotificationsFailedToRedriveToDlqNumberOfNotificationsFailedToRedriveToDlqNumber Of Notifications Failed To Redrive To DlqCountSumThe number of messages that could not be moved to a dead-letter queue
aws_sns_PublishSizePublishSizePublish SizeBytesAverageThe size of messages published