conf=$(find / -name "zabbix_server.conf" | grep "/etc/")
echo "$conf"Extract active ExternalScripts location:extscrpath=$(grep "^ExternalScripts" $conf | sed "s/^.*=//")
echo "$extscrpath"Go to external scripts path:cd $extscrpathInstall script:curl -s "https://catonrug.blogspot.com/feeds/posts/default/1896808606385312496?alt=json" | sed "s/{\|.}/\n/g" | grep ":.html.," | sed "s/^.*\d034//g;s/\\\//g" | base64 --decode > salidzini.sh
chmod 770 salidzini.sh
chown zabbix:zabbix salidzini.shThis will install:Usage:
Add the templete to the host: