I have set up server and a client successfully on sun machine. Now,I want to monitor a client so I tried to install zabbix client on linux enviroment. First time, the machine did not allow me to do "make" . I found a message on the web it says that I need to change snpritf.c. I changed that file. The machine allowed to do "make" I copied everything to the correct directory. but the host is unreachable. Could you help out? Thanks.
The make message:
make[1]: Entering directory `/home/zabbix-1.0/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall -lnsl
sysinfo.c: In function `process':
sysinfo.c:430: warning: cast from pointer to integer of different size
gcc -o ../../bin/zabbix_agentd -g -O2 -I../../include zabbix_agentd.c sysinfo.c stats.c interfaces.c diskdevices.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c -Wall -lnsl
sysinfo.c: In function `process':
sysinfo.c:430: warning: cast from pointer to integer of different size
make[1]: Leaving directory `/home/zabbix-1.0/src/zabbix_agent'
Making all in src/zabbix_sender
make[1]: Entering directory `/home/zabbix-1.0/src/zabbix_sender'
gcc -o ../../bin/zabbix_sender -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c -lnsl
make[1]: Leaving directory `/home/zabbix-1.0/src/zabbix_sender'
The log file:
zabbix_agentd 10832 started
One child process died. Exiting ...
Got signal. Exiting ...
The make message:
make[1]: Entering directory `/home/zabbix-1.0/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall -lnsl
sysinfo.c: In function `process':
sysinfo.c:430: warning: cast from pointer to integer of different size
gcc -o ../../bin/zabbix_agentd -g -O2 -I../../include zabbix_agentd.c sysinfo.c stats.c interfaces.c diskdevices.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c -Wall -lnsl
sysinfo.c: In function `process':
sysinfo.c:430: warning: cast from pointer to integer of different size
make[1]: Leaving directory `/home/zabbix-1.0/src/zabbix_agent'
Making all in src/zabbix_sender
make[1]: Entering directory `/home/zabbix-1.0/src/zabbix_sender'
gcc -o ../../bin/zabbix_sender -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c -lnsl
make[1]: Leaving directory `/home/zabbix-1.0/src/zabbix_sender'
The log file:
zabbix_agentd 10832 started
One child process died. Exiting ...
Got signal. Exiting ...
Comment