-
Documentation task
-
Resolution: Fixed
-
Critical
-
5.0.25
-
Sprint 90 (Jul 2022), Sprint 91 (Aug 2022)
-
0.1
Steps to reproduce:
Zabbix Server and Agent 2 version is 5.0.7.
Tried the steps found in https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/app/certificate_agent2/README.md?at=refs%2Fheads%2Frelease%2F5.0
- Setup and configure zabbix-agent2 with the WebCertificate plugin. According to the documentation the plugin is available out of the box in Zabbix Agent 2
- Test availability: zabbix_get -s <zabbix_agent_addr> -k web.certificate.get[<website_DNS_name>]
- Create a host for the TLS/SSL certificate with Zabbix agent interface.
- Link the template to the host.
- Customize the value of {$CERT.WEBSITE.HOSTNAME} macro.
Result:
No web cert latest data from host
logfile in zabbix server shows the following:
web.certificate.get[{$CERT.WEBSITE.HOSTNAME},{$CERT.WEBSITE.PORT},{$CERT.WEBSITE.IP}]" became not supported: Unknown metric web.certificate.get
Step 2 zabbix_get also returned ZBX_NOTSUPPORTED: Unknown metric web.certificate.get
Expected:
should be able to get web cert information