Sign inSign up

peakcom/scheduled-event-exporter

By peakcom

Updated over 7 years ago

Image
0

369

peakcom/scheduled-event-exporter repository overview

AWS scheduled events exporter

This application exports information about AWS scheduled events. It only supports currently IAM roles, and only requires 1 IAM permission.

IAM permission required

ec2:DescribeInstanceStatus

Exported information

Exports metrics with:

labelvalue
instance_id of firing eventHours to the scheduled event
Prometheus Alert examples
  - alert: AWS_Scheduled_Event
    expr: aws_events_scheduled_events_status < 96
    for: 10m
    labels:
      notify: %%TEAM%%
      severity: critical
    annotations:
      summary: "Ec2 instance {{ $labels.instance_name }} is scheduled for event (current value: {{ $value }})"
  - alert: AWS_Scheduled_Event
    expr: aws_events_scheduled_events_status < 200
    for: 10m
    labels:
      notify: %%TEAM%%
      severity: warning
    annotations:
      summary: "Ec2 instance {{ $labels.instance_name }} is scheduled for event (current value: {{ $value }})"

Tag summary

Content type

Image

Digest

Size

12.3 MB

Last updated

over 7 years ago

docker pull peakcom/scheduled-event-exporter