Guardian Release 0.4.0

Guardian 0.4.0 will be released with the following new features. The new version will be rolled out through Bearse.

Alarm Group Level Property Overries

Alarm group level overrides allow guardian to override alarm properties for an entire alarm group without having to individually apply it to each alarm. Using the key GroupOverrides along with the property and value key pairs you can override properties that apply to all alarms in the alarm group.

For example the following config will override the AlarmAction property for the Ec2Instance alarm group to the Information notifcation topic. This property is applied to all alarms withing the Ec2Instance. alarm group.

Templates:
  Ec2Instance:
    GroupOverrides:
      AlarmAction: Informational

Alarm group overrides can be overriden on the individual alarm level. The following example overrides the group alarm override and set the CPUUtilizationHigh AlarmAction to Critical.

Templates:
  Ec2Instance:
    GroupOverrides:
      AlarmAction: Informational
    CPUUtilizationHigh:
      AlarmAction: Critical

See the guardian docs for more info

Custom SNS Topics

Previously Guardian had 4 nofication levels Critical, Warning, Task and Informational. With this release we’ve added the ability to add custom notification topics as well as supply multiple topics to each alarm. This provides the ability to notify multiple sources such as a 3rd party when an alarm is triggered.

The following example creates a new notification topic 3rdParty in our topics section which is then applied to all of our EC2 alarms.

Topics:
  Critical: arn:aws:sns:ap-southeast-2:123456789012:Critical
  Warning: arn:aws:sns:ap-southeast-2:123456789012:Warning
  Task: arn:aws:sns:ap-southeast-2:123456789012:Task
  Informational: arn:aws:sns:ap-southeast-2:123456789012:Informational
  3rdParty: arn:aws:sns:ap-southeast-2:123456789012:3rd-party

Template:
  Ec2Instance:
    GroupOverrides:
      AlarmActions:
      - Critical
      - 3rdParty

See the guardian docs for more info