Alerting

Why is SignalFx not giving Alerts?

tmitra
Observer

I am working in Hxc capture program and currently I am facing an issue in Signalfx. So I am reaching out for help/guidance.

I have created an Alert in signalFx using terraform.

The condition for the alert is that if the signal is less than 1 for a certain time( 2 for warning and 5 for critical),then alert will be triggered.

The code in Signalflow is :

signal = data('HealthCheckStatus', filter=filter('stat', 'upper') and filter('aws_account_id', '823990414917') and filter('aws_tag_Name', 'hxc-staging-health-check')).publish(label='A')

detect(when(signal < 1, '2m')).publish('WARNING[staging]: Route53 health down for 2m')

detect(when(signal < 1, '5m')).publish('CRITICAL[staging]: Route53 health down for 5m')

 

After that we created a condition when the signal came below 1 ( it came to 0).In the Alert graph we can see the same .But instead of actually triggering the alert,it is giving us a preview. (Attached screenshot)

 

The exact Alert message is "Estimated alert count: 1 in 1 hour. Alerts that would have triggered  shown in chart below."

So the bottom line is that Signalfx is not triggering the alert.

The code that I am using for this is : https://github.com/HylandSoftware/tf-cfg-hxc-signalfx-alerts/blob/main/terraform/alerts-route53-heal...

 

Alert Link:https://hyland.signalfx.com/#/detector/v2/FQo6JaWA0AI/edit?detectorSignalFlowEditor=1

 

tmitra_0-1650874746391.png

 

Labels (1)
Tags (2)
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...