AIX 5.3安装zabbix agent
下载zabbix agent
最好是跟server端版本一致
下载链接:
bash-3.2# ftp 10.101.0.17
Connected to 10.101.0.17.
220 (vsFTPd 2.2.2)
Name (10.101.0.17:root): root
331 Please specify the password.
Password:
230 Login successful.
ftp> pwd
257 "/root"
ftp> lpwd
?Invalid command
ftp> cd /var/ftp
250 Directory successfully changed.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
pub
226 Directory send OK.
ftp> cd pub
250 Directory successfully changed.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
AIX_7.1_TL_7100-00-01
centos63
kernel.log
kik
mygit
ora5
ora63
ora64
ora65
rhel5
rhel5.4_64
rhel64
software
win2008_5.67_backup
226 Directory send OK.
ftp> cd kik
250 Directory successfully changed.
ftp> cd zabbix
250 Directory successfully changed.
ftp> pwd
257 "/var/ftp/pub/kik/zabbix"
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
zabbix_agentd.conf.linux
zabbix_agents_2.0.6.aix5300-06.powerpc.tar.gz
zabbix_agents_2.0.6.aix6100.powerpc.tar.gz
zabbix_agents_2.0.6.hpux11_11.risc.tar.gz
zabbix_agents_2.0.6.hpux11_23.risc.tar.gz
zabbix_agents_2.0.6.solaris10.sparc.tar.gz
zabbix_agents_2.0.6.solaris11.amd64.tar.gz
zabbix_agents_2.0.6.solaris9.sparc.tar.gz
zabbix_agents_2.0.6.win.zip
zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz
zabbix_agents_2.0.8.aix6100.powerpc.tar.gz
zabbix_agents_2.0.8.hpux11_23.ia64.tar.gz
zabbix_agents_2.0.8.solaris10.sparc.tar.gz
zabbix_agents_2.0.8.solaris9.sparc.tar.gz
zabbix_agents_2.0.8.win.zip
226 Directory send OK.
ftp>
ftp> binary
200 Switching to Binary mode.
ftp> get zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz (324109 bytes).
226 Transfer complete.
324109 bytes received in 0.02655 seconds (1.192e+04 Kbytes/s)
local: zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz remote: zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz
ftp> quit
221 Goodbye.
bash-3.2# ls -l
total 640
-rw-r--r-- 1 root system 324109 May 16 02:08 zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz
bash-3.2#
bash-3.2# ls
zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz
bash-3.2#
bash-3.2#
bash-3.2# gunzip zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz
bash-3.2# ls -l
total 1640
-rw-r--r-- 1 root system 839680 May 16 02:08 zabbix_agents_2.0.8.aix5300-06.powerpc.tar
bash-3.2# tar -xvf zabbix_agents_2.0.8.aix5300-06.powerpc.tar
x sbin/zabbix_agent, 256153 bytes, 501 media blocks.
x sbin/zabbix_agentd, 295366 bytes, 577 media blocks.
x bin/zabbix_get, 123812 bytes, 242 media blocks.
x bin/zabbix_sender, 139712 bytes, 273 media blocks.
x conf/zabbix_agent.conf, 1601 bytes, 4 media blocks.
x conf/zabbix_agentd.conf, 5707 bytes, 12 media blocks.
x conf/zabbix_agentd/userparameter_examples.conf, 1326 bytes, 3 media blocks.
x conf/zabbix_agentd/userparameter_mysql.conf, 1517 bytes, 3 media blocks.
bash-3.2# ls -l
total 1664
drwxr-xr-x 2 zabbix zabbix 512 May 16 02:09 bin
drwxr-xr-x 3 zabbix zabbix 512 May 16 02:09 conf
drwxr-xr-x 2 zabbix zabbix 512 May 16 02:09 sbin
-rw-r--r-- 1 root system 839680 May 16 02:08 zabbix_agents_2.0.8.aix5300-06.powerpc.tar
bash-3.2#
bash-3.2# set|grep PATH
LOCPATH=/usr/lib/nls/loc
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin
bash-3.2#
bash-3.2# ls bin/
zabbix_get zabbix_sender
bash-3.2# ls -l bin/
total 528
-rwxr-xr-x 1 zabbix zabbix 123812 Sep 09 2013 zabbix_get
-rwxr-xr-x 1 zabbix zabbix 139712 Sep 09 2013 zabbix_sender
bash-3.2# ls -l sbin/
total 1088
-rwxr-xr-x 1 zabbix zabbix 256153 Sep 09 2013 zabbix_agent
-rwxr-xr-x 1 zabbix zabbix 295366 Sep 09 2013 zabbix_agentd
bash-3.2#
bash-3.2# mkdir /etc/zabbix
bash-3.2# more /etc/passwd|grep zabbix
zabbix:*:402:402::/var/adm/zabbix:/usr/bin/ksh
bash-3.2#
bash-3.2# cp -p bin/* /usr/sbin/
bash-3.2# cp -p sbin/* /usr/sbin/
bash-3.2# ls -l /usr/sbin/|grep zabbix
-rwxr-xr-x 1 zabbix zabbix 256153 Sep 09 2013 zabbix_agent
-rwxr-xr-x 1 zabbix zabbix 295366 Sep 09 2013 zabbix_agentd
-rwxr-xr-x 1 zabbix zabbix 123812 Sep 09 2013 zabbix_get
-rwxr-xr-x 1 zabbix zabbix 139712 Sep 09 2013 zabbix_sender
bash-3.2#
bash-3.2# cp -rp conf/* /etc/zabbix/
bash-3.2# ls -l /etc/zabbix/
total 40
drwxr-xr-x 2 root system 512 May 16 02:17 bak
-rw-r--r-- 1 zabbix zabbix 1601 Sep 09 2013 zabbix_agent.conf
drwxr-xr-x 2 zabbix zabbix 512 May 16 02:09 zabbix_agentd
-rw-r--r-- 1 zabbix zabbix 5707 Sep 09 2013 zabbix_agentd.conf
bash-3.2#
bash-3.2# more zabbix_agentd.conf |grep ^[^#$]
PidFile=/tmp/zabbix/zabbix_agentd.pid
LogFile=/tmp/zabbix/zabbix_agentd.log
LogFileSize=10
DebugLevel=3
Server=10.101.0.17
ServerActive=127.0.0.1
Hostname=AIX53_36
Timeout=30
bash-3.2#
测试一下
bash-3.2# zabbix_agentd -V
exec(): 0509-036 Cannot load program zabbix_agentd because of the following errors:
0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-152 Member libiconv.so.2 is not found in archive
bash-3.2#
bash-3.2# cd /tmp/zabbix/
bash-3.2# rpm -qa|grep lib
libtool-1.5-2
bash-3.2# ls
bin sbin
conf zabbix_agents_2.0.8.aix5300-06.powerpc.tar
libiconv-1.14-2.aix5.1.ppc.rpm
bash-3.2# rpm -Uhv libiconv-1.14-2.aix5.1.ppc.rpm
error: failed dependencies:
gettext is needed by libiconv-1.14-2
bash-3.2# rpm -Uhv libiconv-1.14-2.aix5.1.ppc.rpm --nodeps
libiconv ##################################################
bash-3.2# rpm -qa|grep libiconv
libiconv-1.14-2
bash-3.2# rpm -ql libiconv
/opt/freeware/bin/iconv
/opt/freeware/doc/libiconv-1.14
/opt/freeware/doc/libiconv-1.14/AUTHORS
/opt/freeware/doc/libiconv-1.14/COPYING.LIB
/opt/freeware/doc/libiconv-1.14/ChangeLog
/opt/freeware/doc/libiconv-1.14/DESIGN
/opt/freeware/doc/libiconv-1.14/INSTALL.generic
/opt/freeware/doc/libiconv-1.14/NEWS
/opt/freeware/doc/libiconv-1.14/NOTES
/opt/freeware/doc/libiconv-1.14/PORTS
/opt/freeware/doc/libiconv-1.14/README
/opt/freeware/doc/libiconv-1.14/README.djgpp
/opt/freeware/doc/libiconv-1.14/README.woe32
/opt/freeware/doc/libiconv-1.14/THANKS
/opt/freeware/include/iconv.h
/opt/freeware/include/libcharset.h
/opt/freeware/include/localcharset.h
/opt/freeware/lib/libcharset.a
/opt/freeware/lib/libcharset.la
/opt/freeware/lib/libiconv.a
/opt/freeware/lib/libiconv.la
/opt/freeware/man/man1/iconv.1
/opt/freeware/man/man3/iconv.3
/opt/freeware/man/man3/iconv_close.3
/opt/freeware/man/man3/iconv_open.3
/opt/freeware/man/man3/iconv_open_into.3
/opt/freeware/man/man3/iconvctl.3
/opt/freeware/share/locale/af/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/bg/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/ca/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/cs/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/da/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/de/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/el/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/eo/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/es/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/et/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/fi/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/fr/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/ga/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/gl/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/hr/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/hu/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/id/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/it/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/ja/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/nl/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/pl/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/pt_BR/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/rm/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/ro/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/ru/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/sk/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/sl/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/sq/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/sr/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/sv/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/tr/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/uk/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/vi/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/wa/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/zh_CN/LC_MESSAGES/libiconv.mo
/opt/freeware/share/locale/zh_TW/LC_MESSAGES/libiconv.mo
/usr/linux/bin/iconv
/usr/linux/include/iconv.h
/usr/linux/include/libcharset.h
/usr/linux/include/localcharset.h
/usr/linux/lib/charset.alias
/usr/linux/lib/libcharset.a
/usr/linux/lib/libiconv.a
bash-3.2#
bash-3.2# echo $LIBPATH
bash-3.2# echo $LD_LIBRARY_PATH
bash-3.2#
bash-3.2# which zabbix_agentd
/usr/sbin/zabbix_agentd
bash-3.2# ldd /usr/sbin/zabbix_agentd
/usr/sbin/zabbix_agentd needs:
/usr/lib/libc.a(shr.o)
/usr/lib/libiconv.a(libiconv.so.2)
ar: 0707-109 Member name libiconv.so.2 does not exist.
dump: /tmp/tmpdir409708/extract/libiconv.so.2: 0654-106 Cannot open the specified file.
/usr/lib/libperfstat.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libcfg.a(shr.o)
/usr/lib/libodm.a(shr.o)
/usr/lib/liblvm.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
bash-3.2#
bash-3.2# ls -l /usr/lib/libiconv.a
-r--r--r-- 1 bin bin 379205 Mar 02 2011 /usr/lib/libiconv.a
bash-3.2#
bash-3.2# lslpp -w /usr/lib/libiconv.a
File Fileset Type
----------------------------------------------------------------------------
/usr/lib/libiconv.a bos.rte.iconv File
bash-3.2#
bash-3.2# lslpp -f bos.rte.iconv
Fileset File
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.rte.iconv 5.3.0.0
/usr/lib/libiconv.a
/usr/lib/nls/csmap
/usr/lib/nls/csmap/IBM-850 -> /usr/lib/nls/csmap/sbcs
/usr/lib/nls/csmap/ISO8859-1 -> /usr/lib/nls/csmap/sbcs
/usr/lib/nls/csmap/ISO8859-15 -> /usr/lib/nls/csmap/sbcs
/usr/lib/nls/csmap/sbcs
bash-3.2#
bash-3.2# mv /usr/lib/libiconv.a /usr/lib/libiconv.a.orig
bash-3.2# ln -s /usr/linux/lib/libiconv.a /usr/lib/libi
libi18n.a libica.a libiculx.a libimqc23ia.a libipfx.a
libi4clntjni.a libiconv.a.orig libicutu.a libimqc23ia_r.a libisc_9.a
libi4shrndl.a libicudata.a libicuuc.a libimqs23ia.a libisns.a
libi4shrshl.a libicui18n.a libikecmd.a libimqs23ia_r.a libisode.a
libibmcls.a libicuio.a libimqb23ia.a libinstall.a
libibmuis.a libicule.a libimqb23ia_r.a libintl.a
bash-3.2# ln -s /usr/linux/lib/libiconv.a /usr/lib/libi
libi18n.a libica.a libiculx.a libimqc23ia.a libipfx.a
libi4clntjni.a libiconv.a.orig libicutu.a libimqc23ia_r.a libisc_9.a
libi4shrndl.a libicudata.a libicuuc.a libimqs23ia.a libisns.a
libi4shrshl.a libicui18n.a libikecmd.a libimqs23ia_r.a libisode.a
libibmcls.a libicuio.a libimqb23ia.a libinstall.a
libibmuis.a libicule.a libimqb23ia_r.a libintl.a
bash-3.2# ln -s /usr/linux/lib/libiconv.a /usr/lib/libiconv.a
bash-3.2# ls -l /usr/lib/|grep libicon
lrwxrwxrwx 1 root system 25 May 16 02:48 libiconv.a -> /usr/linux/lib/libiconv.a
-r--r--r-- 1 bin bin 379205 Mar 02 2011 libiconv.a.orig
bash-3.2#
bash-3.2# ldd /usr/sbin/zabbix_agentd
/usr/sbin/zabbix_agentd needs:
/usr/lib/libc.a(shr.o)
/usr/lib/libiconv.a(libiconv.so.2)
/usr/lib/libperfstat.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libcfg.a(shr.o)
/usr/lib/libodm.a(shr.o)
/usr/lib/liblvm.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
bash-3.2#
测试zabbix agent
bash-3.2# zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix_agentd [385260]: cannot open [/tmp/zabbix/zabbix_agentd.log]: [13] Permission denied
bash-3.2# ls -l /tmp/|grep zabbix
drwxr-xr-x 5 root system 512 May 16 02:29 zabbix
bash-3.2# rm -rf /tmp/zabbix/*
bash-3.2# ls -l /tmp/zabbix/
total 0
bash-3.2#
bash-3.2# chown -R zabbix:zabbix /tmp/zabbix
bash-3.2#
bash-3.2# more /tmp/zabbix/zabbix_agentd.log
zabbix_agentd [385034]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [13] Permission denied
bash-3.2#
bash-3.2# more /tmp/zabbix/zabbix_agentd.log
zabbix_agentd [385034]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [13] Permission denied
zabbix_agentd [282818]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [13] Permission denied
zabbix_agentd [282824]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [13] Permission denied
zabbix_agentd [385090]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [13] Permission denied
282862:20140516:025634.605 Starting Zabbix Agent [AIX53_36]. Zabbix 2.0.8 (revision 38017).
389122:20140516:025634.606 agent #0 started [collector]
409848:20140516:025634.609 agent #1 started [listener]
385124:20140516:025634.610 agent #2 started [listener]
278672:20140516:025634.612 agent #3 started [listener]
331780:20140516:025634.613 agent #4 started [active checks]
331780:20140516:025634.621 active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:
10051]: [79] Connection refused)
bash-3.2#
添加自启动
bash-3.2# mkitab zabbix_agentd:2:respawn:/usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
bash-3.2# lsitab -a|grep zabbix
zabbix_agentd:2:respawn:/usr/sbin/zabbix_agentd
bash-3.2#
bash-3.2# ps -eaf|grep zabbix
zabbix 278672 282862 0 02:56:34 - 0:00 zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 282862 1 0 02:56:34 - 0:00 zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 331780 282862 0 02:56:34 - 0:00 zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 385124 282862 0 02:56:34 - 0:00 zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 389122 282862 0 02:56:34 - 0:00 zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 409848 282862 0 02:56:34 - 0:00 zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
root 421910 458802 0 03:06:25 pts/1 0:00 grep zabbix
bash-3.2#
bash-3.2#
服务器端测试一下
[root@my2950 zabbix]# zabbix_get -k system.uname -s 10.101.0.36
AIX tomoe 3 5 005CF0FA4C00
[root@my2950 zabbix]#
另外一台AIX 5.3 机器上
bash-2.05b# mkdir /tmp/zabbix
bash-2.05b# mv zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz /tmp/zabbix/
bash-2.05b# cd /tmp/zabbix/
bash-2.05b# ls
zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz
bash-2.05b#
bash-2.05b#
bash-2.05b# gunzip -d zabbix_agents_2.0.8.aix5300-06.powerpc.tar.gz
bash-2.05b# ls
zabbix_agents_2.0.8.aix5300-06.powerpc.tar
bash-2.05b#
bash-2.05b#
bash-2.05b#
bash-2.05b# tar -xvf zabbix_agents_2.0.8.aix5300-06.powerpc.tar
x sbin/zabbix_agent, 256153 bytes, 501 media blocks.
x sbin/zabbix_agentd, 295366 bytes, 577 media blocks.
x bin/zabbix_get, 123812 bytes, 242 media blocks.
x bin/zabbix_sender, 139712 bytes, 273 media blocks.
x conf/zabbix_agent.conf, 1601 bytes, 4 media blocks.
x conf/zabbix_agentd.conf, 5707 bytes, 12 media blocks.
x conf/zabbix_agentd/userparameter_examples.conf, 1326 bytes, 3 media blocks.
x conf/zabbix_agentd/userparameter_mysql.conf, 1517 bytes, 3 media blocks.
bash-2.05b# ls
bin sbin
conf zabbix_agents_2.0.8.aix5300-06.powerpc.tar
bash-2.05b#
bash-2.05b#
bash-2.05b#
bash-2.05b#
bash-2.05b# clear
bash-2.05b# pwd
/tmp/zabbix
bash-2.05b# ls
bin sbin
conf zabbix_agents_2.0.8.aix5300-06.powerpc.tar
bash-2.05b#
bash-2.05b#
bash-2.05b#
bash-2.05b# ls -l
total 1640
drwxr-xr-x 2 zabbix zabbix 256 May 16 14:29 bin
drwxr-xr-x 3 zabbix zabbix 256 May 16 14:29 conf
drwxr-xr-x 2 zabbix zabbix 256 May 16 14:29 sbin
-rw-r--r-- 1 root system 839680 May 16 14:29 zabbix_agents_2.0.8.aix5300-06.powerpc.tar
bash-2.05b#
bash-2.05b#
bash-2.05b# ./bin/zabbix_
zabbix_get zabbix_sender
bash-2.05b# ./sbin/zabbix_agent
zabbix_agent zabbix_agentd
bash-2.05b# ./sbin/zabbix_agentd -V
exec(): 0509-036 Cannot load program ./sbin/zabbix_agentd because of the following errors:
0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-152 Member libiconv.so.2 is not found in archive
bash-2.05b# ls -l /usr/lib/libiconv.a
-r--r--r-- 1 bin bin 379205 Mar 07 2011 /usr/lib/libiconv.a
bash-2.05b#
bash-2.05b#
bash-2.05b# rpm -qa|grep libic
bash-2.05b#
bash-2.05b# rpm -Uhv libiconv-1.14-2.aix5.1.ppc.rpm
libiconv ##################################################
bash-2.05b#
bash-2.05b# mv /usr/lib/libiconv.a /usr/lib/libic
libica.a libiconv.a
bash-2.05b# mv /usr/lib/libiconv.a /usr/lib/libiconv.a.orig
bash-2.05b# ln -s /usr/linux/lib/libiconv.a /usr/lib/libiconv.a
bash-2.05b# ls -l /usr/lib/libiconv.a
lrwxrwxrwx 1 root system 25 May 16 14:32 /usr/lib/libiconv.a -> /usr/linux/lib/libiconv.a
bash-2.05b#
bash-2.05b# pwd
/tmp/zabbix
bash-2.05b# ls
bin sbin
conf zabbix_agents_2.0.8.aix5300-06.powerpc.tar
libiconv-1.14-2.aix5.1.ppc.rpm
bash-2.05b# ldd /tmp/zabbix/sbin/zabbix_agentd
/tmp/zabbix/sbin/zabbix_agentd needs:
/usr/lib/libc.a(shr.o)
/usr/lib/libiconv.a(libiconv.so.2)
/usr/lib/libperfstat.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libcfg.a(shr.o)
/usr/lib/libodm.a(shr.o)
/usr/lib/liblvm.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
bash-2.05b#
mkdir /etc/zabbix;
mkdir /tmp/zabbix;
chown -R zabbix:zabbix /tmp/zabbix;
cat << EOF >/etc/zabbix/zabbix_agentd.conf
Hostname=$(hostname).$(domainname)
Server=10.101.0.17
Include=/etc/zabbix/conf.d/
PidFile=/tmp/zabbix/zabbix_agentd.pid
LogFile=/tmp/zabbix/zabbix_agentd.log
LogFileSize=100
Timeout=30
EOF
bash-2.05b# mkitab zabbix_agentd:2:respawn:/usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
bash-2.05b#
bash-2.05b# ps -eaf|grep zabbix
zabbix 163898 266264 0 14:41:35 - 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 266264 1 0 14:41:35 - 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 270582 266264 0 14:41:35 - 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 311448 266264 0 14:41:35 - 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 344216 266264 0 14:41:35 - 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
bash-2.05b#