[ZBX-3426] unable to delete application that's linked to a host from a template Created: 2011 Jan 14 Updated: 2017 May 30 Resolved: 2011 Jul 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.4 |
Fix Version/s: | 1.8.6 |
Type: | Incident report | Priority: | Major |
Reporter: | Dmitrij Gavrilenko | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix 1.8.4 |
Attachments: | 2011.06.10 Host_Config.jpg 2011.06.10 List_Template.jpg 2011.06.10 Remove_Application_Error.jpg 2011.06.10 Remove_Template.jpg | ||||||||
Issue Links: |
|
Description |
When you connect the template to the host, also connected to the host application described in the template. Approximate error: Templated application cannot be deleted. --------------- ORIGINAL --------------- ??? ??????????? ??????? ? ?????, ? ????? ????? ???????????? ?????????? ????????? ? ???????. ??????????????? ??????: Templated application cannot be deleted. |
Comments |
Comment by Dmitrij Gavrilenko [ 2011 Jan 14 ] |
В версиях 1.8.2 и 1.8.3 такой проблемы не было. |
Comment by Alexander Vladishev [ 2011 Apr 22 ] |
Не получается повторить эту проблему. В версии 1.8.5 такая проблема осталась? |
Comment by Dmitrij Gavrilenko [ 2011 Apr 26 ] |
Looks like I gave an incorrect description of the problem. Now try to repeat the situation at home. Basically, when you delete a template, applications that were connected, removed correctly in both versions, and 1.8.4 and 1.8.5. Basically, everything works correctly, because deystvitenlno, the pattern to the host still connected. After removal of the application in the template, the application also removed and the host. --------------- ORIGINAL --------------- Похоже я дал некорректное описание по проблеме. Сейчас попытался повторить ситуацию у себя. В принципе, при удалении шаблона, приложения, которые были подключены, удаляются корректно в обоих версиях, и 1.8.4 и 1.8.5. В принципе, все отрабатывается корректно, т.к. действитенльно, шаблон к хосту еще подключен. После удаления приложения в шаблоне, приложение также удаляется и в хосте. |
Comment by Dmitrij Gavrilenko [ 2011 Apr 26 ] |
ТТ открыт ошибочно. |
Comment by Alexander Vladishev [ 2011 Apr 26 ] |
Спасибо! Проблема закрыта. |
Comment by Dmitrij Gavrilenko [ 2011 Jun 10 ] |
Good afternoon. So .... Create templates: 1_GDG_Template to "application" App-1, 2_GDG_Template with the "application" App-2 and 3_GDG_Template with the "application" App-3. Elements can not sozdvat. 1) If the host link the only one! template, then its off "application" is removed from the host configuration is normal!
The only way to remove the "application" (App-2) from the host, which I found it to reconnect template 2_GDG_Template and will remove all the templates from top to bottom before you want to delete. The problem manifests itself precisely in versions 1.8.4 and 1.8.5 Another question, is not the problem, but also connected with "applications". If you have created two templates, such as one for handling TRAPs, the second for polling interfaces for SNMP, but in both patterns is the "application": "E1 Interface," Interface E2 ", etc. .. As a result, the menu "Monitoring -> LastValue" conveniently infformatsiyu all on one interface to look down on the spot! But two such template can not be connected to a single host. When adding the second error will appear that the application has already been created. As a result, have to remove "application" in one of the templates and then assign all the elements of "application" by hand. Which is very inconvenient! Tell me this is a bug or Fitch? And how can we fix it (whether to open an additional request)? Thank you. --------------- ORIGINAL --------------- Добрый день. Итак.... Создаем шаблоны: 1_GDG_Template с "приложением" App-1, 2_GDG_Template с "приложением" App-2 и 3_GDG_Template с "приложением" App-3. Элементы можно не создвать. 1) Если к хосту прилинковать только ОДИН! шаблон, то при его отключении "приложение" удаляется из конфигурации хоста нормально!
Единственным способом удалить "приложение" (App-2) из хоста, который я нашел, это подключить повторно шаблон 2_GDG_Template и выполнить удаление всех шаблонов сверху вниз до того, который необходимо удалить. Проблема проявляется точно в версиях 1.8.4 и 1.8.5 Еще вопрос, не по проблеме, но тоже связан с "приложениями". Если созданы два шаблона, например, один для обработки TRAPs, второй для опроса интерфейсов по SNMP, но в обоих шаблонах есть "приложения": "Интерфейс Е1", "Интерфейс Е2" и т.д... В результате, в меню "Monitoring -> LastValue" удобно всю инфформацию по одному интерфейсу смотреть в о дном месте! Но два таких шаблона нельзя подключить к одному хосту. При добавлении второго появится ошибка о том, что приложение уже создано. В результате приходиться удалять "приложения" в одном из шаблонов и потом всем элементам назначать "приложение" вручную. Что крайне не удобно! Скажите, это баг или фитча? И можно ли это исправить(нужно ли открывать дополнительный запрос)? Спасибо. |
Comment by richlv [ 2011 Jun 13 ] |
i'll dump google translate results for relevant parts here... |
Comment by Alexey Fukalov [ 2011 Jul 12 ] |
Problem with same applications on templates is known: |
Comment by Eduards Samersovs (Inactive) [ 2011 Jul 13 ] |
dev branch: |
Comment by Eduards Samersovs (Inactive) [ 2011 Jul 13 ] |
branche/1.8 revision 20540 |