cabot icon indicating copy to clipboard operation
cabot copied to clipboard

Customize Email alerts/ Add exception in email alert

Open manojDevOps opened this issue 7 years ago • 5 comments

Can we customize Email alert ? Add some exception in the email sent from Cabot ?

manojDevOps avatar Sep 08 '17 16:09 manojDevOps

Can you give a user story/scenario to illustrate this ticket?

dbuxton avatar Sep 10 '17 20:09 dbuxton

Thanks for your response I want to customize my email alert by throwing actual error or exception rather than saying fail or pass. I think I got a plugin now (cabot-alert-skeleton) and now I am trying to install it to my dashboard.

manojDevOps avatar Sep 11 '17 01:09 manojDevOps

I don't really understand what the use case is here. Is this when Cabot fails e.g. to fetch a metric because the server is down?

dbuxton avatar Sep 11 '17 13:09 dbuxton

I am sry for confusing. Lemme explain u, When a http check fails for my service I want an email alert with the status message as below {"status": "UP"} or {"status", "DOWN", "message" : "connection error with kafka"} ...etc

manojDevOps avatar Sep 11 '17 15:09 manojDevOps

I am sry for confusing. Lemme explain u, When a http check fails for my service I want an email alert with the status message as below {"status": "UP"} or {"status", "DOWN", "message" : "connection error with kafka"} ...etc

I have forked original email plugin and made some customization over template, take a look at https://github.com/onagorodniuk/cabot-alert-email

onagorodniuk avatar Mar 30 '20 08:03 onagorodniuk