HPunix host deployment zabbix_agent

HPunix-agent download location:

https://www.zabbix.com/cn/download_agents?version=2.4&release=2.4.4&os=HPUX&os_version=11.31&hardware=amd64&encryption=No+encryption&packaging=Archive&show_legacy=1j​​​​​​

 

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

Guess you like

Origin blog.csdn.net/weixin_50877409/article/details/126993125