PDA

View Full Version : zabbix agent on a mac


wpervaiz
28-01-2010, 18:53
Hey guys... im trying to install an agent on mac os x

I'm doing this:

./configure --enable-agent --with-mysql --with-libcurl
make install

then, i get this:
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in zabbix_agent
gcc -DHAVE_CONFIG_H -I. -I../../include -g -O2 -MT cpustat.o -MD -MP -MF .deps/cpustat.Tpo -c -o cpustat.o cpustat.c
cpustat.c: In function 'get_cpustat':
cpustat.c:206: error: 'CPUSTATES' undeclared (first use in this function)
cpustat.c:206: error: (Each undeclared identifier is reported only once
cpustat.c:206: error: for each function it appears in.)
cpustat.c:298: error: 'CP_USER' undeclared (first use in this function)
cpustat.c:299: error: 'CP_NICE' undeclared (first use in this function)
cpustat.c:300: error: 'CP_SYS' undeclared (first use in this function)
cpustat.c:301: error: 'CP_INTR' undeclared (first use in this function)
cpustat.c:302: error: 'CP_IDLE' undeclared (first use in this function)
make[2]: *** [cpustat.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1


anyone have any solutions/suggestions?

Thanks!

richlv
29-01-2010, 18:17
which version ?
recently there were some macosx related problems fixed (although i don't recall for which components). make sure to try latest stable version

wpervaiz
23-03-2010, 16:05
all versions do the same thing. My server is running 1.6.2 so I would prefer anything below that.

has no one installed an agent on a mac system??

tchjts1
24-03-2010, 18:01
has no one installed an agent on a mac system??

From my understanding of the television commercials, MAC has a perfect operating system. No performance issues = no need for performance monitoring. ;)