hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

ssl alert does not display the specific domain name

Open codech opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

ssl alert没有显示具体的域名

Expected Behavior

[HertzBeat Alert Notify] Monitor Target : availability Monitor ID : 331873380587776 Alert Priority : Emergency Alert Alert Trigger Time : 2024-01-10 06:38:53 Alert Content : ssl_cert monitoring availability alert, code is UN_CONNECTABLEConsole Login

Steps To Reproduce

No response

Environment

v1.4.3

Debug logs

No response

Anything else?

No response

codech avatar Jan 10 '24 03:01 codech

we can add Monitor Name

tomsun28 avatar Jan 10 '24 03:01 tomsun28

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


we can add Monitor Name

hertzbeat avatar Jan 10 '24 03:01 hertzbeat

May I work on this?

kurayami07734 avatar Feb 06 '24 08:02 kurayami07734

Hi you can, 👍👍you are very welcome. I see that this issue has been partially fixed in PR https://github.com/dromara/hertzbeat/pull/1515, but the webhook notification template still does not support monitorHost. You can try to refer to this PR and add monitorHost to the webhook notification template.
https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/templates/2-WebhookTemplate.txt

tomsun28 avatar Feb 06 '24 08:02 tomsun28