Solved

getting reports of failed backup/exports via email (and presentation)

  • 24 November 2022
  • 5 comments
  • 216 views

Userlevel 3

Good day folks, my name is Alessandro and I’m a legacy (and old) system and backup admin who recently started working with K10/Openshift.

In this topic I’d like to ask the community if there is a way to tell K10 “send me one email every morning, containing the list of iussues occurred yesterday with the protection of namespaces/project.”

Support suggested me to follow this guide

https://docs.kasten.io/latest/operating/monitoring.html?highlight=grafana#grafana-alerts

and I did it, but I only get unuseful mails with the “backup ended overall” test in the body.

I googled a lot and I’ve found this article

https://24xsiempre.com/en/set-up-email-alerts-kasten-k10/

If I understand well, they decided to bypass grafana (which is kind of an overkill just to get an email...) installed a second prometheus and managed to get some email. 

Does anyone struggled with the same task I’m working on? Potentially trying something like in the previous post?
Thanks in advance

icon

Best answer by FRubens 18 January 2023, 14:38

View original

5 comments

Userlevel 6
Badge +2

@tinto.1970 I just saw your post.

From what I see, You are trying to get alerts for the failed backups in your email.

I think it is just matter of tweaking the alert rules in grafana .

You probably have only the example alert rule configured from the docs.
I can help you with the more promql queries which can be used to configured alert rules.

LMK if you are still on it.

Userlevel 6
Badge +2

In this topic I’d like to ask the community if there is a way to tell K10 “send me one email every morning, containing the list of iussues occurred yesterday with the protection of namespaces/project.”

 

Also, we don’t have a way to send daily reports over the email for time being.

 

Userlevel 3

I’ve solved this way: 

 

Userlevel 4
Badge +2

Hello @tinto.1970 

Hope all is well, there is a document where we provide how to setup alerts/rules on K10 grafana to be sent by email daily. 

Please take a look, other alerts can be created based in different K10 prometheus metrics.

https://kb.kasten.io/knowledge/setting-up-smtp-and-alerting-with-k10-grafana

Regards
Fernando R.

Userlevel 3

thanks Fernando, this looks fine. I’ve tried to configure alerts with Grafana a couple of months ago but I did not suceed, because I don’t know Grafana at all.

I will try again following this more detailed (and pretty recent I guess) guide, thanks!

Comment