err=“Get \“https://***\“: x509: cannot validate certificate for *** because it doesn‘t contain

今天再弄Prometheus监控的时候,监控公司内部网站的时候,链接方式为http://****/status。导致使用export指针失效,probe_success 0。故采用如下方法解决

http:
  method: GET
  tls_config:					# 无法通过证书颁发机构来验证它
    insecure_skip_verify: true	

I keep running, just to catch up with the expectations of their own.

猜你喜欢

转载自blog.csdn.net/qq_50573146/article/details/126229468