Ad Widget

Collapse

Alpha 11

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • navtek007
    Senior Member
    • May 2005
    • 100

    #1

    Alpha 11

    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
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Do 'make install'. Also, use ./configure --prefix=<dir> ... to install binaries to any location you want.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • navtek007
      Senior Member
      • May 2005
      • 100

      #3
      thanks, i think that i need a holiday for forgetting to do that...

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        I wish I had a holiday!
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • navtek007
          Senior Member
          • May 2005
          • 100

          #5
          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..

          Comment

          • navtek007
            Senior Member
            • May 2005
            • 100

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

            Comment

            • dpsantos
              Member
              Zabbix Certified Specialist
              • Mar 2005
              • 60

              #7
              Er........

              Did u compiled with the --enable-server option??
              Type ./configure --help to see all options.

              Comment

              • Alexei
                Founder, CEO
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Sep 2004
                • 5654

                #8
                Originally posted by navtek007
                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.
                Alexei Vladishev
                Creator of Zabbix, Product manager
                New York | Tokyo | Riga
                My Twitter

                Comment

                • navtek007
                  Senior Member
                  • May 2005
                  • 100

                  #9
                  will try it with the enable-server option. i don't remember having to do this in alpha10. is this something new?

                  Comment

                  • dpsantos
                    Member
                    Zabbix Certified Specialist
                    • Mar 2005
                    • 60

                    #10
                    New???

                    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.

                    Comment

                    • Alexei
                      Founder, CEO
                      Zabbix Certified Trainer
                      Zabbix Certified SpecialistZabbix Certified Professional
                      • Sep 2004
                      • 5654

                      #11
                      Originally posted by navtek007
                      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!
                      Alexei Vladishev
                      Creator of Zabbix, Product manager
                      New York | Tokyo | Riga
                      My Twitter

                      Comment

                      • safl
                        Senior Member
                        • May 2005
                        • 103

                        #12
                        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.

                        Comment

                        • dpsantos
                          Member
                          Zabbix Certified Specialist
                          • Mar 2005
                          • 60

                          #13
                          It's a bug.... here is the fix

                          SIMPLE....

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

                          Duarte Santos

                          Comment

                          • Alexei
                            Founder, CEO
                            Zabbix Certified Trainer
                            Zabbix Certified SpecialistZabbix Certified Professional
                            • Sep 2004
                            • 5654

                            #14
                            Also add @SNMP_INCLUDE@ to INCLUDES in Makefile.am. Fixed!
                            Alexei Vladishev
                            Creator of Zabbix, Product manager
                            New York | Tokyo | Riga
                            My Twitter

                            Comment

                            Working...