selivan / https-ssl-cert-check-zabbix

Script to check validity and expiration of TLS/SSL certificate on hosts. May be used with Zabbix or standalone.
Other
291 stars 71 forks source link

Zabbix agent Duplicate user parameter #48

Open tgunderscore opened 7 months ago

tgunderscore commented 7 months ago

Environment

openssl version says: OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

Operating System: Ubuntu VERSION="22.04.4 LTS (Jammy Jellyfish)"

Expected Behavior

When starting up Zabbix-agent2 it should start up normally

Current Behavior

/var/log/syslog prints "zabbix_agent2[19344]: zabbix_agent2 [19344]: ERROR: cannot initialize user parameters: cannot register user parameter "ssl_cert_list[*],/bin/cat /etc/zabbix/zabbix_agentd.d/ssl_cert_list.json": duplicate user parameter"

selivan commented 7 months ago

Seems you've duplicated the parameter name somewhere in configuration. Try grep -R /etc/zabbix -e ssl_cert_list