PDA

View Full Version : Alpha 11


navtek007
03-08-2005, 11:48
Just about to upgrade from alpha 10 to 11 and ran the usual.

./configure --with-mysql --with-net-snmp
make

however when i went to copy over the binaries from ./bin there was only the ZabbixW32.exe in there. have i missed something or is the only binary upgrade ZabbixW32.exe?

I'm positive that I am doing something wrong..

thanks.

Alexei
03-08-2005, 14:02
Do 'make install'. Also, use ./configure --prefix=<dir> ... to install binaries to any location you want.

navtek007
03-08-2005, 14:52
thanks, i think that i need a holiday for forgetting to do that... :confused:

Alexei
03-08-2005, 14:53
I wish I had a holiday! :)

navtek007
03-08-2005, 15:43
haha i wish we could all have holidays!! is there still meant to be a zabbix_server daemon as i only get these binaries:

zabbix_agent
zabbix_agentd
zabbix_get
zabbix_sender

also i get segmentation faults when running zabbix_get and zabbix_sender. does the zabbix_get daemon perform all the tasks for active checks and is the zabbix_sender just poll for data from the agents? what config files do they use as i can still only see zabbix_server.conf? sorry for the 101 questions..

navtek007
03-08-2005, 15:54
correction, don't worry about the segmentation faults i didn't supply the right arguments. however i still do not have the zabbix_server binary. i ran the install again however it still doesnt exist. any ideas?

dpsantos
03-08-2005, 16:01
Did u compiled with the --enable-server option??
Type ./configure --help to see all options.

Alexei
03-08-2005, 16:10
correction, don't worry about the segmentation faults i didn't supply the right arguments. however i still do not have the zabbix_server binary. i ran the install again however it still doesnt exist. any ideas? The binaries do not process situations when no arguments are given. Will be fixed.

navtek007
03-08-2005, 17:08
will try it with the enable-server option. i don't remember having to do this in alpha10. is this something new?

dpsantos
03-08-2005, 18:41
Nope... it's like this along time ago...
What happened is that be binaries are also available pre-compiled for some OS's.. But i don't recommend that.

Alexei
03-08-2005, 22:27
will try it with the enable-server option. i don't remember having to do this in alpha10. is this something new?
Yes, it is new feature!

safl
04-08-2005, 14:11
Seems like there is a problem compiling with snmp support. I get this army of errors:

/root/zabbix-1.1alpha11/src/zabbix_server/server.c:574: undefined reference to `init_snmp'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x4d): In function `get_value_snmp':
/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:52: undefined reference to `snmp_sess_init'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x10d):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:122: undefined reference to `usmHMACMD5AuthProtocol'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x148):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:131: undefined reference to `usmHMACMD5AuthProtocol'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x14d):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:131: undefined reference to `generate_Ku'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x1ad):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:153: undefined reference to `snmp_open'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x1e2):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:164: undefined reference to `snmp_pdu_create'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x1fd):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:165: undefined reference to `read_objid'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x213):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:173: undefined reference to `snmp_add_null_var'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x244):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:176: undefined reference to `snmp_synch_response'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x38e):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:291: undefined reference to `snmp_free_pdu'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x39c):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:293: undefined reference to `snmp_close'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x4b4):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:258: undefined reference to `snmp_errstring'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x4e3):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:267: undefined reference to `snmp_errstring'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x51f):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:262: undefined reference to `snmp_errstring'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x5a0):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:284: undefined reference to `snmp_sess_perror'
poller/libzbxpoller.a(checks_snmp.o)(.text+0x605):/root/zabbix-1.1alpha11/src/zabbix_server/poller/checks_snmp.c:276: undefined reference to `snmp_sess_perror'
collect2: ld returned 1 exit status
make[3]: *** [zabbix_server] Error 1
make[3]: Leaving directory `/root/zabbix-1.1alpha11/src/zabbix_server'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/zabbix-1.1alpha11/src/zabbix_server'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/zabbix-1.1alpha11/src'
make: *** [install-recursive] Error 1


And when it's done all i'm left with is:
zabbix_agent
zabbix_agentd
zabbix_get
zabbix_sender

no server.

dpsantos
04-08-2005, 14:58
SIMPLE....

Just add @SNMP_LFLAGS@ to line 170 of Makefile.in in the src/zabbix_server.

Duarte Santos

Alexei
04-08-2005, 23:29
Also add @SNMP_INCLUDE@ to INCLUDES in Makefile.am. Fixed!