Alexandr
Alexandr

Reputation: 1

How to get a webhook from harbor using alertmanger?

Suppose I have enabled webhook on harbor

1

And... How to get a webhook from harbor using alertmanger?

Initially, I tried to do it through vmalert and collecting metrics from harbor. In this way I did it. But it must be done through harbor's webhook. Accordingly, can alertmanager receive webhooks? If so, how is it done correctly?

Upvotes: 0

Views: 265

Answers (1)

markalex
markalex

Reputation: 13414

Alertmanager is usually the one who triggers webhooks, but generally it could receive one, if syntax of payload would be appropriate.

Here is example how to trigger alertmanager with curl.

Upvotes: 0

Related Questions