Add trigger for aws instance health
@@ -47,6 +47,18 @@ g_template_aws:
expression: "{Template AWS:aws.ec2.eip.status.last()}<>0"
url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_aws_eip.asciidoc"
priority: average
+ - name: "EC2 instance health check failed on {HOST.NAME}"
+ expression: "{Template AWS :aws.ec2.instance.instance_status.last()}<>0"
+ url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_aws_instance.asciidoc"
+ priority: average
+ - name: "EC2 instance system health check failed on {HOST.NAME}"
+ expression: "{Template AWS:aws.ec2.instance.system_status.last()}<>0"
+ url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_aws_instance.asciidoc"
+ priority: average
+ - name: "EC2 instance events check failed on {HOST.NAME}"
+ expression: "{Template AWS:aws.ec2.instance.events.last()}<>0"
+ url: "https://github.com/openshift/ops-sop/blob/master/v3/alerts/check_aws_instance.asciidoc"
+ priority: average
zdiscoveryrules:
- name: disc.aws
