Ad Widget

Collapse

new 2.0 agents with old server/proxy?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • harri
    Member
    • Nov 2010
    • 89

    #1

    new 2.0 agents with old server/proxy?

    Is it possible to run the new 2.0 agents together with 1.8.13 proxy or server? What would be the upgrade _path_ for server, agents and proxies?

    Please excuse if I am too blind to see, but by now I found only the upgrade procedure for a (standalone?) server in the release notes. There was no compatibility matrix between the different Zabbix modules, either. Many thanx in advance.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    some brief information is available at http://www.zabbix.com/documentation/.../compatibility
    Zabbix 3.0 Network Monitoring book

    Comment

    • GArmao
      Zabbix Certified Specialist
      Zabbix Certified Trainer
      Zabbix Certified Specialist
      • Mar 2010
      • 135

      #3
      so here's the other obvious question, I can't seem to find it on the forum or doc:

      can I use zabbix-proxy 2.0 with zabbix-server 1.8?

      and correct me if I'm wrong, it seems I can use zabbix-agentd 2.0 with zabbix-server 1.8

      I think this kind of questions/answers should go to a wiki page because they are going to be more and more common when people start upgrading from 1.8 to 2.0, maybe a nice table with all the options like the one attached (and zipped because .ods isn't allowed)
      Attached Files

      Comment

      • GArmao
        Zabbix Certified Specialist
        Zabbix Certified Trainer
        Zabbix Certified Specialist
        • Mar 2010
        • 135

        #4
        any official answer?

        Comment

        • GArmao
          Zabbix Certified Specialist
          Zabbix Certified Trainer
          Zabbix Certified Specialist
          • Mar 2010
          • 135

          #5
          did some test, I can confirm Zabbix Proxy 2.0 DOESN'T work with Zabbix Server 1.8 the configuration sent from zabbix server 1.8 is different than the one expected by zabbix proxy 2.0 (host.dns doesn't exist anymore) so the proxy fails to download configuration from the server and it is unusable:

          22107:20120601:095953.116 Received configuration data from server. Datalen 8688
          22107:20120601:095953.117 In process_proxyconfig()
          22107:20120601:095953.117 query [txnlev:1] [begin;]
          22107:20120601:095953.117 In process_proxyconfig_table() table:'hosts'
          22107:20120601:095953.117 End of process_proxyconfig_table():FAIL
          22107:20120601:095953.117 failed to update local proxy cofiguration copy: invalid field name "hosts.dns"
          22107:20120601:095953.117 query [txnlev:1] [rollback;]
          22107:20120601:095953.117 End of process_proxyconfig()
          22107:20120601:095953.117 End of process_configuration_sync()

          I'll keep doing other test with other combination, next is: zabbix-agent 2.0, server 1.8

          Comment

          • GArmao
            Zabbix Certified Specialist
            Zabbix Certified Trainer
            Zabbix Certified Specialist
            • Mar 2010
            • 135

            #6
            after some more tests it seems that:

            Zabbix Agent 2.0 is compatible with Zabbix Server 1.8
            and
            Zabbix Agent 2.0 is compatible with Zabbix Proxy 1.8

            so I attached the compatibility grid, result of my tests, keep in mind that it is a non-official one, coming only from my non-extensive tests. It would be nice to have an official confirmation.
            Attached Files

            Comment

            • ke_sheng_jie
              Member
              • Aug 2011
              • 40

              #7
              Supported Zabbix proxies in 2.0

              "Supported Zabbix proxies

              Only Zabbix 2.0 proxies may be used with Zabbix server. Zabbix 1.6 and 1.8 proxies are not supported with Zabbix 2.0 server."
              http://www.zabbix.com/documentation/.../compatibility

              Comment

              • richlv
                Senior Member
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Oct 2005
                • 3112

                #8
                1.8 server definitely won't work with 2.0 proxies (as you discovered already ) - hosts now have interfaces, and there might be other differences.

                as for 2.0 agents with 1.8 server, the general zabbix policy is to support old agents with any server version. the opposite isn't tested much.
                i can't think of anything obvious why it won't work, but i might be forgetting something.

                i'd probably suggest creating a new issue, if only to document the official state
                Zabbix 3.0 Network Monitoring book

                Comment

                • GArmao
                  Zabbix Certified Specialist
                  Zabbix Certified Trainer
                  Zabbix Certified Specialist
                  • Mar 2010
                  • 135

                  #9
                  good idea, done:

                  Comment

                  • 3of0
                    Junior Member
                    • May 2012
                    • 9

                    #10
                    GArmao, Was there anything special you needed to do to get Zabbix 2.0 agents to talk to 1.8 servers & proxies? I'm having troubles getting any data to show up. I'm assuming they are talking because the logs stopped complaining that they couldn't contact each other, but there is nothing in the web interface showing yet.

                    Comment

                    • harri
                      Member
                      • Nov 2010
                      • 89

                      #11
                      Maybe there is a firewall between your Zabbix agent and server? You could login on the client and try to open a connection to the server:
                      Code:
                      telnet server 10051
                      . Similar to this you could try to reach the client from the server using
                      Code:
                      telnet client 10050
                      .

                      Comment

                      • GArmao
                        Zabbix Certified Specialist
                        Zabbix Certified Trainer
                        Zabbix Certified Specialist
                        • Mar 2010
                        • 135

                        #12
                        Originally posted by 3of0
                        GArmao, Was there anything special you needed to do to get Zabbix 2.0 agents to talk to 1.8 servers & proxies? I'm having troubles getting any data to show up. I'm assuming they are talking because the logs stopped complaining that they couldn't contact each other, but there is nothing in the web interface showing yet.
                        nop, nothing special, they worked out of the box! try enabling debug logging on both agentd and proxy or server

                        Comment

                        • 3of0
                          Junior Member
                          • May 2012
                          • 9

                          #13
                          It works! It was the firewall, thank you for the suggestion of trying to telnet from the server to the agent. It threw me for a huge loop with the error of "telnet: Unable to connect to remote host: No route to host", but digging enough lead me to the solution of adding a firewall rule to the agent computer. Below are the steps I did to get the agent to respond to the host trying to telnet to port 10050.

                          Code:
                          service iptables stop
                          cp /etc/sysconfig/iptables /etc/sysconfig/iptables.original #Incase I oops
                          vi /etc/sysconfig/iptables
                              #Inserted the following line next to the rule opening port 22, saved and quit.
                              -A INPUT -m state --state NEW -m tcp -p tcp --dport 10050 -j ACCEPT
                          service iptables start
                          /etc/init.d/zabbix-agent restart
                          Information started showing up on the server instantly. I didn't believe a firewall would be the issue. And I never knew that a firewall could generate such a telnet error on a remote host.

                          Thanks again, I appreciate it!

                          Comment

                          Working...