Support Questions
Find answers, ask questions, and share your expertise

Trigger works but not sending alerts

Solved Go to solution

Trigger works but not sending alerts

Explorer

I created a trigger for a flume in cloudera manager, with a certain condition (Eps drops to < 5). Here is the condition:

 

SELECT event_put_success_rate_across_flume_channels WHERE entityName="flume" AND last(event_put_success_rate_across_flume_channels) <= 5.

 

It is triggering now as seen in the CM UI. However I was expecting it to also send alert by email, which it does not. I am getting alerts by email on other things but not the custom triggers. What am I missing in configuring my trigger/alert?

I restarted Flume, Alert Publisher and the CM service management as well. Anything else I am missing?

 

Thank you!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Trigger works but not sending alerts

Explorer

Ok, this is resolved. The problem was the alert threshold was set to send emails when a service enters a Bad state. However the trigger expression was "DO health:concerning"

 

Once I changed it to "DO health:bad" it worked. User mistake, again :(

View solution in original post

5 REPLIES 5
Highlighted

Re: Trigger works but not sending alerts

New Contributor

I am having this problem, too. Have you found a solution?

Highlighted

Re: Trigger works but not sending alerts

Explorer

No  :-(

Highlighted

Re: Trigger works but not sending alerts

Explorer

Ok, this is resolved. The problem was the alert threshold was set to send emails when a service enters a Bad state. However the trigger expression was "DO health:concerning"

 

Once I changed it to "DO health:bad" it worked. User mistake, again :(

View solution in original post

Highlighted

Re: Trigger works but not sending alerts

Community Manager

Great to see that you resolved your issue. Feel free to mark your last comment as the solution in case it can assist others. :)


Cy Jervis, Community Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:
Community Guidelines
How to use the forum
Highlighted

Re: Trigger works but not sending alerts

Explorer

I just did, thank you.