Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 5.0.0
-
Fix Version/s: 4.4.9rc1, 5.0.1rc1, 5.2.0alpha1, 5.2 (plan)
-
Component/s: Agent (G)
-
Labels:
-
Team:Team A
-
Sprint:Sprint 64 (May 2020)
-
Story Points:0.125
Description
Steps to reproduce:
Install zabbix agent2 from packages on some host where installed and monitored nginx
Try to get the status page with web.page.get key
Result:
zabbix_get -s 127.0.0.1 -p 20050 -k web.page.get[https://127.0.0.1] ZBX_NOTSUPPORTED: Cannot get content of web page: Get https://127.0.0.1: x509: cannot validate certificate for 127.0.0.1 because it doesn't contain any IP SANs
Expected:
zabbix agent works fine.
zabbix_get -s 127.0.0.1 -p 10050 -k web.page.get[https://127.0.0.1] | head HTTP/1.1 200 OK Server: nginx/1.16.1 Date: Thu, 14 May 2020 05:26:04 GMT Content-Type: text/html Content-Length: 30070 Last-Modified: Sat, 02 May 2020 06:56:17 GMT Connection: keep-alive ETag: "5ead1991-7576" Accept-Ranges: bytes