[ZBX-4738] Mass update of items coming from template: "Host interface" shows "No interface found" Created: 2012 Mar 08  Updated: 2017 May 30  Resolved: 2012 Apr 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.0rc1
Fix Version/s: 2.0.0rc3

Type: Incident report Priority: Minor
Reporter: Jens Berthold Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: itemmassupdate, items, massupdate, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 6.0.3
mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (x86_64)
PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli)



 Description   

When doing a mass update on a host and selecting items coming from a template, the field "Host interface" shows no interfaces, but "No interface found".
Maybe the mass update component is searching for interfaces in the template, instead of searching the host?



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2012 Apr 05 ]

RESOLVED.

Comment by Toms (Inactive) [ 2012 Apr 10 ]

(1) When one select items with different types and allowed interfaces are in conflict, "Host interface" check box should be grayed out before agent type is selected.

<pavels> We've discussed it with Sasha and decided, that it would be better to display an warning instead of disabling the checkbox. RESOLVED.

<Toms> If you have item with type "SNMPv1 agent" and item with type "SNMPv2 agent" you should have possibility to change host interface alone without changing type.

<pavels> RESOLVED.

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 10 ]

(2) Selected options are missing after unsuccessful Update

<pavels> RESOLVED.

<Toms> Authentication method, User name, Public key file, Private key file and Password fields still missing.

<pavels> RESOLVED.

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 10 ]

(3) in item edit mode: Undefined index: initial_interface_type [include\views\js\configuration.item.edit.js.php:180]

<pavels> RESOLVED.

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 11 ]

(4) I have an item with type "JMX agent" and item with type "SSH agent". On mass update If I choose type type "SSH agent" I am still able to chose host interface corresponding to JMX agent, which should be grayed out.

<pavels> This is correct, the SSH agent and some other item types can use any interface. Have a look at itemTypeInterface() for a map of interface types.

<Toms> Then the problem is that interface is not updated for "SSH agent" item.

<pavels> RESOLVED.

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 12 ]

(5) If I try to mass update "Zabbix agent (active)" item I am still able to select interface though this shouldn't be possible. Could be resolved same as (1) with a warning.

<pavels> RESOLVED.

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 12 ]

(6) interfaces in dropdown could be sorted or grouped by interface type.

<pavels> RESOLVED.

<Toms> Very nice. CLOSED

Comment by Toms (Inactive) [ 2012 Apr 13 ]

Review my changes if OK merge.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Apr 13 ]

Fixed in trunk r26825.

CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Apr 17 ]

(7) This caused a regression: in Chrome when you create an item prototype and select item type "SNMP v2", the SNMP interface is not selected (even if it's available). After that, if you select item type "Agent", the "Key" field disappears.

<pavels> RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-4738.

<pavels> Fixed in trunk 26938. CLOSED.

Generated at Tue Apr 23 15:54:44 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.