Ad Widget

Collapse

zabbix agent on a mac

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wpervaiz
    Member
    • May 2009
    • 30

    #1

    zabbix agent on a mac

    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:
    Code:
    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
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    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
    Zabbix 3.0 Network Monitoring book

    Comment

    • wpervaiz
      Member
      • May 2009
      • 30

      #3
      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??

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        Originally posted by wpervaiz
        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.

        Comment

        Working...