首页 > 代码库 > 实现zabbix远程命令执行

实现zabbix远程命令执行

1、安装依赖包

yum install -y openldap openldap-devel libssh2-devel

2、安装libikseml

wget http://iksemel.googlecode.com/files/iksemel-1.4.tar.gz

tar -zxvf iksemel-1.4.tar.gz

cd iksemel-1.4

./configure

make

make install

cd /usr/local/lib

cp libiksemel.so* /usr/lib64/

cp libiksemel.so* /usr/lib/

3、安装zabbix server

./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl --with-libxml2 --enable-java --with-ldap --with-ssh2 --with-jabber=/usr/local

make

make install


参考博文:http://www.365dw.cn/173.html

实现zabbix远程命令执行