W
W
web_dev2020-02-05 14:18:06
linux
web_dev, 2020-02-05 14:18:06

AlertManager with the ability to write your own behavior logic?

Hello, tell me, advise ..
There is a need for AlertManager, in which you can describe the logic in the behavior. It's not just to check the rest endpoint and so on.

It's just that now the question is, continue to expand the self-written AlertManager or take some suitable tool?
I want prometheus, though I don’t know if it’s possible to configure / write logic there ...

Self-written AlertManager currently has configurable parameters.
- when and to whom to send SMS.
- Send only when a certain number of points are reached, which are determined by logic.
- logic: makes a request to the server, processes the request, poisons the email, checks if it has arrived, monitors the logs for certain tags, and so on

Question: What do you recommend? From OpenSource, what could you host?
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
CityCat4, 2020-02-05
@CityCat4

You have a jamb with tags. What is AlertManager, what is it for, where does it come from?
besides

check if he came

- it's impossible. Well, it's impossible to say for sure. It is possible to be convinced that the server has accepted the letter, no more. What he (the server) did with him (the letter) - only his admin will say.

V
Vitaly Karasik, 2020-02-05
@vitaly_il1

In any modern open source monitor (Prometheus, Zabbix, Zenoss, ... ) you can configure alerts at two levels:
- using the condition description language
- by rewriting / extending the decision logic itself
The first way, es-but, is much simpler. So I advise you to check the first option - this should be enough for most cases.

M
mureevms, 2020-02-05
@mureevms

I want prometheus, though I don’t know if it’s possible to configure / write logic there ...

Put it on, you won't regret it. Its AlertManager is quite flexible. But keep in mind that AlertManager from Prometheus works with matrices from this same Prometheus. If you need to fasten some separate check, it will be very non-trivial, if not a crutch. In general, first take a closer look at it and keep in mind that AlertManager is a manager for monitoring metrics, and not monitoring in a broad sense.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question