Timeout=10 LogFile=c:\zabbix\zabbix_agentd.log EnableRemoteCommands=1 LogRemoteCommands=1 Server=192.168.1.10 ListenIP=0.0.0.0 ServerActive=192.168.1.10 Hostname=win.example.com Include=c:\zabbix\zabbix_agentd.userparams.conf
cd C:\zabbix\bin\win64 zabbix_agentd.exe --config C:\zabbix\zabbix_agentd.conf --install zabbix_agentd.exe --config C:\zabbix\zabbix_agentd.conf --start
cd C:\zabbix\bin\win64 zabbix_agentd.exe --config C:\zabbix\zabbix_agentd.conf --stop zabbix_agentd.exe --config C:\zabbix\zabbix_agentd.conf --uninstall
wget http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.4-1+trusty_all.deb sudo dpkg -i zabbix-release_2.4-1+trusty_all.deb sudo aptitude update
sudo aptitude install zabbix-agent
sudo yum erase php* zabbix20* sudo yum -y --enablerepo=epel install mysql-server curl net-snmp unixODBC OpenIPMI-libs httpd php53 php53-bcmath php53-gd php53-mbstring php53-mysql php53-xml sudo yum clean all sudo rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/5/x86_64/zabbix-release-2.4-1.el5.noarch.rpm sudo yum install zabbix zabbix-web zabbix-web-mysql zabbix-web-japanese zabbix-server zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get zabbix-sender vim /etc/zabbix/zabbix_server.conf ---- DBPassword=**** ---- vim /etc/zabbix/zabbix_agentd.conf ---- ListenIP=127.0.0.1 ---- sudo service mysqld restart sudo service zabbix-server restart less /var/log/zabbix/zabbix_server.log ... 2998:20161023:135115.237 Zabbix Server stopped. Zabbix 2.0.13 (revision 48919). 12131:20161023:141644.216 Starting Zabbix Server. Zabbix 2.4.8 (revision 59539). 12131:20161023:141644.216 ****** Enabled features ****** 12131:20161023:141644.217 SNMP monitoring: YES 12131:20161023:141644.217 IPMI monitoring: YES 12131:20161023:141644.217 WEB monitoring: YES 12131:20161023:141644.217 VMware monitoring: YES 12131:20161023:141644.217 Jabber notifications: YES 12131:20161023:141644.217 Ez Texting notifications: YES 12131:20161023:141644.217 ODBC: YES 12131:20161023:141644.217 SSH2 support: YES 12131:20161023:141644.217 IPv6 support: YES 12131:20161023:141644.217 ****************************** sudo service zabbix-agent restart less /var/log/zabbix/zabbix_agentd.log ... 3017:20161023:135112.512 Zabbix Agent stopped. Zabbix 2.0.13 (revision 48919). 12250:20161023:141900.474 Starting Zabbix Agent [Zabbix server]. Zabbix 2.4.8 (revision 59539). sudo vim /etc/httpd/conf.d/zabbix.conf ---- php_value date.timezone Asia/Tokyo ---- sudo service httpd restart sudo chkconfig mysqld on sudo chkconfig zabbix-server on sudo chkconfig zabbix-agent on sudo chkconfig httpd on # zabbix agentが正常に動作していれば、1になる zabbix_get -s 127.0.0.1 -k agent.ping 1