Importing XML Templates seems to be broken after updating 1.6.2 to 1.6.3
Ad Widget
Collapse
1.6.3 XML Import no longer works.
Collapse
X
-
Tags: None
-
Zabbix | ex GUI developer -
Who sad this is a bug?Originally posted by Krzysztof RaczkowskiThe only rule I can select in 'missing' scenario is 'skip'.
Examples please.Originally posted by Krzysztof RaczkowskiI found 1.6.3 very f... up :-( as i've noticed many more problems.Zabbix | ex GUI developerComment
-
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
-
It works absolutely fine.Originally posted by Krzysztof RaczkowskiI've got another problem: after upgrade to 1.6.3 I can't import templates.
It was always like this.Originally posted by Krzysztof RaczkowskiThe only rule I can select in 'missing' scenario is 'skip'.
Could you be more specific please?Originally posted by Krzysztof RaczkowskiI found 1.6.3 very f... up :-( as i've noticed many more problems.Comment
-
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:
- 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.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_AMB2Comment
-
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):
This "dry run" should report any errors if there are any problems. If there are no problems, apply the patch: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
Code:# (as root) patch -b -p2 /tmp/zabbix-import.patch
Comment
-
1.6.3 XML Import no longer works
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?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):
This "dry run" should report any errors if there are any problems. If there are no problems, apply the patch: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
Code:# (as root) patch -b -p2 /tmp/zabbix-import.patch
Comment
silly typo.
Comment