Ad Widget

Collapse

Which agents support the Linux 2.4 kernel?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Libila
    Junior Member
    • Jun 2007
    • 11

    #1

    Which agents support the Linux 2.4 kernel?

    Which agents are capable of running on the 2.4 kernel and also sending the data gathered to a 1.4.x Zabbix server?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    ZABBIX agent works on both 2.4.x and 2.6.x kernels.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Libila
      Junior Member
      • Jun 2007
      • 11

      #3
      Then why am I getting this error when starting the zabbix 1.4 agent?

      Code:
      # /etc/init.d/zabbix_agentd start
      Starting Zabbix Agent: FATAL: kernel too old
                                                                 [FAILED]
      # uname -a
      Linux 2.4.22-1.2199.nptl #1 Wed Aug 4 12:21:48 EDT 2004 i686 i686 i386 GNU/Linux

      Comment

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

        #4
        Originally posted by Libila
        Then why am I getting this error when starting the zabbix 1.4 agent?
        I don't know. The message does not come from the agent.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • Libila
          Junior Member
          • Jun 2007
          • 11

          #5
          I don't see how this is not coming from the agent. This time I didn't use the startup script just executed the binary and I get this output:

          Code:
          /usr/local/bin/zabbix_agentd -V
          FATAL: kernel too old
          Segmentation fault
          Are there any special configure flags needed to compile support for 2.4 Alex? Your instructions are rather generic.

          Comment

          • Calimero
            Senior Member
            • Nov 2006
            • 481

            #6
            Do you have tools like 'strace' on that machine to try and find out what causes that error ?

            Comment

            • Libila
              Junior Member
              • Jun 2007
              • 11

              #7
              Here is my strace output.

              execve("/usr/local/bin/zabbix_agentd", ["/usr/local/bin/zabbix_agentd"], [/* 16 vars */]) = 0
              uname({sys="Linux", node="example.com", ...}) = 0
              open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = 3
              writev(3, [{"FATAL: kernel too old\n", 22}], 1FATAL: kernel too old
              ) = 22
              --- SIGSEGV (Segmentation fault) @ 0 (0) ---
              +++ killed by SIGSEGV +++

              Comment

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

                #8
                I believe the agent binary you are using was built on an older version of kernel or libc.
                Alexei Vladishev
                Creator of Zabbix, Product manager
                New York | Tokyo | Riga
                My Twitter

                Comment

                • Libila
                  Junior Member
                  • Jun 2007
                  • 11

                  #9
                  I think you were right. rebuilt the binary and it worked.

                  Comment

                  Working...