Preprocessing failed for: {“error”:"Request failed with status code 401: {“kind”:“Status”,“apiVersion”:“v1”,"met ad …1. Failed: Discovery error: TypeError: cannot read property 1 of null.
Zabbix 监控 Kubernetes 出现采集错误,导致一直不能自动发现Node,移动到红色感叹号会出现如下错误:
 ....cannot read property 1 of null.

通过Zabbix自带的 Test item 就可以确认这个问题。如图所示:
 
原因:
 
解决方式:
 在 宏变量中携带端口号即可,即使已经标明 https,也需要带 443 端口

Reference
https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/459446-aks-monitoring-problem

















![华为手机Outlook手机APP无法登录邮箱,提示[2002]错误代码](https://img-blog.csdnimg.cn/f27b5ccbfc9e42d1acd916ec8933c3c3.png)
