当前位置:网站首页>Kuboard can't send email and nail alarm problem is solved
Kuboard can't send email and nail alarm problem is solved
2022-07-07 07:13:00 【I don't know or care】

According to the official document, it has been installed and set successfully , Also started a busybox Containers , Let it crash and restart all the time to trigger alarm messages and nail messages . Found unable to receive mail , Also can't receive nail message .
see kuboard / alertmanager-main journal , It can be seen that the email and nailing message send an error .
level=warn ts=2022-05-27T15:32:50.287Z caller=notify.go:723 component=dispatcher receiver=Critical integration=email[0] msg="Notify attempt failed, will retry later" attempts=1 err="'require_tls' is true (default) but \"smtp.exmail.qq.com:465\" does not advertise the STARTTLS extension"
level=error ts=2022-05-27T15:35:07.518Z caller=dispatch.go:310 component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="Default/webhook[0]: notify retry canceled due to unrecoverable error after 1 attempts: unexpected status code 404: http://dingtalk:8060/dingtalk/Default-shzdp/send; Default/email[0]: notify retry canceled after 17 attempts: 'require_tls' is true (default) but \"smtp.exmail.qq.com:465\" does not advertise the STARTTLS extension"Email alert :
I am using QQ Enterprise mailbox , I can't send alarm emails all the time ,smtp.exmail.qq.com:465, After analyzing the error log, it is found that it needs to be closed TLS Options , The problem of unsuccessful email sending is solved .


Nail alarm :
level=error ts=2022-05-27T15:41:46.569Z caller=dispatch.go:310 component=dispatcher msg="Notify for alerts failed" num_alerts=2 err="Critical/webhook[0]: notify retry canceled due to unrecoverable error after 1 attempts: unexpected status code 404: http://dingtalk:8060/dingtalk/Critical-8p8nz/send"Nail container service interface is found in the log 404 了 , We are kuboard Find the nail pod, Go in and check the log .

level=info ts=2022-05-27T16:31:50.549Z caller=entry.go:26 component=web http_scheme=http http_proto=HTTP/1.1 http_method=POST remote_addr=100.100.196.227:34048 user_agent=Alertmanager/0.22.2 uri=http://dingtalk:8060/dingtalk/Default-shzdp/send resp_status=404 resp_bytes_length=19 resp_elapsed_ms=0.068677 msg="request complete"
level=warn ts=2022-05-27T16:31:50.549Z caller=dingtalk.go:75 component=web target=Default-shzdp msg="target not found"Sure enough, there is an error log , Look at the image of this container , Let's find its source code and see what happens .
stay hub.docker.com Find the image ,timonwong/prometheus-webhook-dingtalk Tags | Docker Hub
https://hub.docker.com/r/timonwong/prometheus-webhook-dingtalk/tags stay github Find the image source code , Locate the file line you want to report an error .
Let's see readme.md See what this thing is . It is found that the configuration file used by the container , Some parameters for sending messages are configured .

I know the configuration file of the container , We should enter dingtalk Container view the following , Is this file right .
Sure enough, there is this file , Let's check the contents of the file .
The contents of the document are correct , At this time, we should think , The configuration file is OK , Why does the code say it can't find targets Well ? Preliminary speculation may be that the document did not take effect , The container starts first , Later kuboard The configuration of access_token.
How to solve it ?
restart dingtalk Container group .


边栏推荐
- Asynchronous components and suspend (in real development)
- sql中对集合进行非空校验
- 选择商品属性弹框从底部弹出动画效果
- Bus message bus
- Academic report series (VI) - autonomous driving on the journey to full autonomy
- $parent(获取父组件) 和 $root(获取根组件)
- Tumor immunotherapy research prosci Lag3 antibody solution
- LC interview question 02.07 Linked list intersection & lc142 Circular linked list II
- Algorithm --- bit count (kotlin)
- SQLMAP使用教程(四)实战技巧三之绕过防火墙
猜你喜欢

MySQL的主从复制原理

Config distributed configuration center

Fast quantitative, abbkine protein quantitative kit BCA method is coming!

Circulating tumor cells - here comes abnova's solution

Answer to the second stage of the assignment of "information security management and evaluation" of the higher vocational group of the 2018 Jiangsu Vocational College skills competition
![How to model and simulate the target robot [mathematical / control significance]](/img/bd/79f6338751b6773859435c54430ec3.png)
How to model and simulate the target robot [mathematical / control significance]

Sword finger offer high quality code

关于二进制无法精确表示小数
![[noi simulation] regional division (conclusion, structure)](/img/7d/4c66cd0a30e52ccd167b6138fcb4df.png)
[noi simulation] regional division (conclusion, structure)

Network foundation - header, encapsulation and unpacking
随机推荐
Composition API premise
The currently released SKU (sales specification) information contains words that are suspected to have nothing to do with baby
How DHCP router works
MySQL binlog related commands
Matlab tips (29) polynomial fitting plotfit
Prime partner of Huawei machine test questions
[noi simulation] regional division (conclusion, structure)
The latest trends of data asset management and data security at home and abroad
.net 5 FluentFTP连接FTP失败问题:This operation is only allowed using a successfully authenticated context
toRefs API 与 toRef Api
Take you to brush (niuke.com) C language hundred questions (the first day)
SQLMAP使用教程(四)实战技巧三之绕过防火墙
Brand · consultation standardization
詳解機器翻譯任務中的BLEU
SolidWorks GB Library (steel profile library, including aluminum profile, aluminum tube and other structures) installation and use tutorial (generating aluminum profile as an example)
freeswitch拨打分机号源代码跟踪
Four goals for the construction of intelligent safety risk management and control platform for hazardous chemical enterprises in Chemical Industry Park
From zero to one, I will teach you to build the "clip search by text" search service (2): 5 minutes to realize the prototype
from . onnxruntime_ pybind11_ State Import * noqa ddddocr operation error
. Net 5 fluentftp connection FTP failure problem: this operation is only allowed using a successfully authenticated context
