You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hertzbeat.apache.org by 薛晓雨 <xu...@163.com> on 2026/04/16 11:13:36 UTC
关于告警恢复通知功能的咨询
大家好,
我目前在使用 HertzBeat v1.8.0 监控 HTTP 接口(需要校验返回的 statusCode)。
目前告警触发时能正常收到通知,但告警恢复后没有通知。请问:
1. 这个功能未来有计划支持吗?
2. 如果支持,大概会在哪个版本?
3. 在当前版本下,有没有推荐的解决方案可以实现恢复通知?
谢谢!
Re: Re:Re: Re:Re: 关于告警恢复通知功能的咨询
Posted by Lixin Diao <di...@apache.org>.
hi
邮件里图片无法显示,可能某些环节出现了问题,我们可以移步仓库的Issues区或Discussions区
On 2026/04/22 06:10:52 薛晓雨 wrote:
> 你好,感谢回复:
> 我们用的是v1.8.0版本,采用实时告警模式,自定义监控模版,请问这个版本支持实时阈值告警恢复通知么,因为监测了很久还是收不到恢复提醒,状态也不变,先关文档和论坛也没找到相关问题信息,检查了配置未发现有遗漏的地方,还是有其他地方配置这个恢复提醒通知的开关么?希望能得到您的指点,感谢
> 1.监控中心配置:
>
>
> 2.实时阈值规则:
>
>
> 3.自定义监控模版:
> category: custom
> app: saas_business_monitor
> name:
> zh-CN: SaaS业务API监控
> en-US: SaaS Business API Monitor
> help:
> zh-CN: "监控SaaS业务核心流程: 首页访问, 用户登录, 获取信息, 退出登录"
> en-US: "Monitor SaaS business core flow: Homepage, Login, Get User Info, Logout"
>
>
> params:
> - field: host
> name:
> zh-CN: 主机Host
> en-US: Host
> type: host
> required: true
> defaultValue: 101.200.X.X
> - field: port
> name:
> zh-CN: 端口
> en-US: Port
> type: number
> required: true
> defaultValue: 80
> - field: timeout
> name:
> zh-CN: 超时时间(ms)
> en-US: Timeout(ms)
> type: number
> required: false
> defaultValue: 15000
>
>
> metrics:
> # 步骤3: 获取用户信息
> - name: api_user_info
> i18n:
> zh-CN: 获取用户信息
> en-US: Get User Info
> priority: 2
> fields:
> - field: statusCode
> type: 1
> label: true
> - field: message
> type: 1
> label: true
> aliasFields:
> - status
> - message
> calculates:
> - statusCode=status
> - message=message
>
>
> protocol: http
> http:
> host: ^_^host^_^
> port: ^_^port^_^
> url: "/saas/getInfo"
> method: GET
> timeout: ^_^timeout^_^
> headers:
> Token: ^o^auth_token^o^
> parseType: jsonPath
> parseScript: "$"
> keyword:
> - "成功"
> 4.分组收敛:
>
>
>
> 在 2026-04-22 02:56:54,"Lixin Diao" <di...@apache.org> 写道:
> >你好,
> >
> >请检查您设置的分组收敛策略的`间隔时间`,恢复告警的通知至多可能需要延迟等待该时间间隔之后才会发送,在此期间,监控中心查看statusCode可能是正常,但是告警中心中仍会显示告警中,建议调整小该数值之后再观察。另外恢复通知的格式可能跟告警通知长得差不多,仅有status值的差异,请留意。
> >
> >---
> >
> >Hi,
> >
> >Please check the "Interval Time" set in your grouping convergence policy. The notification for recovery alerts may be delayed and sent only after this time interval has passed. During this period, the statusCode in the Monitoring Center might appear normal, but the status in the Alert Center will still show "Alerting." We suggest decreasing this value and then observing the results.Additionally, please note that the format of the recovery notification may be very similar to the alert notification, with only a difference in the status value.
> >
> >感谢您的反馈!
> >Thank you!
> >
> >
> >On 2026/04/20 05:38:01 薛晓雨 wrote:
> >> 你好,
> >> 我们的场景是:监控模版里面自定义监控,配置了四个步骤也就是项目的四个接口,然后集成到监控中心,监控中心里面此时有四个监控接口,然后配置阈值规则,四个接口都配置阈值规则,如果接口返回statusCode码如果不是200,就企业微信告警提醒,同时也配置了分组收敛,现象是:2个接口返回不是200,企业微信发生告警提醒,但是接口恢复之后,监控中心已经返回200了,企业微信没有恢复提醒,同时告警中心里面的告警状态还是告警中。
> >> 感谢!
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> 在 2026-04-18 02:37:38,"Lixin Diao" <di...@apache.org> 写道:
> >> >晓雨,你好,
> >> >
> >> >我这边经过测试确认,HertzBeat v1.8.0 在告警恢复后是可以发送通知的。
> >> >
> >> >方便的话,麻烦您再详细描述一下当前的使用场景,例如监控类型、阈值规则配置、通知方式,以及恢复时的实际表现,这样我们可以进一步帮您分析为什么没有收到恢复通知。
> >> >
> >> >谢谢。
> >> >
> >> >Hello Xue Xiaoyu,
> >> >
> >> >We have verified through testing that HertzBeat v1.8.0 can send notifications after an alert is recovered.
> >> >
> >> >If convenient, could you please share more details about your usage scenario, such as the monitor type, alert rule configuration, notification method, and what exactly happened when the alert recovered? That will help us further analyze why the recovery notification was not received.
> >> >
> >> >Thank you.
> >> >
> >> >On 2026/04/16 11:13:36 薛晓雨 wrote:
> >> >> 大家好,
> >> >>
> >> >>
> >> >> 我目前在使用 HertzBeat v1.8.0 监控 HTTP 接口(需要校验返回的 statusCode)。
> >> >>
> >> >>
> >> >> 目前告警触发时能正常收到通知,但告警恢复后没有通知。请问:
> >> >>
> >> >>
> >> >> 1. 这个功能未来有计划支持吗?
> >> >> 2. 如果支持,大概会在哪个版本?
> >> >> 3. 在当前版本下,有没有推荐的解决方案可以实现恢复通知?
> >> >>
> >> >>
> >> >> 谢谢!
> >> >>
> >> >>
> >> >>
> >> >>
> >> >
> >> >---------------------------------------------------------------------
> >> >To unsubscribe, e-mail: dev-unsubscribe@hertzbeat.apache.org
> >> >For additional commands, e-mail: dev-help@hertzbeat.apache.org
> >> >
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe@hertzbeat.apache.org
> >For additional commands, e-mail: dev-help@hertzbeat.apache.org
> >
>
Re:Re: Re:Re: 关于告警恢复通知功能的咨询
Posted by 薛晓雨 <xu...@163.com>.
你好,感谢回复:
我们用的是v1.8.0版本,采用实时告警模式,自定义监控模版,请问这个版本支持实时阈值告警恢复通知么,因为监测了很久还是收不到恢复提醒,状态也不变,先关文档和论坛也没找到相关问题信息,检查了配置未发现有遗漏的地方,还是有其他地方配置这个恢复提醒通知的开关么?希望能得到您的指点,感谢
1.监控中心配置:
2.实时阈值规则:
3.自定义监控模版:
category: custom
app: saas_business_monitor
name:
zh-CN: SaaS业务API监控
en-US: SaaS Business API Monitor
help:
zh-CN: "监控SaaS业务核心流程: 首页访问, 用户登录, 获取信息, 退出登录"
en-US: "Monitor SaaS business core flow: Homepage, Login, Get User Info, Logout"
params:
- field: host
name:
zh-CN: 主机Host
en-US: Host
type: host
required: true
defaultValue: 101.200.X.X
- field: port
name:
zh-CN: 端口
en-US: Port
type: number
required: true
defaultValue: 80
- field: timeout
name:
zh-CN: 超时时间(ms)
en-US: Timeout(ms)
type: number
required: false
defaultValue: 15000
metrics:
# 步骤3: 获取用户信息
- name: api_user_info
i18n:
zh-CN: 获取用户信息
en-US: Get User Info
priority: 2
fields:
- field: statusCode
type: 1
label: true
- field: message
type: 1
label: true
aliasFields:
- status
- message
calculates:
- statusCode=status
- message=message
protocol: http
http:
host: ^_^host^_^
port: ^_^port^_^
url: "/saas/getInfo"
method: GET
timeout: ^_^timeout^_^
headers:
Token: ^o^auth_token^o^
parseType: jsonPath
parseScript: "$"
keyword:
- "成功"
4.分组收敛:
在 2026-04-22 02:56:54,"Lixin Diao" <di...@apache.org> 写道:
>你好,
>
>请检查您设置的分组收敛策略的`间隔时间`,恢复告警的通知至多可能需要延迟等待该时间间隔之后才会发送,在此期间,监控中心查看statusCode可能是正常,但是告警中心中仍会显示告警中,建议调整小该数值之后再观察。另外恢复通知的格式可能跟告警通知长得差不多,仅有status值的差异,请留意。
>
>---
>
>Hi,
>
>Please check the "Interval Time" set in your grouping convergence policy. The notification for recovery alerts may be delayed and sent only after this time interval has passed. During this period, the statusCode in the Monitoring Center might appear normal, but the status in the Alert Center will still show "Alerting." We suggest decreasing this value and then observing the results.Additionally, please note that the format of the recovery notification may be very similar to the alert notification, with only a difference in the status value.
>
>感谢您的反馈!
>Thank you!
>
>
>On 2026/04/20 05:38:01 薛晓雨 wrote:
>> 你好,
>> 我们的场景是:监控模版里面自定义监控,配置了四个步骤也就是项目的四个接口,然后集成到监控中心,监控中心里面此时有四个监控接口,然后配置阈值规则,四个接口都配置阈值规则,如果接口返回statusCode码如果不是200,就企业微信告警提醒,同时也配置了分组收敛,现象是:2个接口返回不是200,企业微信发生告警提醒,但是接口恢复之后,监控中心已经返回200了,企业微信没有恢复提醒,同时告警中心里面的告警状态还是告警中。
>> 感谢!
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 在 2026-04-18 02:37:38,"Lixin Diao" <di...@apache.org> 写道:
>> >晓雨,你好,
>> >
>> >我这边经过测试确认,HertzBeat v1.8.0 在告警恢复后是可以发送通知的。
>> >
>> >方便的话,麻烦您再详细描述一下当前的使用场景,例如监控类型、阈值规则配置、通知方式,以及恢复时的实际表现,这样我们可以进一步帮您分析为什么没有收到恢复通知。
>> >
>> >谢谢。
>> >
>> >Hello Xue Xiaoyu,
>> >
>> >We have verified through testing that HertzBeat v1.8.0 can send notifications after an alert is recovered.
>> >
>> >If convenient, could you please share more details about your usage scenario, such as the monitor type, alert rule configuration, notification method, and what exactly happened when the alert recovered? That will help us further analyze why the recovery notification was not received.
>> >
>> >Thank you.
>> >
>> >On 2026/04/16 11:13:36 薛晓雨 wrote:
>> >> 大家好,
>> >>
>> >>
>> >> 我目前在使用 HertzBeat v1.8.0 监控 HTTP 接口(需要校验返回的 statusCode)。
>> >>
>> >>
>> >> 目前告警触发时能正常收到通知,但告警恢复后没有通知。请问:
>> >>
>> >>
>> >> 1. 这个功能未来有计划支持吗?
>> >> 2. 如果支持,大概会在哪个版本?
>> >> 3. 在当前版本下,有没有推荐的解决方案可以实现恢复通知?
>> >>
>> >>
>> >> 谢谢!
>> >>
>> >>
>> >>
>> >>
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: dev-unsubscribe@hertzbeat.apache.org
>> >For additional commands, e-mail: dev-help@hertzbeat.apache.org
>> >
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@hertzbeat.apache.org
>For additional commands, e-mail: dev-help@hertzbeat.apache.org
>
Re: Re:Re: 关于告警恢复通知功能的咨询
Posted by Lixin Diao <di...@apache.org>.
你好,
请检查您设置的分组收敛策略的`间隔时间`,恢复告警的通知至多可能需要延迟等待该时间间隔之后才会发送,在此期间,监控中心查看statusCode可能是正常,但是告警中心中仍会显示告警中,建议调整小该数值之后再观察。另外恢复通知的格式可能跟告警通知长得差不多,仅有status值的差异,请留意。
---
Hi,
Please check the "Interval Time" set in your grouping convergence policy. The notification for recovery alerts may be delayed and sent only after this time interval has passed. During this period, the statusCode in the Monitoring Center might appear normal, but the status in the Alert Center will still show "Alerting." We suggest decreasing this value and then observing the results.Additionally, please note that the format of the recovery notification may be very similar to the alert notification, with only a difference in the status value.
感谢您的反馈!
Thank you!
On 2026/04/20 05:38:01 薛晓雨 wrote:
> 你好,
> 我们的场景是:监控模版里面自定义监控,配置了四个步骤也就是项目的四个接口,然后集成到监控中心,监控中心里面此时有四个监控接口,然后配置阈值规则,四个接口都配置阈值规则,如果接口返回statusCode码如果不是200,就企业微信告警提醒,同时也配置了分组收敛,现象是:2个接口返回不是200,企业微信发生告警提醒,但是接口恢复之后,监控中心已经返回200了,企业微信没有恢复提醒,同时告警中心里面的告警状态还是告警中。
> 感谢!
>
>
>
>
>
>
>
>
>
>
>
> 在 2026-04-18 02:37:38,"Lixin Diao" <di...@apache.org> 写道:
> >晓雨,你好,
> >
> >我这边经过测试确认,HertzBeat v1.8.0 在告警恢复后是可以发送通知的。
> >
> >方便的话,麻烦您再详细描述一下当前的使用场景,例如监控类型、阈值规则配置、通知方式,以及恢复时的实际表现,这样我们可以进一步帮您分析为什么没有收到恢复通知。
> >
> >谢谢。
> >
> >Hello Xue Xiaoyu,
> >
> >We have verified through testing that HertzBeat v1.8.0 can send notifications after an alert is recovered.
> >
> >If convenient, could you please share more details about your usage scenario, such as the monitor type, alert rule configuration, notification method, and what exactly happened when the alert recovered? That will help us further analyze why the recovery notification was not received.
> >
> >Thank you.
> >
> >On 2026/04/16 11:13:36 薛晓雨 wrote:
> >> 大家好,
> >>
> >>
> >> 我目前在使用 HertzBeat v1.8.0 监控 HTTP 接口(需要校验返回的 statusCode)。
> >>
> >>
> >> 目前告警触发时能正常收到通知,但告警恢复后没有通知。请问:
> >>
> >>
> >> 1. 这个功能未来有计划支持吗?
> >> 2. 如果支持,大概会在哪个版本?
> >> 3. 在当前版本下,有没有推荐的解决方案可以实现恢复通知?
> >>
> >>
> >> 谢谢!
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe@hertzbeat.apache.org
> >For additional commands, e-mail: dev-help@hertzbeat.apache.org
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hertzbeat.apache.org
For additional commands, e-mail: dev-help@hertzbeat.apache.org
回复:关于告警恢复通知功能的咨询
Posted by 薛晓雨 <xu...@163.com>.
你好,
我们的场景是:监控模版里面自定义监控,配置了四个步骤也就是项目的四个接口,然后集成到监控中心,监控中心里面此时有四个监控接口,然后配置阈值规则,四个接口都配置阈值规则,如果接口返回statusCode码如果不是200,就企业微信告警提醒,同时也配置了分组收敛,现象是:2个接口返回不是200,企业微信发生告警提醒,但是接口恢复之后,监控中心已经返回200了,没有向企业微信发送恢复提醒,同时告警中心里面的告警状态还是告警中。
感谢!
---- 回复的原邮件 ----
| 发件人 | 薛晓雨 <xu...@163.com> |
| 日期 | 2026年04月20日 13:38 |
| 收件人 | dev@hertzbeat.apache.org |
| 抄送至 | |
| 主题 | Re:Re: 关于告警恢复通知功能的咨询 |
你好,
我们的场景是:监控模版里面自定义监控,配置了四个步骤也就是项目的四个接口,然后集成到监控中心,监控中心里面此时有四个监控接口,然后配置阈值规则,四个接口都配置阈值规则,如果接口返回statusCode码如果不是200,就企业微信告警提醒,同时也配置了分组收敛,现象是:2个接口返回不是200,企业微信发生告警提醒,但是接口恢复之后,监控中心已经返回200了,企业微信没有恢复提醒,同时告警中心里面的告警状态还是告警中。
感谢!
在 2026-04-18 02:37:38,"Lixin Diao" <di...@apache.org> 写道: >晓雨,你好, > >我这边经过测试确认,HertzBeat v1.8.0 在告警恢复后是可以发送通知的。 > >方便的话,麻烦您再详细描述一下当前的使用场景,例如监控类型、阈值规则配置、通知方式,以及恢复时的实际表现,这样我们可以进一步帮您分析为什么没有收到恢复通知。 > >谢谢。 > >Hello Xue Xiaoyu, > >We have verified through testing that HertzBeat v1.8.0 can send notifications after an alert is recovered. > >If convenient, could you please share more details about your usage scenario, such as the monitor type, alert rule configuration, notification method, and what exactly happened when the alert recovered? That will help us further analyze why the recovery notification was not received. > >Thank you. > >On 2026/04/16 11:13:36 薛晓雨 wrote: >> 大家好, >> >> >> 我目前在使用 HertzBeat v1.8.0 监控 HTTP 接口(需要校验返回的 statusCode)。 >> >> >> 目前告警触发时能正常收到通知,但告警恢复后没有通知。请问: >> >> >> 1. 这个功能未来有计划支持吗? >> 2. 如果支持,大概会在哪个版本? >> 3. 在当前版本下,有没有推荐的解决方案可以实现恢复通知? >> >> >> 谢谢! >> >> >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@hertzbeat.apache.org >For additional commands, e-mail: dev-help@hertzbeat.apache.org >
Re:Re: 关于告警恢复通知功能的咨询
Posted by 薛晓雨 <xu...@163.com>.
你好,
我们的场景是:监控模版里面自定义监控,配置了四个步骤也就是项目的四个接口,然后集成到监控中心,监控中心里面此时有四个监控接口,然后配置阈值规则,四个接口都配置阈值规则,如果接口返回statusCode码如果不是200,就企业微信告警提醒,同时也配置了分组收敛,现象是:2个接口返回不是200,企业微信发生告警提醒,但是接口恢复之后,监控中心已经返回200了,企业微信没有恢复提醒,同时告警中心里面的告警状态还是告警中。
感谢!
在 2026-04-18 02:37:38,"Lixin Diao" <di...@apache.org> 写道:
>晓雨,你好,
>
>我这边经过测试确认,HertzBeat v1.8.0 在告警恢复后是可以发送通知的。
>
>方便的话,麻烦您再详细描述一下当前的使用场景,例如监控类型、阈值规则配置、通知方式,以及恢复时的实际表现,这样我们可以进一步帮您分析为什么没有收到恢复通知。
>
>谢谢。
>
>Hello Xue Xiaoyu,
>
>We have verified through testing that HertzBeat v1.8.0 can send notifications after an alert is recovered.
>
>If convenient, could you please share more details about your usage scenario, such as the monitor type, alert rule configuration, notification method, and what exactly happened when the alert recovered? That will help us further analyze why the recovery notification was not received.
>
>Thank you.
>
>On 2026/04/16 11:13:36 薛晓雨 wrote:
>> 大家好,
>>
>>
>> 我目前在使用 HertzBeat v1.8.0 监控 HTTP 接口(需要校验返回的 statusCode)。
>>
>>
>> 目前告警触发时能正常收到通知,但告警恢复后没有通知。请问:
>>
>>
>> 1. 这个功能未来有计划支持吗?
>> 2. 如果支持,大概会在哪个版本?
>> 3. 在当前版本下,有没有推荐的解决方案可以实现恢复通知?
>>
>>
>> 谢谢!
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@hertzbeat.apache.org
>For additional commands, e-mail: dev-help@hertzbeat.apache.org
>
Re: 关于告警恢复通知功能的咨询
Posted by Lixin Diao <di...@apache.org>.
晓雨,你好,
我这边经过测试确认,HertzBeat v1.8.0 在告警恢复后是可以发送通知的。
方便的话,麻烦您再详细描述一下当前的使用场景,例如监控类型、阈值规则配置、通知方式,以及恢复时的实际表现,这样我们可以进一步帮您分析为什么没有收到恢复通知。
谢谢。
Hello Xue Xiaoyu,
We have verified through testing that HertzBeat v1.8.0 can send notifications after an alert is recovered.
If convenient, could you please share more details about your usage scenario, such as the monitor type, alert rule configuration, notification method, and what exactly happened when the alert recovered? That will help us further analyze why the recovery notification was not received.
Thank you.
On 2026/04/16 11:13:36 薛晓雨 wrote:
> 大家好,
>
>
> 我目前在使用 HertzBeat v1.8.0 监控 HTTP 接口(需要校验返回的 statusCode)。
>
>
> 目前告警触发时能正常收到通知,但告警恢复后没有通知。请问:
>
>
> 1. 这个功能未来有计划支持吗?
> 2. 如果支持,大概会在哪个版本?
> 3. 在当前版本下,有没有推荐的解决方案可以实现恢复通知?
>
>
> 谢谢!
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hertzbeat.apache.org
For additional commands, e-mail: dev-help@hertzbeat.apache.org