Ad Widget

Collapse

1.3.3 Bug? zabbix_get seems to be non-functional

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clahti
    Senior Member
    • Jan 2007
    • 126

    #1

    1.3.3 Bug? zabbix_get seems to be non-functional

    zabbix_get seems to be broken on the 1.3.3 release:

    [root@localhost~]# zabbix_get -s 127.0.0.1 -k "agent.ping"
    zabbix_get [3934]: Error on gethost(). [Success]

    or

    [root@localhost ~]# zabbix_get -s 10.250.103.46 -k "agent.ping"
    zabbix_get [3947]: Error on gethost(). [Success]


    Of course on those two hosts, agent.ping is valid

    [root@localhost ~]# zabbix_agentd -t agent.ping
    agent.ping [u|1]
  • clahti
    Senior Member
    • Jan 2007
    • 126

    #2
    shameless bump, is anyone else having this problem?

    Comment

    • monsieurcanard
      Member
      • Mar 2007
      • 40

      #3
      I'm having this problem too. Are you connecting to zabbix_agent over OpenVPN by any chance?

      Comment

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

        #4
        Are both server and agent from ZABBIX 1.3.3?
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • monsieurcanard
          Member
          • Mar 2007
          • 40

          #5
          Not in my case, I was using v1.1 agent because it was easier to install from FreeBSD ports. Will compile v1.3.3 now and update this thread.

          Comment

          • monsieurcanard
            Member
            • Mar 2007
            • 40

            #6
            Hi Alex,

            I hit a bug with Curl:


            Should I compile the SVN zabbix_agent to test for the purposes of this thread? Or can you direct me how to fix the curl bug for 1.3.3 zabbix_agent?

            Many thanks,
            Matt

            Comment

            • clahti
              Senior Member
              • Jan 2007
              • 126

              #7
              Originally posted by Alexei
              Are both server and agent from ZABBIX 1.3.3?
              Yes both agent and server are 1.3.3 in my case

              Comment

              • monsieurcanard
                Member
                • Mar 2007
                • 40

                #8
                Clahti: Are you connecting to your agent over a VPN or using any kind of complicated networking setup, such as port forwarding? I'm curious as to whether running the connection over a VPN is causing the problem. I can telnet to port 10050 on the desired IP, though, and when I type in garbage it does return ZBX_UNSUPPORTED.

                Matt

                Comment

                • clahti
                  Senior Member
                  • Jan 2007
                  • 126

                  #9
                  Originally posted by monsieurcanard
                  Clahti: Are you connecting to your agent over a VPN or using any kind of complicated networking setup, such as port forwarding? I'm curious as to whether running the connection over a VPN is causing the problem. I can telnet to port 10050 on the desired IP, though, and when I type in garbage it does return ZBX_UNSUPPORTED.

                  Matt
                  No, this is a normal local lan, client and server on same subnet

                  Comment

                  • NOB
                    Senior Member
                    Zabbix Certified Specialist
                    • Mar 2007
                    • 469

                    #10
                    Workaround (first aid) for curl "bug"

                    Hi,

                    in a vain I added one line to every Makefile in the source tree.
                    That includes
                    Makefile
                    */Makefile
                    */*/Makefile
                    */*/*/Makefile
                    and it compiles and links everything.
                    I am sure there is a way to add this line to "Makefile.in",
                    but I did not have time to check that, yet.
                    So if you are really desperate add the following line to all the Makefiles
                    e.g. after the line containing
                    SQLORA8_LDFLAGS =
                    The missing line is (all on one line, of course):

                    CPPFLAGS = ${DB_CPPFLAGS} ${JABBER_CPPFLAGS} ${LIBCURL_CPPFLAGS} ${LIBLDAP_CPPFLAGS} ${MYSQL_CPPFLAGS} ${ORACLE_CPPFLAGS} ${POSTGRESQL_CPPFLAGS} ${SNMP_CPPFLAGS} ${SQLITE3_CPPFLAGS} ${SQLORA8_CPPFLAGS}

                    Hope it helps. it worked for me.

                    Norbert.

                    Comment

                    Working...