yum install bc -y
For debian:
apt-get install bc -y
Move to the externalscript:
conf=$(whereis zabbix_server | sed "s/^.* //g")
path=$(grep -v "^$\|^#" $conf | grep "^ExternalScripts" | sed "s/^.*=//")
cd $path
Download script:
curl "https://www.zabbix.org/mw/images/7/71/Zext_ssl_cert.sh" > zext_ssl_cert.sh
Set the script executable:
chmod 770 zext_ssl_cert.sh
Set directory owner as zabbix:
chown -R zabbix:zabbix $path
Click "Save Target As" on Zbx_export_templates.xml and save it to the DesktopImport
Zbx_export_templates.xml into zabbix templates