Ad Widget

Collapse

1.6.3 XML Import no longer works.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ralf Steiner
    Junior Member
    • Jul 2007
    • 9

    #1

    1.6.3 XML Import no longer works.

    Importing XML Templates seems to be broken after updating 1.6.2 to 1.6.3
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    silly typo.

    PATCH:
    Attached Files
    Zabbix | ex GUI developer

    Comment

    • Aly
      ZABBIX developer
      • May 2007
      • 1126

      #3
      Originally posted by Krzysztof Raczkowski
      The only rule I can select in 'missing' scenario is 'skip'.
      Who sad this is a bug?

      Originally posted by Krzysztof Raczkowski
      I found 1.6.3 very f... up :-( as i've noticed many more problems.
      Examples please.
      Zabbix | ex GUI developer

      Comment

      • Krzysztof Raczkowski
        Junior Member
        • Mar 2009
        • 2

        #4
        I've deleted previous post as all was my mistake :-/.

        I figured out, that my export was not properly done - I didn't check 'items', 'triggers' and 'Graphs' on exported templates, and XML file was empty.

        Now it works OK, but I think. I'll be looking for a support on this forum very often ;-)

        Comment

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

          #5
          Originally posted by Krzysztof Raczkowski
          I've got another problem: after upgrade to 1.6.3 I can't import templates.
          It works absolutely fine.
          Originally posted by Krzysztof Raczkowski
          The only rule I can select in 'missing' scenario is 'skip'.
          It was always like this.
          Originally posted by Krzysztof Raczkowski
          I found 1.6.3 very f... up :-( as i've noticed many more problems.
          Could you be more specific please?
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • Krzysztof Raczkowski
            Junior Member
            • Mar 2009
            • 2

            #6
            Originally posted by Alexei
            Could you be more specific please?
            I think, I should open new topic for every issue, but I write short list of what i found. I'll try to describe it with details (and maybe with patches in short future):

            - cloning an item gives me:
            Code:
                * Added new item Template_Sun_Blade_8000_SP:SYS_T_AMB2
                * Undefined variable: applications[/usr/share/zabbix/include/items.inc.php:352]
                * Invalid argument supplied for foreach()[/usr/share/zabbix/include/items.inc.php:1171]
                * Added new item module 0:SYS_T_AMB2
            - I can't monitor more than one snmp v3 host at a time. After adding another host - no data is collected from the new one. If I disable host 1, and restart zabbix-server, host 2 is working, but i can't enable monitoring of host 1 any more (this issue is also on 1.6.2). Switching to snmp v2c fixes all problems.

            Comment

            • otheus
              Member
              • Mar 2009
              • 53

              #7
              The above patch fixed my problem in 1.6.3 as well. I would click on Import and be presented with a blank screen. Ah, for missing parenthesis.

              If you're using Zabbix web and are too lazy to re-deploy, you can download the patch, and do something like (your paths might be different):

              Code:
              cd /tmp
              wget 'http://www.zabbix.org/forum/attachment.php?attachmentid=1814&d=1238162855' -O zabbix-import.patch
              cd /usr/share/zabbix
              # (as root)
              patch --dry-run -p2 /tmp/zabbix-import.patch
              This "dry run" should report any errors if there are any problems. If there are no problems, apply the patch:
              Code:
              # (as root)
              patch -b -p2 /tmp/zabbix-import.patch

              Comment

              • CeeEss
                Senior Member
                Zabbix Certified Specialist
                • Nov 2007
                • 103

                #8
                1.6.3 XML Import no longer works

                Originally posted by otheus
                The above patch fixed my problem in 1.6.3 as well. I would click on Import and be presented with a blank screen. Ah, for missing parenthesis.

                If you're using Zabbix web and are too lazy to re-deploy, you can download the patch, and do something like (your paths might be different):

                Code:
                cd /tmp
                wget 'http://www.zabbix.org/forum/attachment.php?attachmentid=1814&d=1238162855' -O zabbix-import.patch
                cd /usr/share/zabbix
                # (as root)
                patch --dry-run -p2 /tmp/zabbix-import.patch
                This "dry run" should report any errors if there are any problems. If there are no problems, apply the patch:
                Code:
                # (as root)
                patch -b -p2 /tmp/zabbix-import.patch
                Wow - glad i checked the Forums before posting a support ticket. Solved my import problem instantly. Thank you! One little thing, i couldn't get the patch to apply so i edited import.inc.php in-situ (and the php sourcefile, too). If I knew what you were targeting under /usr/share/zabbix it might have helped translate to my install - no crits, of course cuz it worked great. Presumably that is your zabbix sources location?

                Comment

                Working...