notification-manager icon indicating copy to clipboard operation
notification-manager copied to clipboard

the notification-manager send email failed

Open kerberoszhan opened this issue 1 year ago • 4 comments

the notification-manager version is v1.4.0

the error log

image

level=info ts=2023-08-21T07:31:32.217747701+08:00 caller=config.go:601 msg="resource change" op=add name=default-email-config level=info ts=2023-08-21T07:31:32.217852149+08:00 caller=config.go:601 msg="resource change" op=add name=default-wechat-config level=info ts=2023-08-21T08:13:13.761899063+08:00 caller=config.go:601 msg="resource change" op=add name=global-email-receiver level=info ts=2023-08-21T08:13:13.762065138+08:00 caller=config.go:601 msg="resource change" op=add name=global-wechat-receiver level=error ts=2023-08-21T08:42:37.058250596+08:00 caller=email.go:193 msg="EmailNotifier: notify error" [email protected] [email protected] error="find auth mechanism: unknown auth mechanism: NTLM" level=error ts=2023-08-21T08:42:37.058833098+08:00 caller=email.go:193 msg="EmailNotifier: notify error" [email protected] [email protected] error="find auth mechanism: unknown auth mechanism: NTLM" level=error ts=2023-08-21T08:42:37.058879844+08:00 caller=handler.go:145 msg="Worker: notification sent error"

kerberoszhan avatar Aug 21 '23 02:08 kerberoszhan

the kubesphere version is v3.3.2

kerberoszhan avatar Aug 21 '23 07:08 kerberoszhan

the pod on the ns kubesphere-monitoring-system is all running

kubectl -n kubesphere-monitoring-system get po

NAME READY STATUS RESTARTS AGE alertmanager-main-0 2/2 Running 0 23m alertmanager-main-1 2/2 Running 0 23m alertmanager-main-2 2/2 Running 0 23m kube-state-metrics-67bc659547-l97x5 3/3 Running 0 24d node-exporter-6r5pl 2/2 Running 0 24d node-exporter-bmhl5 2/2 Running 0 24d node-exporter-c4g8q 2/2 Running 0 24d node-exporter-ljpzk 2/2 Running 0 24d node-exporter-qrfzx 2/2 Running 0 24d node-exporter-qwh79 2/2 Running 0 24d node-exporter-r8wgj 2/2 Running 0 24d node-exporter-sz242 2/2 Running 0 24d node-exporter-ts95h 2/2 Running 0 24d notification-manager-deployment-58b66f799-h44vc 2/2 Running 0 64m notification-manager-deployment-58b66f799-spk4x 2/2 Running 0 24m notification-manager-operator-869bf868f6-p2754 2/2 Running 0 24m prometheus-k8s-0 2/2 Running 0 24d prometheus-k8s-1 2/2 Running 0 24d prometheus-operator-7d78ff95d8-gbh76 2/2 Running 0 24d thanos-ruler-kubesphere-0 2/2 Running 0 24d thanos-ruler-kubesphere-1 2/2 Running 0 24d

kerberoszhan avatar Aug 21 '23 07:08 kerberoszhan

The notification manager does not support NTLM auth, so change to another SMTP server.

wanjunlei avatar Aug 21 '23 09:08 wanjunlei

ok ,thanks

kerberoszhan avatar Aug 22 '23 09:08 kerberoszhan