====== zabbix ======
===== zabbix-get =====
zabbix_get -s 192.168.0.53 -p 10050 -k proc.num[,zabbix]
===== selinux =====
cat /var/log/audit/audit.log | grep zabbix_server | grep denied | audit2allow -M zabbix_server_setrlimit > zabbix_server_setrlimit.pp
semodule -i zabbix_server_setrlimit.pp
service zabbix-server start
===== Zabbix-server 2.4 for Ubuntu 14.04 LTS =====
wget http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.4-1+trusty_all.deb
dpkg -i zabbix-release_2.4-1+trusty_all.deb
apt-get update
apt-get install zabbix-server-mysql zabbix-frontend-php
''/etc/apache2/conf-available/zabbix.conf\\
# php_value date.timezone Europe/Riga\\
php_value date.timezone Europe/Moscow''
''service apache2 restart''
===== Zabbix-agent =====
==== RHEL6 ====
rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm
yum install zabbix-agent
==== Debian 7 ====
wget http://repo.zabbix.com/zabbix/2.4/debian/pool/main/z/zabbix-release/zabbix-release_2.4-1+wheezy_all.deb
dpkg -i zabbix-release_2.4-1+wheezy_all.deb
apt-get update
apt-get install zabbix-agent
==== Ubuntu 14.04 ====
wget http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.4-1+trusty_all.deb
dpkg -i zabbix-release_2.4-1+trusty_all.deb
apt-get update
apt-get install zabbix-agent
==== Windows ====
http://www.zabbix.com/ru/download.php
"C:\zabbix\bin\win64\zabbix_agentd.exe" --config "c:\zabbix\conf\zabbix_agentd.conf" --install
"C:\zabbix\bin\win64\zabbix_agentd.exe" --config "c:\zabbix\conf\zabbix_agentd.conf" --start
"C:\zabbix\bin\win64\zabbix_agentd.exe" --config "c:\zabbix\conf\zabbix_agentd.conf" --print
Сторонний msi: http://suiviperf.com/zabbix/
C:\Windows\System32\msiexec.exe /I C:\Windows\temp\zabbix_agent-3.0.4_x64.msi INSTALLDIR=C:\zabbix HOSTNAME=hostname SERVER=127.0.0.1 SERVERACTIVE=127.0.0.1 RMTCMD=0 /qn
{{tag> Linux Zabbix }}