Advertising:

Upgrade Zabbix Agent en Solaris 11.4 SPARC

From Zabbix-ES
Jump to navigation Jump to search
cd /tmp
wget https://cdn.zabbix.com/zabbix/binaries/stable/6.0/6.0.5/zabbix_agent-6.0.5-solaris-11-sparc-openssl.p5p
pkg list -g zabbix_agent-6.0.5-solaris-11-sparc-openssl.p5p
pkg install -g zabbix_agent-6.0.5-solaris-11-sparc-openssl.p5p zabbix-agent
svcs -a | grep -i zabbix
mv /etc/opt/zabbix-agent/zabbix_agentd.conf /etc/opt/zabbix-agent/zabbix_agentd.conf.original
cat <<EOF >/etc/opt/zabbix-agent/zabbix_agentd.conf
PidFile=/var/zabbix/run/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
Server=[ZABBIX_SERVER_IP]
ServerActive=[ZABBIX_SERVER_IP]
HostMetadata=xxxxxxx
Timeout=30
Include=/etc/zabbix/zabbix_agentd.d/*.conf
EOF
svcadm enable zabbix-agent
svcs -a | grep -i zabbix
rm zabbix_agent-6.0.5-solaris-11-sparc-openssl.p5p