HPunix-agent download location:
Install and deploy:
1. Create the zabbix_agent directory
mkdir /usr/local/zabbix
2. Upload the HPunix_zabbix_agent installation package to the zabbix directory and unzip it
gunzip zabbix_agent-2.4.4-hpux-11.31-amd64.tar
tar xf zabbix_agent-2.4.4-hpux-11.31-amd64.tar
3. Edit the zabbix_agent configuration file
vi /usr/local/zabbix/conf/zabbix_agentd.conf
Server=127.0.0.1
#改为:
Server=192.168.245.111 #zabbix_server地址
ServerActive=127.0.0.1
#改为:
ServerActive=192.168.245.111 #zabbix_server地址
4. Create a zabbix user and start the agent
#创建zabbix用户和组
groupadd zabbix
useradd -s /bin/false -G zabbix zabbix
#启动zabbix
cd /usr/local/zabbix/sbin
./zabbix_agentd -c /usr/local/zabbix/conf/zabbix_agentd.conf
5. Check whether the agent is started
ps -ef |grep zabbix