[ZBX-4922] Template import failing with error: Application with ID "" is not available Created: 2012 Apr 26 Updated: 2017 May 30 Resolved: 2012 Jun 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.0rc3 |
Fix Version/s: | 2.0.0rc4 |
Type: | Incident report | Priority: | Critical |
Reporter: | Corey Shaw | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | import, template | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
RHEL 5.7 x64 |
Attachments: | zbx_export_templates(1)-no-group.xml zbx_export_templates.xml |
Description |
The issue I'm experiencing is when I try to import a template created from 2.0.0rc3 back into a separate installation of 2.0.0rc3. If I try and import items I always get the error 'Application with ID "" is not available'. I've looked at the template file and it looks OK to me (but I'm no expert). I have attached the template file for reference. |
Comments |
Comment by Corey Shaw [ 2012 Apr 26 ] |
The template that is failing to import has items that are tied to applications in another template. Is it possible that it is failing because the applications the items are tied to simply hasn't been imported yet (although the template with the application is in the same template XML file)? |
Comment by Alexey Fukalov [ 2012 Apr 28 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4922 |
Comment by Pavels Jelisejevs (Inactive) [ 2012 May 02 ] |
(1) I've tried to link the template "OS: Linux" to another template, then export/import this configuration, but upon importing I get the following error: Undefined offset: 0 [include/classes/import/CConfigurationImport.php:459] Try importing "zbx_export_templates(1)-no-group.xml" to reproduce it. Be sure to delete the groups if they exist. The file provided by Corey is imported correctly. <Vedmak> RESOLVED <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 May 02 ] |
(2) When an item references an unexisting application, the error message says "Application with ID "" is not available on "OS: Linux". It should say something like "Application "App name" is not available on "OS: Linux". <Vedmak> RESOLVED <pavels> I've removed the "host" from "on host %hostname%" in 27218. CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 May 02 ] |
TESTED. |
Comment by Alexey Fukalov [ 2012 May 02 ] |
svn://svn.zabbix.com/trunk 27219 |