Amazon-Cloudwatch [SOLVED]: VPN metrics in Cloudwatch

Amazon-Cloudwatch [SOLVED]: VPN metrics in Cloudwatch

Home Forums Amazon Web Services Amazon Cloudwatch Amazon-Cloudwatch [SOLVED]: VPN metrics in Cloudwatch

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #225703

    Cloudy Point
    Keymaster

    QuestionQuestion

    Recently I have configured the ALARM in Cloudwatch for tracking VPN Tunnel connection. It is well known that 0 indicates tunnel is DOWN and 1 indicates tunnel is UP. When Connection is down, I have seen some data points on the graph shown as 0.66, 0.75.

    So what does that mean, is the connection is DOWN or UP?

    #225704

    Cloudy Point
    Keymaster

    Accepted AnswerAnswer

    The correct statistic for each metric depends on your use case, and the underling metric.

    From CloudWatch Concepts – Statistics

    Statistics are metric data aggregations over specified periods of
    time. CloudWatch provides statistics based on the metric data points
    provided by your custom data or provided by other AWS services to
    CloudWatch. Aggregations are made using the namespace, metric name,
    dimensions, and the data point unit of measure, within the time period
    you specify. The following table describes the available statistics.

    Given the VPN metric above, try using the Maximum or Minimum statistics for the alarm. You are using the Average statistic, which, as you noted, will not produce meaningful data for your use case.

    • Minimum
      The lowest value observed during the specified period. You can use this value to determine low volumes of activity for your application.
    • Maximum
      The highest value observed during the specified period. You can use this value to determine high volumes of activity for your application.

    Source: https://stackoverflow.com/questions/47264748/vpn-metrics-in-cloudwatch
    Author: Rodrigo M
    Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.