M
M
maniac_by2019-02-05 13:05:19
linux
maniac_by, 2019-02-05 13:05:19

How to set up Email or SMS mailing if there is an error in the logs?

Hello. There are JIRA and Confluence services and it happens (rarely, but still), they fall without "laying down". For example, "Out of Memory: Heap space". The Confluence process still remains running.
Is there a way to parse, for example, Catalina.out and send SMS/Email if the expression matches?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AUser0, 2019-02-05
@maniac_by

I advise monit, it saves a lot.

D
Dmitry Shitskov, 2019-02-05
@Zarom

-XX:OnOutOfMemoryError=killin the jvm launch options and will go to -> you can restart

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question