[ZBXNEXT-9102] API methods host.update and host.massupdate tag replace Created: 2024 Mar 25  Updated: 2024 Mar 25

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: api, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

API methods host.update and host.massupdate does not have tag replace, add features. Zabbix frontend provides such options.



 Comments   
Comment by Animesh Ventrapragada [ 2024 Mar 25 ]

 Hi dotneft , its not only the host entity. Please note that this should be applicable for all the entities where ever applicable like host group etc.





[ZBXNEXT-7070] Templates and Linked templates tabs should be removed from host and template Mass update forms Created: 2021 Nov 23  Updated: 2024 Apr 10  Resolved: 2021 Dec 13

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 6.0.0beta1
Fix Version/s: 6.0.0beta1, 6.0 (plan)

Type: Change Request Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Janis Freibergs
Resolution: Fixed Votes: 0
Labels: host, massupdate, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBXNEXT-7018 Better visibility of templates in UI Closed
Sub-task
part of ZBX-20261 Unlink and clear option in Template m... Open
part of ZBX-18895 Checkboxes in host / template / item ... Closed
Team: Team A
Sprint: Sprint 82 (Nov 2021), Sprint 83 (Dec 2021)
Story Points: 0.5

 Description   

After implementation of ZBXNEXT-7018, tab Templates for Hosts and Linked templates for Templates were removed and their content was moved to the 1st tab of the configuration form. Please make the same changes in the host and template Mass update forms.



 Comments   
Comment by Janis Freibergs [ 2021 Nov 25 ]

Implemented in 6.0.0alpha7 (master) 72ca580c0f2

Updated documentation:





[ZBXNEXT-6336] Mass Update Discovery Rules Created: 2020 Nov 11  Updated: 2020 Nov 11

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Shane Arnold Assignee: Valdis Murzins
Resolution: Unresolved Votes: 2
Labels: discovery, discoveryrule, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I would like the ability to mass update discovery rules, for example, to add an SNMPv2 check with values. In instances where you may have hundreds of discovery rules that need updating, manually clicking isn't fun, and writing a complicated script and/or SQL query is extremely high effort and high risk.






[ZBXNEXT-6036] Add "Apply permissions and tag filters to all subgroups" in hostgroup.update API or with MassUpdate (Frontend) Created: 2020 Jun 29  Updated: 2020 Jun 29  Resolved: 2020 Jun 29

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A), Frontend (F)
Affects Version/s: 5.0.0
Fix Version/s: None

Type: New Feature Request Priority: Medium
Reporter: Pietro Ferlauto Assignee: Zabbix Development Team
Resolution: Cannot Reproduce Votes: 1
Labels: API, hostgroup, hostgroup.update, hostgroups, massupdate, object
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot_1.png     PNG File Screenshot_2.png     PNG File Screenshot_3.png     PNG File Screenshot_4.png     PNG File Screenshot_5.png     PNG File Screenshot_6.png     File subgroup_permission_inheritence.mp4    

 Description   

Hi,

i need to create a tree structure with the host groups, but at the moment it is not possible to automate the process. 

 

The step that i do at the moment are the following:

1- i have created a tree structure with host groups (see screenshot_1)

2- i need to create a granular permission so that the user can see the full tree or only a branch, so i try to create some user groups. (see screenshot_2)

3- but in permissions if i select a group that have some subgrups, put the flag on "include subgroups" and click add (see screenshot_3)

4-The group is added in the permission but without including subgroups (see screenshot_4)

5-So i need to go back to host groups and add the flag on "Apply permissions and tag filters to all subgroups" (see screenshot_5)

6-After that in the created user group i start to see the "(including subgroups)"  (see screenshot_6)

 

Because in my infrastructure i need to create a very big tree with thousand of hostgroups. I want to know if is possible implement in the future version of zabbix the possibility to have the mass update function in the frontend so i can update multiple hostgroups with this flag at the same time or if is possible to add the possibility to set this flag with zabbix API, because at the moment with the API i can only create the group and add hosts or other groups.

Thanks in advance.

Pietro



 Comments   
Comment by Valdis Murzins [ 2020 Jun 29 ]

Hello [email protected],

I was not able to reproduce your problem. Can there be something else related to it?
subgroup_permission_inheritence.mp4

In my experiment it is applying permissions to all subgroups without the need to select the checkbox in user group edit form.

Comment by Pietro Ferlauto [ 2020 Jun 29 ]

Hi Valdis,

I tried to reinsert again the hostgroup and i found that the problem is not zabbix because if i use "curl" function it work but with the php library that i'm using to insert the hostgroup the problem persist.

So the problem can be closed.

Thanks





[ZBXNEXT-5213] Add/Remove/Replace all/Replace feature for tags in trigger mass update Created: 2019 May 08  Updated: 2021 Jul 01

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 4.0.7
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Marcus Behrens Assignee: Valdis Murzins
Resolution: Unresolved Votes: 4
Labels: massupdate, tags, template, trigger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

not needed for this feature



 Description   

In Zabbix Version 4.0.x it is only possible to replace the whole set of tags for triggers.

It would be a nice feature to have the following possibilities modifying dedicated tags.

replace = replace only the tag and value for the given tag-name
replace all tags = replace the whole set (like how it is now) with new given set
add = add a tag with given value to the existing tags
remove = remove only the given tags from the tag set

This is already in non-LTS Zabbix 4.2.



 Comments   
Comment by Marcus Behrens [ 2019 May 08 ]

My request is for mass-updating triggers.

Comment by richlv [ 2021 Jul 01 ]

As this is already available in recent versions, this seems to be a request for backporting to 4.0.
Is that still considered?





[ZBXNEXT-5058] Add Timeout to Mass Update for HTTP agent items Created: 2019 Feb 19  Updated: 2024 Apr 10  Resolved: 2020 Oct 09

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 4.0.4
Fix Version/s: 5.2.0beta2, 5.2 (plan)

Type: New Feature Request Priority: Trivial
Reporter: Ingus Vilnis Assignee: Roberts Lataria (Inactive)
Resolution: Fixed Votes: 1
Labels: httpagent, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Sub-task
part of ZBXNEXT-5969 Introducing "Script item" (backend) Closed
part of ZBXNEXT-6199 Frontend changes to introduce "Script... Closed
Team: Team D
Sprint: Sprint 68 (Sep 2020), Sprint 69 (Oct 2020)
Story Points: 0.5

 Description   

Timeout field is missing in Mass update form for HTTP agent items. 



 Comments   
Comment by Glebs Ivanovskis [ 2019 Feb 19 ]

I would consider this a bug.

Comment by Roberts Lataria (Inactive) [ 2020 Sep 29 ]

Implemented in development branch feature/ZBXNEXT-5058-5.1.

Comment by Roberts Lataria (Inactive) [ 2020 Oct 05 ]

Available in:

Documentation updated:





[ZBXNEXT-4954] Improve usability of mass update forms Created: 2019 Jan 10  Updated: 2020 Oct 21

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 4.2.0alpha3
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 1
Labels: massupdate, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Selection_160.png    
Issue Links:
Duplicate
is duplicated by ZBX-15724 Mass update of discovered items or tr... Closed

 Description   

In Items or Item prototype Mass update form, when some Type is chosen,
below leave only fields that are valid for that Type.



 Comments   
Comment by Alexander Vladishev [ 2019 Feb 26 ]

Similar problem in trigger mass update form described in ZBX-15724.

Comment by Marcus Schluechter [ 2019 Mar 22 ]

is there an expected date / version, where that ability to mass update lld triggers on single devices will be working ?





[ZBXNEXT-4809] Improve usability of Mass Update feature Created: 2018 Oct 15  Updated: 2018 Nov 01

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 4.2.0alpha1
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Valdis Murzins
Resolution: Unresolved Votes: 3
Labels: massdelete, massreplace, massupdate, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

For the moment mass update works inconsistent for different lists and is not user friendly at all.
For example, in Items mass update Replace Applications: If checkbox is checked and multi-select left empty, submitting such form will remove all applications from all selected items. (All apps will be replaced to empty value). There will be no any success message or alert about you are going to delete applications.

It might be useful to have two fields for replacing - which item replace to what.

Also checkbox "Select all", like "Replace all" to... , "Remove All", etc. might be useful.

In case when we are about to delete some big amount of items Alert message might be shown.

When adding applications we can create new app in the same filed, but when replacing it is not possible.

These features need to be standardized and fetched to consistency, also made more user friendly and predictable.






[ZBXNEXT-4807] Ability to select all filter results not only first page Created: 2018 Oct 12  Updated: 2019 Jun 24

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Vitaly Zhuravlev Assignee: Valdis Murzins
Resolution: Unresolved Votes: 1
Labels: massupdate, pagination
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBXNEXT-4725 Restore "Hosts/Templates" and "Groups... Closed
Sub-task
depends on ZBXNEXT-4825 Monitoring -> Problems: Export to CSV... Closed

 Description   

Currently 'select all' button in Configuration -> hosts or similar only selects objects on the page you view while default is 50 objects per page.

Problem: You have to go through all the pages and select objects there before applying a mass update to all filter results.

 

Suggested solution:

Once 'select all' is clicked there should be an extra option/button that should appear with 'select all filter results' option. By clicking that, all objects on all pages are selected.

Then you can proceed to mass updating objects without any more movement.

 

Case 1: You have 500+ hosts in host group A. You need to move them from one proxy to another.

  • Apply filter to host group A.
  • Click 'select all', then click 'select all filter results'
  • Click mass update. Change proxy.

Case 2:  You have 1000+ items where you want set trends parameter to 2 years.

  • Apply filter in Configuration -> Items.
  • Click 'select all', then click 'select all filter results'
  • Click mass update. Change trends param

Case 3: You want to add additional event tag to 1000+ triggers

  • Apply filter in Configuration -> Triggers.
  • Click 'select all', then click 'select all filter results'
  • Click mass update. Add new tag

Case 4: You want to assign new template to 130 hosts in host group A

  • Apply filter in Configuration -> Hosts to match host group A.
  • Click 'select all', then click 'select all filter results'
  • Click mass update. Assign new template


 Comments   
Comment by Vitaly Zhuravlev [ 2018 Oct 24 ]

Another use case is when exporting problems to CSV - only viewed page of problems is actually exported, not all problems that match filter: ZBXNEXT-4825

Comment by Michael [ 2019 Jun 24 ]

I see no updates on this. As far as I can see there is no way to get a report of issues that happened the last month (as an example) without exporting individual pages. For a few issues no problem. But if you are ICMP monitoring a heap of devices through a proxy and there is a fault.... Takes a bit of time.





[ZBXNEXT-4625] Support mass-update of trigger URL Created: 2018 Jul 03  Updated: 2018 Jul 03

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 3.4.11
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Marc Assignee: Valdis Murzins
Resolution: Unresolved Votes: 1
Labels: massupdate, trigger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

How about supporting bulk updates of URLs in triggers?






[ZBXNEXT-3584] mass update for trigger description/comment Created: 2016 Dec 02  Updated: 2016 Dec 02

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 3.4.0alpha1
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: massupdate, triggermassupdate, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

trigger mass update should allow changing comment/description.

specific usecase - removing an incorrect comment on a large number of triggers.

ZBXNEXT-283 asks for mass update for the event generation option - it might be worth considering all remaining trigger fields at the same time






[ZBXNEXT-3467] mass update for users Created: 2016 Sep 30  Updated: 2016 Sep 30

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 3.2.1
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: massupdate, users
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

in some cases it might be beneficial to mass update users - for example, adding a bunch of users to a specific group (like "disabled), or changing their user level






[ZBXNEXT-3412] Mass update for trigger tags and manual close Created: 2016 Aug 29  Updated: 2016 Sep 13  Resolved: 2016 Sep 04

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 3.2.0

Type: New Feature Request Priority: Major
Reporter: Ivo Kurzemnieks Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: massupdate, triggerprototypes, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Trigger massupdate needs to support the update for tags and manual close.



 Comments   
Comment by Ivo Kurzemnieks [ 2016 Aug 30 ]

(1) Translation strings added:

  • Replace tags

gunarspujats CLOSED

Comment by Ivo Kurzemnieks [ 2016 Aug 30 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBXNEXT-3412

Comment by Natalja Romancaka [ 2016 Aug 31 ]

UI successfully tested

Comment by Gunars Pujats (Inactive) [ 2016 Sep 01 ]

(2) Minor code changes in r62185

iivs CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Sep 01 ]

Successfully tested, but close (2) before merging.

Comment by Ivo Kurzemnieks [ 2016 Sep 02 ]

Implemented in pre-3.2.0beta3 (trunk) r62201

Comment by Martins Valkovskis [ 2016 Sep 02 ]

Documentation updated at https://www.zabbix.com/documentation/3.2/manual/config/triggers/update#using_mass_update

sasha CLOSED





[ZBXNEXT-3407] Zabbix API trigger.update allow array of triggerid not only one triggerid Created: 2016 Aug 26  Updated: 2017 May 31  Resolved: 2016 Dec 15

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Documentation (D)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Adrian Tartareanu Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: API, massupdate, trigger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently trigger.update allows working with only one id at a time without being able to update an array of triggers.
https://www.zabbix.com/documentation/3.2/manual/api/reference/trigger/update

example:

{
    "jsonrpc":  "2.0",
    "method":  "trigger.update",
    "params":  {
                   "triggerid":  [
                                     "100100000048256",
                                     "100100000048257"
                                 ],
                   "status":  1
               },
    "id":  "2",
    "auth":  "266421fd8fcb977e971300b2bfbce6cc"
}

will return invalid parameters while

{
    "jsonrpc":  "2.0",
    "method":  "trigger.update",
    "params":  {
                   "triggerid":  "100100000048256",
                   "status":  1
               },
    "id":  "2",
    "auth":  "266421fd8fcb977e971300b2bfbce6cc"
}

works fine



 Comments   
Comment by Aleksandrs Saveljevs [ 2016 Aug 30 ]

As discussed with iivs, updating multiple triggers in a single API call is already possible like so (by replicating the parameters):

{
    "jsonrpc": "2.0",
    "method": "trigger.update",
    "params":
    [
        {
            "triggerid": "13772",
            "status":  1
        },
        {
            "triggerid": "13773",
            "status":  1
        },
        {
            "triggerid": "13774",
            "status":  1
        }
    ],
    "id": "2",
    "auth": "266421fd8fcb977e971300b2bfbce6cc"
}

For hosts and host groups, there are host.massupdate and hostgroup.massupdate methods, but there is a general trend to move away from them, so trigger.massupdate method is unlikely to be added.

Comment by Adrian Tartareanu [ 2016 Aug 31 ]

it works !
you may want to update the documentation accordingly, adding this example as well, as it's not very intuitive how to build the json when working with multiple ids.

thank you very much.

Comment by Aleksandrs Saveljevs [ 2016 Aug 31 ]

It seems to me like the documentation should be updated, too, because I did not find an example mentioning a similar usage either. The linked page https://www.zabbix.com/documentation/3.2/manual/api/reference/trigger/update says that parameters are either an object or an array, but gives no example as to what it means. The main API page at https://www.zabbix.com/documentation/3.2/manual/api says that "The item.create method as well as other create methods can also accept arrays of objects and create multiple items with one API call", but it only talks about create methods.

Comment by Ivo Kurzemnieks [ 2016 Nov 24 ]

(1) There are so many methods, that adding or replacing examples in all of them, would take very long time. Instead we added examples and information in the gerenal API page here:

Please, review.

sasha CLOSED





[ZBXNEXT-2121] mass update for network discovery rules Created: 2014 Jan 22  Updated: 2014 Jan 22

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 2.2.1
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: massupdate, networkdiscovery
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

support for mass updating network discovery rules could be useful.
primary candidates - delay, proxy, ip range
maybe also uniqueness criteria






[ZBXNEXT-2023] mass update for templates Created: 2013 Nov 15  Updated: 2013 Nov 15

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 2.2.0
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

mass update should be available for templates, too - my primary usecase being group membership changing






[ZBXNEXT-1832] Reset/Sync an inherited element back to configuration of parent element Created: 2013 Jul 22  Updated: 2014 Jul 04

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 2.0.6
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Marc Assignee: Unassigned
Resolution: Unresolved Votes: 7
Labels: configuration, items, links, massupdate, synchronization, triggers, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It would be really nice to have the possibility of (mass-)resetting inherited/linked elements back to the parent configuration.



 Comments   
Comment by Steve mushero [ 2013 Aug 23 ]

I think this happens if you change the parent (Template) item at all, at least if you touch that value, for example if you change the interval time, it will change all children. Is that what you mean ?

Problem is that often you may have changed other things like retention or various things so have to decide if you want to change all parameters or just one, etc.

Comment by Marc [ 2013 Aug 23 ]

If one changes the parent (Template) item it propagates the changed attribute to all children (Templates/Hosts).

Think about a host/template that has elements inherited by another template.
The aim of this ticket is to allow attributes of multiple inherited elements within that host/template being reset/synced to/from the parent template.

This would allow resetting inherited elements of a specific host/template to their defaults in a bulk, regardless where or from how many templates these elements are coming from.





[ZBXNEXT-1451] mass update for low level discovery rules Created: 2012 Oct 04  Updated: 2014 Jul 01

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A), Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 22
Labels: lld, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

would be nice to get mass update for lld rules themselves. it could include item type, update interval, retention period, snmp community/port



 Comments   
Comment by richlv [ 2014 Jul 01 ]

item prototype mass update is ZBXNEXT-1190





[ZBXNEXT-1366] Add hosts to network maps via Mass update Created: 2012 Aug 20  Updated: 2018 Sep 28

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Sergey Syreskin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: frontend, gui, maps, massupdate, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File HostsMassUpdateAddToMap_zabbix3.4.14.PatchFile    

 Description   

Adding lots of similar hosts to a network map, creating links and binding triggers to links is a quite boring task.
It would be very convenient to perform these tasks with the power of mass update.

For example, a user goes to Configuration -> Hosts, selects hosts, that should be added to a network map.
Then in Mass update, among all the options, a user will see a new option: "Add to a network map..."
After specifying a map, another new option becomes available: "Create a link with...", so that a user could
choose a map element to link with the selected elements.
Than, if a user selected a map element to create links with, another new option becomes available:
"Add triggers to links", that shows a list of templated triggers, that exist for all of the selected hosts. If the
selected hosts have no common triggers, the list of triggers would be empty.



 Comments   
Comment by Alexei Vladishev [ 2012 Oct 10 ]

A better approach would be to have "Add hosts" button or a link in the map configuration form.

Comment by Volker Fröhlich [ 2013 Aug 05 ]

Somewhat connected to ZBXNEXT-163

Comment by Marvin Frederickson [ 2018 Sep 28 ]

We too had a need for adding multiple hosts to a map. Attached is a patch to do so.  There's a new "Map" tab under Mass Update.  When you choose to link to map, you can then select an editable map, specify a default icon for the hosts, and select the existing element in the map that you want the new hosts linked to.  You can apply the patch by going into your /usr/share/zabbix directory and running the following.

patch -p0 <HostsMassUpdateAddToMap_zabbix3.4.14.PatchFile

Constructive feedback is welcome.HostsMassUpdateAddToMap_zabbix3.4.14.PatchFile





[ZBXNEXT-1190] Mass Update of lld Item Prototypes Created: 2012 Apr 19  Updated: 2024 Apr 10  Resolved: 2019 Jan 20

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 2.0.0
Fix Version/s: 4.2.0alpha3, 4.2 (plan)

Type: New Feature Request Priority: Minor
Reporter: Simon Kowallik Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 33
Labels: lld, massupdate, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Zabbix server v2.0.0rc3 (revision 26929) (22 March 2012)


Issue Links:
Duplicate
duplicates ZBX-13516 [UI] No "mass update" button in Templ... Closed
is duplicated by ZBXNEXT-3530 Please provide mass update on discove... Closed
is duplicated by ZBX-10495 Mass Update in LLD Closed
Sub-task
Team: Team B
Sprint: Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019
Story Points: 5

 Description   

It is currently not possible to Mass update prototype items. A Mass update of prototype triggers however is possible.



 Comments   
Comment by richlv [ 2014 Jul 01 ]

lld rule mass update is ZBXNEXT-1451

Comment by Erhan ERTUL [ 2018 Nov 15 ]

I have 3 different complete net device template set and they have their own snmp v3 credentials. I need to update every single of item prototypes for each template. This is just so harmful. Why don't we have mass update on item prototype? Version is 4.0

Comment by Ivo Kurzemnieks [ 2019 Jan 02 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBXNEXT-1190

Comment by Ivo Kurzemnieks [ 2019 Jan 11 ]

Implemented in pre-4.2.0alpha3 (trunk) r88516

Comment by Alexander Vladishev [ 2019 Jan 20 ]

Updated documentation:





[ZBXNEXT-796] support regular expressions and substitutions in mass update Created: 2011 May 27  Updated: 2012 Oct 22

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Aleksandrs Saveljevs Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Suppose you have created a bunch of net.dns[] items. Then you noticed that you actually wanted to have net.dns.record[] items. Instead of clicking through each item and correcting the keys manually, it would be nice to do a mass update of item keys with "s/net.dns/net.dns.record/".






[ZBXNEXT-709] ability to "mass update" item key Created: 2011 Mar 18  Updated: 2012 Oct 14

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: richlv Assignee: Alexei Vladishev
Resolution: Unresolved Votes: 1
Labels: flexibility, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

it should be possible to mass update item key as well.

rationale - updating it on multiple hosts/templates, especially if using various macros



 Comments   
Comment by Oleksii Zagorskyi [ 2011 Mar 27 ]

And possibility to update "Description" will be useful too.
I was faced with the need for this today.
Rationale - the same as for items key.





[ZBXNEXT-617] Mass Update of Macros on Hosts Created: 2011 Jan 13  Updated: 2024 Apr 10  Resolved: 2020 Mar 16

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 5.0.0alpha3, 5.0 (plan)

Type: Change Request Priority: Trivial
Reporter: Blake Burgess Assignee: Roberts Lataria (Inactive)
Resolution: Fixed Votes: 50
Labels: macros, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot from 2020-03-05 17-38-49.png     PNG File Screenshot from 2020-03-05 17-41-59.png     GIF File template_update_API.gif     GIF File vanished_value.gif    
Issue Links:
Causes
causes ZBX-17425 template.massupdate API doesn't add t... Closed
Duplicate
is duplicated by ZBXNEXT-3605 Easier macro multi-hosts update Closed
Team: Team D
Sprint: Sprint 61 (Feb 2020), Sprint 62 (Mar 2020)
Story Points: 2

 Description   

Hey,

It'd be handy to have the ability to mass assign/update macros on hosts.

Thanks



 Comments   
Comment by richlv [ 2012 Oct 12 ]

ideally we could see on which hosts macros might have the exact same contents while performing the mass update

Comment by Edward Snow [ 2016 Feb 10 ]

Agreed - this would be very handy

Comment by Vide [ 2016 Dec 14 ]

+1. Another option would be (and I think it's even handier) to be possible to assign macros to Hostgroups (I tend to group hosts with same capabilities/roles)

Comment by Roman Rajniak [ 2018 Apr 10 ]

Setting macros using Hostgroups? Good idea and also with: Theese macros also should set level of insertion in hierarchy Global, , Template, , Host , - to replace prev. level of stored macro value (Set/Replace macro in level).

Comment by Marco Hofmann [ 2018 Jul 05 ]

Just tried to set a Macro on several Hosts at once, and wondered why this isn't available via "Mass Update". So I stumbled upon this ZBXNEXT and wanted ti give this a +1

Comment by Sébastien Blaisot [ 2019 Jul 21 ]

+1 too

Comment by Hernandes Martins [ 2019 Oct 28 ]

+1

Comment by Alexei Vladishev [ 2020 Jan 24 ]

I've got good news for all of us! This functionality will be implemented very soon in Zabbix 5.0. It will cover all typical use cases like adding, updating, removing macros, also replacing all existing macros with a new set for selected list of hosts or templates. Thanks for your patience.

Comment by patrik uytterhoeven [ 2020 Jan 24 ]

Awesome !

thx

 

any chance we will see macros on host groups in 5.0 or in the future ?

Comment by Hernandes Martins [ 2020 Jan 24 ]

Great!

Comment by Roberts Lataria (Inactive) [ 2020 Feb 24 ]

Resolved in development branch feature/ZBXNEXT-617-4.5.

Comment by Roberts Lataria (Inactive) [ 2020 Mar 11 ]

Available in:

Comment by Marina Generalova (Inactive) [ 2020 Mar 13 ]

Documentation updated:

 





[ZBXNEXT-283] Add ability to mass update "Event Generation" on multiple triggers Created: 2010 Mar 30  Updated: 2016 Dec 02

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 1.8.2
Fix Version/s: None

Type: New Feature Request Priority: Major
Reporter: Paul S Assignee: Alexei Vladishev
Resolution: Unresolved Votes: 2
Labels: massupdate, triggers, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBXNEXT-2477 Trigger massupdate multiple PROBLEM e... Closed

 Comments   
Comment by richlv [ 2016 Dec 02 ]

ZBXNEXT-3584 asks for trigger comment/description massupdate





[ZBX-23823] Cannot remove host or template macros with context, unless fully matching the syntax. Created: 2023 Dec 12  Updated: 2024 Apr 17

Status: READY TO DEVELOP
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 7.0.0alpha9
Fix Version/s: 7.0.0rc1 (master), 7.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Janis Freibergs Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: macrocontext, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBXNEXT-6998 Implement audit for API host READY TO DEVELOP
Team: Team C
Sprint: Technical backlog, Sprint 107 (Dec 2023), S2401

 Description   

Documenation states:
The following macros are all equivalent, because they have the same context: {$MACRO:A}, {$MACRO: A} and {$MACRO:"A"}.

However this is not fully taken into account when trying to mass-remove matching macros from hosts or templates via mass update.

Steps to reproduce:

  • Add {$MACRO:"abc"} to some host or template, {$MACRO: abc} for another.
  • From the list, mark the hosts and click on "Mass update".
  • Enter {$MACRO:abc} to be removed, click "Update".

Result:
Macros were not removed.

Expected:
Macros removed, no matter the saved or entered context syntax variation.






[ZBX-23593] Mass update item type - missed functionality Created: 2023 Oct 23  Updated: 2024 Apr 10  Resolved: 2023 Dec 05

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.39rc1, 6.0.23rc1, 6.4.8rc1, 7.0.0alpha7
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Maklakovs Assignee: Zabbix Development Team
Resolution: Won't fix Votes: 0
Labels: OID, massupdate, oid, snmp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File snmp_oid_error.png    
Team: Team A
Sprint: Sprint 105 (Oct 2023), Sprint 107 (Dec 2023)

 Description   

We can't update item to SNMP agent using Mass update option. It is always shows error - "Invalid parameter "/1/snmp_oid": cannot be empty."
But "snmp_oid" option is not available. So, we have SNMP agent in type list, but can't change it.

Steps to reproduce:
1) Create item with type - Zabbix agent.
2) Navigate to items list.
3) check in created item and press Mass update button.
4) Change Type parameter to SNMP agent.
5) Press Update.

Result:

Expected:
1) SNMP OID parameter exists.
or
2) SNMP agent removed from type list.

UPD: Same goes for
1) "Database monitor" item type.
We can't mass update to Database monitor, error appears like:
"Invalid parameter "/1/params": cannot be empty.". And also this parameter doesn't exists in mass update form.
2) SSH agent.
Error message - "Invalid parameter "/1/params": cannot be empty.".
3) TELNET.
Error message - "Invalid parameter "/1/params": cannot be empty.".
4) Calculated.
Error message - "Invalid parameter "/1/params": cannot be empty.".
5) IPMI agent.
Error message - "Invalid parameter "/1/ipmi_sensor": cannot be empty.".

We have all this items Types in mass update list, but technically we can't change them because of missed parameters.






[ZBX-23467] No title for error message after timeout mass update Created: 2023 Sep 26  Updated: 2023 Nov 21  Resolved: 2023 Nov 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 7.0.0alpha5
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Maklakovs Assignee: Zabbix Development Team
Resolution: Won't fix Votes: 0
Labels: details, error, errormessage, item, massupdate, timeout
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File action-condition.png     PNG File correct_title.png     PNG File host-massupdate.png     PNG File host-update.png     PNG File item-copy-failed.png     PNG File item-copy.png     PNG File lld-override.png     PNG File no_title_error_timeout.png     PNG File screenshot-1.png     PNG File trigger-massupdate.png    
Sprint: Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)

 Description   

Steps to reproduce:
1) Create Host.
2) Create item.
3) Navigate to Item list page.
4) Check in created item and press Mass update.
5) Choose timeout , click Override and press Update.

Result:
Error message doesn't has any title.

Expected:
"Cannot update item" title exists.

How it looks like in 6.0 for script items:



 Comments   
Comment by Dace Petra [ 2023 Oct 17 ]

Fixed in development branch feature/ZBX-23467-6.5

Comment by Alexander Vladishev [ 2023 Nov 16 ]

Will be fixed in scope of ZBXNEXT-7410.





[ZBX-23399] Console error: "TypeError: element.focus is not a function" is appearing in Mass update -> Macros / Value Mapping - Remove all Created: 2023 Sep 12  Updated: 2024 Apr 10  Resolved: 2023 Nov 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.4.6, 7.0.0alpha4, 7.0.0alpha5, 7.0 (plan)
Fix Version/s: 6.4.9rc1, 7.0.0alpha8, 7.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Nikita Gogolevs Assignee: Andrejs Griščenko
Resolution: Fixed Votes: 0
Labels: error, macros, massupdate, remove, valuemapping
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File console-error-mass-update.gif    
Team: Team A
Sprint: Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Open Data collection -> Hosts
  2. Check the checkbox for any host
  3. Click Mass update -> Value mapping/ Macros
  4. Select Remove all, but leave the confirmation checkbox unchecked
  5. Click Update
  6. Accept the notification pop-up

Result:
The console error is appearing:

jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:18450 Uncaught TypeError: element.focus is not a function
    at removeFromOverlaysStack (jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:18450:12)
    at overlayDialogueDestroy (jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:25435:3)
    at Overlay.<anonymous> (jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:20817:5)
    at HTMLButtonElement.dispatch (jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:5432:27)
    at elemData.handle (jsLoader.php?lang=en_US&ver=7.0.0alpha5&showGuiMessaging=1:5236:28)

See video:

Expected:
No console errors should appear



 Comments   
Comment by Andrejs Griščenko [ 2023 Oct 04 ]

Resolved in development branch feature/ZBX-23399-6.4.

Comment by Andrejs Griščenko [ 2023 Nov 03 ]

Fixed in:





[ZBX-22982] Preprocessing name text not fully visible in select list in mass update form Created: 2023 Jun 16  Updated: 2023 Jun 22  Resolved: 2023 Jun 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.0.19rc1, 6.4.4rc1, 7.0.0alpha2
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: dropdown, massupdate, preprocessing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-06-16-11-47-46-144.png    
Issue Links:
Duplicate
is duplicated by ZBX-22983 Ellipsed dropdown options Closed

 Description   

Steps to reproduce:

  1. Select item and open mass update form
  2. Select tab "Preprocessing" and add preprocessing step
  3. Check "Validation" preprocessing steps in select list

Result:
select options not fully visible, you can't at once understand which one you need

Expected:
select options visible



 Comments   
Comment by Alexander Vladishev [ 2023 Jun 22 ]

Closed as duplicate of ZBX-22983.





[ZBX-22977] Wrong checkbox selection area in mass update form Created: 2023 Jun 16  Updated: 2024 Apr 10  Resolved: 2023 Oct 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.0.19rc1, 6.4.4rc1, 7.0.0alpha2
Fix Version/s: 6.0.23rc1, 6.4.8rc1, 7.0.0alpha7, 7.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Dmitrijs Fofanovs
Resolution: Fixed Votes: 0
Labels: checkbox, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-06-16-10-26-04-348.png     PNG File image-2023-10-11-11-58-45-204.png    
Team: Team A
Sprint: Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)
Story Points: 0.5

 Description   

Steps to reproduce:

  1. Open mass update form (for example Item mass update form)
  2. Select "Preprocessing" tab
  3. Select "Preprocessing steps"
  4. Click on the letter A in word Add

Result:
"Preprocessing steps" not selected due to wrong checkbox selection area

Expected:
Preprocessing step added, checkbox selection area should be on checkbox (or checkbox label)



 Comments   
Comment by Dmitrijs Fofanovs [ 2023 Oct 02 ]

Resolved in dev branch: feature/ZBX-22977-6.0

Comment by Dmitrijs Fofanovs [ 2023 Oct 12 ]

Fixed in:





[ZBX-22780] Error appears if template is linked through mass update with circular linkage Created: 2023 May 09  Updated: 2024 Apr 10  Resolved: 2023 May 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.34
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Kirils Seve Assignee: Kirils Seve
Resolution: Won't fix Votes: 0
Labels: linking, massupdate, runtimeerror, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-05-09-12-22-14-875.png     GIF File infinite_loop.gif    
Team: Team B

 Description   

Precondition: Only Zabbix 5.0 version

Steps to reproduce:

  • Create 3 templates e.g. test1, test2, test3
  • Select e.g. test3 template and open mass update options
  • Try to link template test1, test2 and test3 to template test3

Result: Blank page and no validation error.
Error in logs:

Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames in /home/zabbix/workspace/5.0/ui/include/classes/api/services/CHostBase.php:211
Stack trace:
#0 /home/zabbix/workspace/5.0/ui/include/classes/api/services/CHostBase.php(218): CHostBase::checkTemplateCircularLinkage()
#1 /home/zabbix/workspace/5.0/ui/include/classes/api/services/CHostBase.php(218): 
...
241 /home/zabbix/workspace/5.0/ui/include/classes/api/services/CHostBase.php(218): CHostBase::checkTemplateCircularLinkage()
#242 /home/zabbix/workspace/5.0/ui/include/classes/api/services/CHostBase.php(262): CHostBase::checkTemplateCircularLinkage()
#243 /home/zabbix/workspace/5.0/ui/include/classes/api/services/CHostBase.php(140): CHostBase::checkCircularLinkage()
#244 /home/zabbix/workspace/5.0/ui/include/classes/api/services/CHostGeneral.php(178): CHostBase->link()
#245 /home/zabbix/workspace/5.0/ui/include/classes/api/services/CHostGeneral.php(98): CHostGeneral->link()
#246 /home/zabbix/workspace/5.0/ui/include/classes/api/services/CTemplate.php(873): CHostGeneral->massAdd()
#247 /home/zabbix/workspace/5.0/ui/include/classes/api/services/CTemplate.php(1011): CTemplate->massAdd()
#248 /home/zabbix/workspace/5.0/ui/include/classes/api/services/CTemplate.php(587): CTemplate->massUpdate()
#249 /home/zabbix/workspace/5.0/ui/include/classes/api/clients/CLocalApiClient.php(113): CTemplate->update()
#250 /home/zabbix/workspace/5.0/ui/include/classes/api/wrappers/CFrontendApiWrapper.php(97): CLocalApiClient->callMethod()
#251 /home/zabbix/workspace/5.0/ui/include/classes/api/wrappers/CApiWrapper.php(94): CFrontendApiWrapper->callClientMethod()
#252 /home/zabbix/workspace/5.0/ui/include/classes/api/wrappers/CFrontendApiWrapper.php(63): CApiWrapper->callMethod()
#253 /home/zabbix/workspace/5.0/ui/include/classes/api/wrappers/CApiWrapper.php(82): CFrontendApiWrapper->callMethod()
#254 /home/zabbix/workspace/5.0/ui/templates.php(460): CApiWrapper->__call()
#255 {main}

See video attachment:

Expected: Validation error "Circular template linkage is not allowed." should appear.



 Comments   
Comment by Alexander Vladishev [ 2023 May 09 ]

Already fixed in version 6.0 in scope of ZBXNEXT-6867.





[ZBX-22685] Error message details are not expanded by default when template is edited via mass update Created: 2023 Apr 17  Updated: 2024 Apr 10  Resolved: 2023 Sep 01

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.0.17rc1
Fix Version/s: 6.0.22rc1, 7.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Kirils Seve Assignee: Eliza Sekace
Resolution: Fixed Votes: 0
Labels: errormessage, massupdate, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-04-17-11-40-32-429.png     PNG File image-2023-04-17-11-42-22-112.png    
Team: Team B
Sprint: Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023)
Story Points: 0.5

 Description   

Precondition: only Zabbix 6.0

Steps to reproduce:

  • Create a template e.g. test1
  • Select template test1 and press the 'Mass update' button
  • Link template test1 and press update

Result: Error message details are collapsed by default.

Expected: Error message details should be expanded by default.



 Comments   
Comment by Eliza Sekace [ 2023 Aug 28 ]

Fixed in development branch feature/ZBX-22685-6.0

Comment by Eliza Sekace [ 2023 Aug 31 ]

Fixed in 6.0.22rc1 71f8c176815





[ZBX-22272] Checkbox not selected when clicking on label in problem mass update Created: 2023 Jan 27  Updated: 2024 Apr 10  Resolved: 2023 Apr 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.4.0rc1
Fix Version/s: 6.4.2rc1, 7.0.0alpha1, 7.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Dace Petra
Resolution: Fixed Votes: 0
Labels: event, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File labels.gif    
Team: Team B
Sprint: Sprint 98 (Mar 2023), Sprint 99 (Apr 2023)
Story Points: 0.125

 Description   

Steps to reproduce:

  1. Go to Monitoring -> Problems
  2. Select problems and open mass update form
  3. Click on field labels except "Message" and "Close problem"

Result:
checkbox is not selected

Expected:
checkbox selected



 Comments   
Comment by Dace Petra [ 2023 Mar 31 ]

Fixed in development branch feature/ZBX-22272-6.4

Comment by Dace Petra [ 2023 Apr 04 ]

Fixed in:





[ZBX-22023] Checkboxes remain checked after mass update action execution for items, triggers and their prototypes Created: 2022 Dec 02  Updated: 2022 Dec 07

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.0.12rc2, 6.2.6rc2, 6.4.0beta5
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: items, massupdate, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Technical backlog

 Description   

Problem description: If a Mass update is executed for items, item prototypes, triggers or trigger prototypes, then the checkboxes in the list of these entities remain checked after the mass update operation is performed.

Steps to reproduce:

  1. Open the list of items for any host that has multiple items
  2. Check several items
  3. Press "Mass update" button
  4. In the opened dialog select "Desciption" checkbox and enter any value in the input element.
  5. Submit the Mass update dialog

Result: the previously selected checkboxes are still set to true
Expected: after Mass update execution the previously selected checkboxes should be unset.






[ZBX-21904] Adding value mappings through mass update from other templates on templates is broken Created: 2022 Nov 10  Updated: 2024 Apr 10  Resolved: 2023 Jan 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.2.4
Fix Version/s: 6.2.7rc1, 6.4.0beta5, 6.4 (plan)

Type: Problem report Priority: Major
Reporter: Nathan Liefting Assignee: Andrejs Griščenko
Resolution: Fixed Votes: 2
Labels: massupdate, template, valuemapping
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-11-10-13-37-26-483.png     PNG File image-2022-11-10-13-38-06-369.png     PNG File image-2022-11-14-08-55-16-351.png     PNG File screenshot-1.png     File value_mapping_zbx.yaml     File zbx_export_templates-15.yaml    
Issue Links:
Causes
caused by ZBXNEXT-2592 Add "Template groups", so templates c... Closed
Sub-task
Team: Team B
Sprint: Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023)
Story Points: 1

 Description   

Hi Zabbix devs!

In Zabbix 6.0 we can use Mass update | Value mapping  and then Add from to add value mappings to a template from other templates:

 

In Zabbix 6.2 this functionality is broken because of the added Template groups and the removal of Host groups for templates:

The new Template groups simply do not show up at all in Mass update.

 

If you ask me this is a Major issue, as with the removal of global value mappings, updating template their value mappings with values from other templates in Zabbix 6.2 is now completely umanagable. 



 Comments   
Comment by Edgar Akhmetshin [ 2022 Nov 11 ]

Hello Nathan,

Thank you for reporting the issue. Reproduced same behaviour, also attached just test template which can be added to test the same, 6.2+ doesn't allow template groups, host group is showing.

Regards,
Edgar

Comment by Nathan Liefting [ 2022 Nov 11 ]

Hi Edgar,

Good to see I'm not going crazy and you were able to reproduce  

Just as note: I think we should be able to add valuemappings on templates from both host and template groups as well as add valuemappings on hosts from both host and template groups. Otherwise it would be quite limiting still.

*Would a copy button on the Value mapping page not be more useful + solve this issue?

Comment by dimir [ 2022 Nov 11 ]

Caused by ZBXNEXT-2592

Comment by Elina Pulke [ 2022 Nov 14 ]

I would suggest to fix it similarly as in Configuration → Templates → Triggers → Edit/Create Trigger → Dependencies.

The button link element would be changed from "Add from" to "Add from host" and one more new element would be added with "Add from template".

New multiselect would be introduced with "popup_type" - "template_valuemap".

Comment by Nathan Liefting [ 2022 Nov 17 ]

@Elina That works! Great suggestion

Comment by Andrejs Griščenko [ 2022 Dec 06 ]

Resolved in development branch feature/ZBX-21904-6.2.

Comment by Andrejs Griščenko [ 2022 Dec 13 ]

Fixed in:

Comment by Martins Valkovskis [ 2023 Jan 24 ]

The documentation for template mass update has been updated in 6.2 and 6.4.





[ZBX-20782] Non unique ids browser console errors are observed when executing Mass update action Created: 2022 Mar 23  Updated: 2024 Apr 10  Resolved: 2022 Apr 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.12rc1, 6.0.3rc1, 6.2.0alpha1
Fix Version/s: 6.0.4rc1, 6.2.0alpha1, 6.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Roberts Lataria (Inactive)
Resolution: Fixed Votes: 0
Labels: browsererror, ids, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
causes ZBX-20947 Hosts are not exported to file Closed
Team: Team A
Sprint: Sprint 86 (Mar 2022), Sprint 87 (Apr 2022)
Story Points: 0.5

 Description   

The following errors are observer in the lists of hosts, items, triggers, item prototypes and trigger prototypes when attempting to execute Mass update action:

  1. [DOM] Found 2 elements with non-unique id #ids_99131: (More info: https://goo.gl/9p2vKq) <input type=​"checkbox" id=​"ids_99131" name=​"ids[99131]​" value=​"99131" class=​"checkbox-radio">​
  2. [DOM] Found 2 elements with non-unique id #context: (More info: https://goo.gl/9p2vKq) <input type=​"hidden" id=​"context" name=​"context" value=​"host">​

Steps to reproduce:

  1. Open the list of hosts, items, triggers, trigger prototypes or item prototypes
  2. Set the select all checkbox to true
  3. Press "Mass update" button
  4. Check browser console

Result: browser console contains the above mentioned "non-unique ids" errors
Expected: all IDs on page should be unique, there should be no such browser errors visible.



 Comments   
Comment by Reinis Detlavs (Inactive) [ 2022 Apr 04 ]

Resolved in development branch feature/ZBX-20782-6.1.

Comment by Reinis Detlavs (Inactive) [ 2022 Apr 12 ]

Fixed in:





[ZBX-20364] Discard with heartbeat seconds field is optional with an error on update: Cant do something. Created: 2021 Dec 16  Updated: 2021 Dec 16

Status: Confirmed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.19rc1, 5.4.9rc1, 6.0.0beta1
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Edgar Akhmetshin Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: discard, frontend, heartbeat, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2021-12-16 at 10.47.20.png    

 Description   

Steps to reproduce:






[ZBX-20261] Unlink and clear option in Template mass update replaces all existing templates with the chosen one Created: 2021 Nov 23  Updated: 2021 Nov 23

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 5.4.8rc1, 6.0.0beta1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: massupdate, templatelinking
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Sub-task
depends on ZBXNEXT-7070 Templates and Linked templates tabs s... Closed

 Description   

Problem description: When attempting to unlink and clear a template using the Template mass update action, the template that is chosen in the "Linked templates" replaces all existing templates for templates that were selected for the mass update action (Works same as replace operation).
 
Steps to reproduce:

  1. Open the list of templates
  2. Link some template to one of the templates
  3. Select a couple of templates, including the one with the linked template, and press Mass update button
  4. In the opened dialogue go to "Linked templates tab" and select the linked template from step 2 in the multiselect
  5. Set "Unlink and clear" checkbox and choose "Unlink" in the redio-button
  6. Press update
  7. Check configuration of the previously selected templates

Result: the template that was supposed to be unlinked is now preset under all templates selected for the Mass update action (it replaced all linked templates)
Expected: The template should've been unlinked and its items should've been removed.






[ZBX-20007] The gap between the window header and the tabs in popup Created: 2021 Sep 22  Updated: 2024 Apr 10  Resolved: 2022 Jan 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.5rc1, 6.0.0alpha4
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Andrejs Zazuks Assignee: Zabbix Development Team
Resolution: Fixed Votes: 1
Labels: massupdate, popup, tabs
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File The_gap_mass.gif    
Team: Team A
Sprint: Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022)
Story Points: 0.25

 Description   

There is a gap between the window header and the row of tabs in the popup window.

 

Steps to reproduce:

  1. Find a Host with a lot of items (like default Zabbix server)
  2. Go to Items of the Host
  3. Select all the Items
  4. Press Mass update button (scrollbar should appear in the popup)
  5. Scroll down the list

Result:

The gap is present between the window header and the row of tabs: The_gap_mass.gif.

Expected:
No gap between.



 Comments   
Comment by Alexander Vladishev [ 2022 Jan 18 ]

Will be fixed as part of ZBX-20428.





[ZBX-19899] Mass update processes only checked entries on current page Created: 2021 Sep 01  Updated: 2024 Apr 10  Resolved: 2021 Oct 07

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.4
Fix Version/s: 5.0.17rc1, 5.4.6rc1, 6.0.0alpha4, 6.0 (plan)

Type: Problem report Priority: Minor
Reporter: Valdis Murzins Assignee: Janis Freibergs
Resolution: Fixed Votes: 1
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBXNEXT-6293 Replace import page(s) with popup win... Closed
Team: Team A
Sprint: Sprint 80 (Sep 2021), Sprint 81 (Oct 2021)
Story Points: 0.125

 Description   

Steps to reproduce:

  1. Go to any page with mass update, for example - Configuration->Hosts.
  2. Select one or more entries.
  3. Go to next page in paginator.
  4. Observe: it is written, that "one or more" entries are selected and action buttons under the list are enabled.
  5. Press "Mass update"

Result: Popup with error message "Field "ids" is mandatory.".
Expected: Popup with mass update form that, when submitted, will update selected entries from all pages.



 Comments   
Comment by Janis Freibergs [ 2021 Sep 02 ]

Fixed in development branches:

Comment by Janis Freibergs [ 2021 Oct 01 ]

Fixed in:





[ZBX-19464] Wrong link in trigger massupdate popup dependencies tab Created: 2021 May 26  Updated: 2024 Apr 10

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.0, 6.0.0alpha1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Ivo Kurzemnieks Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: context, link, massupdate, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team B

 Description   

1. Create a host or template with two triggers;
2. open one trigger using massupdate;
3. go to "Dependencies" tab;
4. Choose the other trigger and add it to list;
5. Now click the dependent trigger link;

Result: User is navigated to trigger list without context parameter thus getting the error:
"Field "context" is mandatory."






[ZBX-19414] Mass update for tags in item prototypes does not work Created: 2021 May 20  Updated: 2021 Jul 06  Resolved: 2021 Jul 06

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 5.4.0
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Brian van Baekel Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 2
Labels: massupdate, tags
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File example-issue.png     File tag mass update.mov    
Issue Links:
Duplicate
duplicates ZBX-19446 Mass update of item prototypes is broken Closed

 Description   

Create a LLD rule, item prototypes on it and try to add tags using mass update (intention was to create an Application prototype).

 

Error message: Cannot update item protoypes.

Enabling debug is not giving any extra information.

 

Attached the screen recording.



 Comments   
Comment by richlv [ 2021 Jul 01 ]

Even though this is a more recent issue, perhaps marking this as a duplicate of ZBX-19446 is a good idea.





[ZBX-19408] Mass update of value mapping name to existing one, changes value mapping mappings Created: 2021 May 19  Updated: 2021 May 19

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.0, 6.0.0alpha1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Rolands Kalinins (Inactive) Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 1
Labels: massupdate, valuemapping
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File value_mapping_mass_update_bug.gif    

 Description   

When you try to do mass update for value mappings for host and update name to existing one, name is still the same, but mappings of the existing value mapping get changed even though they shouldn't have been updated.

Steps to reproduce:

  1. Create two value mappings for host with different mappings
  2. From host list, check the checkbox of your host and press Mass update button
  3. Go to Value mapping tab and choose update option
  4. Press Add from link and choose any existing value mapping
  5. Change its name so that it would coincide with the name of the other value mapping
  6. Save

Expected result: Value mapping name and mappings of existing value mapping should not change
Actual result: Existing value mapping mappings are changed






[ZBX-19289] Item prototype mass update: infinite loading popup is shown trying to update application prototypes Created: 2021 Apr 26  Updated: 2024 Apr 10

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 5.0.10, 5.2.6
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Vladimirs Maksimovs Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: applications, itemprototype, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2021-04-26-13-37-27-245.png    
Team: Team D
Story Points: 0.125

 Description   

Steps to reproduce:

  1. Navigate to Configuration -> Hosts.
  2. Click on "Discovery" link for one of the hosts presented in the list.
  3. Click on "Create discover rule" and create the LLD rule with any settings.
  4. After create, in appeared list of LLD rules, click on "Item prototypes" link for the created LLD rule.
  5. Click on "Create item prototype" and create item prototype without applications.
  6. After create, in appeared list of item prototypes set check mark for your created Item prototype and press "Mass update" button.
  7. Set check for the point "Application prototypes".
  8. In appeared interface press on "Select" button.

Result:
See screenshot:

See console of your web browser: 500 HTTP error occurs.
See error message in web server's log file: "Undefined variable $records..".
Expected:
Popup with empty application prototypes list is displayed.






[ZBX-19263] Adding equal tags and values in mass update doesn't cause error message. Created: 2021 Apr 19  Updated: 2022 Sep 29

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.11rc1, 5.2.7rc1, 5.4.0beta3
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: massupdate, tags
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:

  1. Select two triggers (or items if it is Zabbix 5.4)
  2. Click Mass update
  3. Click Tags tab
  4. Add two equal tags with equal values and press Update

Result: Triggers are updated, but only one tag added.
Expected: Error message "Invalid parameter "/1/tags/2": value (tag, value)=(tag, value) already exists." as it appears on simple creation of item or trigger with equal tags

This is actual for Zabbix versions 5.0 and higher.






[ZBX-19262] Tags trailing spaces are not trimmed in mass update Created: 2021 Apr 19  Updated: 2024 Apr 10  Resolved: 2021 Jun 14

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.0beta3
Fix Version/s: 5.4.2rc1, 6.0.0alpha1, 6.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Miks Kronkalns
Resolution: Fixed Votes: 0
Labels: massupdate, spaces, tags, trailingspaces
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBXNEXT-6294 Replace all mass-update pages with po... Closed
Team: Team B
Sprint: Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021)
Story Points: 0.125

 Description   

Steps to reproduce:

  1. select some items or triggers
  2. click Mass update
  3. select Tags tab
  4. add or update tag:
     "          tag             " : "           value          "
  5. Press Update

Result: go to updated item form and check that tag added with all spaces
Expected result: trailing spaces should be trimmed as it is done on simple item create or update



 Comments   
Comment by Miks Kronkalns [ 2021 May 25 ]

Fixed in development branches feature/ZBX-19262-5.4

Comment by Miks Kronkalns [ 2021 Jun 10 ]

Fixed in:





[ZBX-19257] Mass update causes browser errors Created: 2021 Apr 16  Updated: 2024 Apr 10  Resolved: 2022 Dec 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.0beta3
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 1
Labels: browsererror, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png     PNG File screenshot-2.png     PNG File screenshot-3.png     PNG File screenshot-4.png     PNG File screenshot-5.png     PNG File screenshot-6.png    
Issue Links:
Causes
caused by ZBXNEXT-6294 Replace all mass-update pages with po... Closed
Duplicate
is duplicated by ZBX-19879 Duplicate ID in Monitoring->Services Closed
Sub-task
part of ZBXNEXT-6757 Ability to create hosts from Monitoring Closed
Team: Team B
Sprint: Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)

 Description   
  1. Open browser console
  2. Open Zabbix UI and choose two hosts, or items, or templates etc.
  3. Press Mass Update button
  4. See errors in browser console:
[DOM] Found 2 elements with non-unique id #form_refresh: (More info: https://goo.gl/9p2vKq) 
<input type="hidden" id="form_refresh" name="form_refresh" value="1">
<input type="hidden" id="form_refresh" name="form_refresh" value="1">


 Comments   
Comment by Janis Freibergs [ 2021 Aug 24 ]

Fixed in development branches:

Comment by Valdis Murzins [ 2022 Dec 20 ]

This issue was fixed in scope of ZBXNEXT-6757 (50).
I am closing this issue as Fixed.





[ZBX-19255] Mass update of HTTP agent items Headers works incorrectly Created: 2021 Apr 15  Updated: 2024 Apr 10  Resolved: 2021 Jun 14

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.0beta3
Fix Version/s: 5.4.2rc1, 6.0.0alpha1, 6.0 (plan)

Type: Problem report Priority: Minor
Reporter: Larisa Grigorjeva Assignee: Miks Kronkalns
Resolution: Fixed Votes: 0
Labels: headers, massupdate, sshagent
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png     PNG File screenshot-2.png    
Issue Links:
Causes
caused by ZBXNEXT-6294 Replace all mass-update pages with po... Closed
Team: Team B
Sprint: Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Select to HTTP items
  2. Press Mass update
  3. Select Headers
  4. Fill Name field with some text, but value field leave empty
  5. Press Update

Result: Message is successful, but Item's headers were not updated to Header from Mass Update. If Item had some headers before, they were deleted.

Expected: Error message on Mass Update

'Invalid parameter "headers": nonempty key and value pair expected.'


 Comments   
Comment by Miks Kronkalns [ 2021 May 27 ]

Fixed in development branch feature/ZBX-19255-5.4.

Comment by Miks Kronkalns [ 2021 Jun 10 ]

Fixed in:





[ZBX-19017] Error: "Cannot update "inventory_mode" for a discovered host" while mass update try. Created: 2021 Feb 12  Updated: 2024 Apr 10  Resolved: 2021 May 31

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.0alpha2
Fix Version/s: 5.0.13rc1, 5.4.1rc1, 6.0.0alpha1, 6.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 1
Labels: discoveredhost, inventory, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png    
Issue Links:
Duplicate
Team: Team B
Sprint: Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021)
Story Points: 1

 Description   

Steps to reproduce:

  1. Create DIscovery rule with host prototype
  2. Wait until host is discovered
  3. Mass update discovered host
  4. Select Add Host groups and select some group and update (or any other checkbox)
    Result: text message in details: Cannot update "inventory_mode" for a discovered host.


 Comments   
Comment by Ivo Kurzemnieks [ 2021 May 20 ]

Fixed for 5.0-5.2 in development branch feature/ZBX-19017-5.0
Fixed for 5.4+ in development branch feature/ZBX-19017-5.4

Comment by Ivo Kurzemnieks [ 2021 May 27 ]

Fixed in:





[ZBX-18943] Mass update items popup is not opening Created: 2021 Jan 29  Updated: 2021 Mar 19  Resolved: 2021 Mar 19

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.0alpha1
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Mārtiņš Tālbergs (Inactive) Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBXNEXT-6293 Replace import page(s) with popup win... Closed
Sub-task
part of ZBXNEXT-5868 Value mapping on host/template or ite... Closed
Sprint: Sprint 73 (Feb 2021), Sprint 74 (Mar 2021)

 Description   

Steps to reproduce:

  1. Navigate to Configuration -> Items list
  2. In hosts filter select more than one or none hosts. Apply filter.
  3. Select few items and try to massupdate them.

Result:
JavaScript error:

Cannot read property 'value' of null     at openMassupdatePopup (jsLoader.php?ver=5.4.0alpha1&lang=en_GB&showGuiMessaging=1:18816)     at HTMLButtonElement.onclick

Expected:
Massupdate pop-up.






[ZBX-18895] Checkboxes in host / template / item lists are not reset after mass update gets executed Created: 2021 Jan 20  Updated: 2022 Dec 05  Resolved: 2022 Dec 05

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.0alpha1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: checkbox, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File mass_update_checkbox_reset.gif    
Issue Links:
Sub-task
depends on ZBXNEXT-7070 Templates and Linked templates tabs s... Closed

 Description   

Problem description: checkboxes in the lists of hosts, templates and items are not cleared after mass update gets executed. Such behavior degrades the usability in case if the user modified entries on multiple pages of the corresponding views, as he'll be forced to go through all pages with selected entries to deselect them.

Steps to reproduce:

  1. Navigate to Configuration => Templates, Configuration => Hosts or Configuration => Hosts/Templates => Items
  2. Select a couple of entries from the host/template/item lists
  3. Press mass update button
  4. Update any of the fields in the massupdate view
  5. Press update button

Result: the checkboxes next to the entries that were selected for the mass update are still checked.
Expected: because the mass update action already took place the checkboxes should be unset.

Example:






[ZBX-18428] Undefined index in item prototypes mass update form for templates Created: 2020 Sep 29  Updated: 2020 Oct 05  Resolved: 2020 Oct 05

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.2.0beta1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: itemprototype, massupdate, undefinedindex
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot from 2020-09-29 15-11-14.png    
Issue Links:
Causes
caused by ZBX-17877 Broken SNMP Interfaces after upgrade ... Closed

 Description   

Problem description: the following error is observed when opening template item prototypes mass update form:

Undefined index: interfaces [disc_prototypes.php:1485 → CView->getOutput() → include() in include/views/configuration.item.prototype.massupdate.php:543]
Invalid argument supplied for foreach() [disc_prototypes.php:1485 → CView->getOutput() → include() in include/views/configuration.item.prototype.massupdate.php:543]

Steps to reproduce:

  1. Open any template that has a discovery rule with item prototypes
  2. Open the list of item prototypes
  3. Select a couple of item prototypes and press "Mass update" button

Result:
The following error is observed:

Expected:
No errors should be observed



 Comments   
Comment by Alexander Vladishev [ 2020 Oct 05 ]

Will be fixed under ZBX-17877.





[ZBX-17519] Pressing mass-update in Monitoring->Problems - JSON strings appears Created: 2020 Mar 27  Updated: 2024 Apr 10  Resolved: 2020 Mar 31

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.0alpha2
Fix Version/s: 5.0.0alpha4, 5.0 (plan)

Type: Problem report Priority: Major
Reporter: Sergejs Maklakovs Assignee: Andrejs Verza
Resolution: Fixed Votes: 0
Labels: massupdate, monitoring, problems
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Selection_039.png    
Issue Links:
Causes
caused by ZBXNEXT-1169 Redesign of Acknowledge page Closed
Team: Team B
Sprint: Sprint 62 (Mar 2020)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Create several problems
  2. go to Monitoring->Problems
  3. click on 1 (or more, this i not important) checkbox in problem list. 
  4. Wait ~30 sec. 
  5. Press "Mass Update" button

Result:
JSON strings appears. 


Expected:
pop-up window with mass update appears. 



 Comments   
Comment by Andrejs Verza [ 2020 Mar 30 ]

Resolved in development branch feature/ZBX-17519-4.5.

Comment by Andrejs Verza [ 2020 Mar 30 ]

Fixed in:





[ZBX-17374] Radio button state not being preserved if mass update fails Created: 2020 Feb 26  Updated: 2024 Apr 10  Resolved: 2020 Jun 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.4.6
Fix Version/s: 5.0.2rc1, 5.2.0alpha1, 5.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Andrejs Griščenko Assignee: Vladimirs Maksimovs
Resolution: Fixed Votes: 1
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File lost_radio_value.gif    
Issue Links:
Sub-task
depends on ZBX-17373 array_flip() error when adding new ho... Open
Team: Team D
Sprint: Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Navigate to Configuration -> Hosts/Templates.
  2. Select at least one host/template from the list and click Mass update.
  3. Choose a host group to replace/remove.
  4. Choose an option that will surely fail mass update, for example, specify a tag value without tag name.
  5. Press Update.

The same problem affects mass update of host, template and trigger tags.

Result:
Radio button list is reset to the first option if mass update fails.

Expected:
Radio button state is preserved if mass update fails.



 Comments   
Comment by Vladimirs Maksimovs [ 2020 May 06 ]

Fixed in development branch feature/ZBX-17374-4.4

Comment by Vladimirs Maksimovs [ 2020 Jun 04 ]

(4) For version 5.0 fixed in development branch feature/ZBX-17374-5.0

Comment by Vladimirs Maksimovs [ 2020 Jun 04 ]

Fixed in:





[ZBX-17373] array_flip() error when adding new host group if mass update fails Created: 2020 Feb 26  Updated: 2020 Feb 28

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.4.6
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Andrejs Griščenko Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Sub-task
part of ZBX-17374 Radio button state not being preserve... Closed

 Description   

Steps to reproduce:

  1. Navigate to Configuration -> Hosts/Templates.
  2. Choose at least one host/template from the list and click Mass update.
  3. Check the Host group checkbox and specify a new group.
  4. Choose an option that will surely fail mass update, for example, specifiy a tag value without tag name.
  5. Click Update.

Result:

array_flip(): Can only flip STRING and INTEGER values! [hosts.php:1475 → CView->render() → include() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHostGroup->get() → dbConditionInt() → array_flip() in include/db.inc.php:797]
Error in query [SELECT g.groupid,g.name FROM hstgrp g WHERE ] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]





[ZBX-17209] Missing space between 'Applications' field elements in Item and item prototype mass update forms Created: 2020 Jan 22  Updated: 2020 Jan 22

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.4.5rc1, 5.0.0alpha1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: applications, massupdate, padding
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File missing_padding.png    

 Description   

Problem description: There is no space at all between radio button and multiselect elements of the "Applications" field in Item and Item prototype mass update forms.

Steps to reproduce:

  1. Open list of items or item prototypes for any host
  2. Select a couple of items/prototypes in the list and press "Mass update" button
  3. In the list of parameters set the checkbox for field "Applications"

Result: in the expanded "Applications" field there is no free space between the radio button and multiselect elements:

Expected: There should be at least some spacing between the radio button and the multiselect, as everywhere else in zabbix frontend.






[ZBX-17181] Can't mass update SNMPv2 items to SNMPv3 Created: 2020 Jan 15  Updated: 2020 Jan 16  Resolved: 2020 Jan 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.4.4
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: alex dekker Assignee: Zabbix Support Team
Resolution: Cannot Reproduce Votes: 0
Labels: SNMPv3, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Server 4.4.4
MySQL
Ubuntu 18.04
Zabbix SIA deb packages


Attachments: PNG File image-2020-01-16-11-19-27-230.png    

 Description   

Steps to reproduce:

  1. Create full clone of v2 template, eg Template Module Generic SNMPv3
  2. Select one or more SNMPv2 items on new template
  3. Mass update, change type to v3 and configure all v3 parameters as required

Result:

"Cannot update items: No SNMP OID specified". There isn't even an OID field in the mass update screen anyway!
Expected:

Selected items would be changed from v2 to v3.



 Comments   
Comment by Valdis Murzins [ 2020 Jan 16 ]

Provided steps are clear, but I was not able to reproduce this issue.
I was able to change item type for all "SNMPv2 agent" items to "SNMPv3 agent" without any issues in frontend.
Tested on versions: 4.4.4, 4.4.5alpha1, 5.0alpha1.

zabbix.support, please take a look as well, maybe you will have better luck.

Comment by alex dekker [ 2020 Jan 16 ]

I have tried again this morning and I cannot reproduce it either. This is so annoying. One thing I can think of was that I was comparing items on two templates as I wasn't certain of SNMPv3 parameters [ie I had two templates open in different tabs] but I tried that as well and still could not trigger it. I googled the error and it seems to be part of the API, but to be clear, I am using the web interface to do this, not the API.

Comment by alex dekker [ 2020 Jan 16 ]

Triggered it again when mass updating discovery prototypes:

I don't think I was trying to update prototypes yesterday...

Comment by alex dekker [ 2020 Jan 16 ]

Yeah, this one's User Error. I didn't notice that I had a non-SNMP item selected when doing a mass update. Thanks for your time, and sorry for the noise...

Comment by alex dekker [ 2020 Jan 16 ]

You need User Error as a Resolution type in here.

Can't mass update multiple items from SNMPv2 to SNMPv3 if any non-SNMP items were selected.





[ZBX-16704] Doesn't work macros update in template.massupdate Created: 2019 Sep 30  Updated: 2019 Dec 10

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 4.0.14rc1, 4.2.8rc1, 4.4.0rc1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: macro, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:
send api request

    "method": "template.massupdate",
    "params": {
        "templates": [
            {
                "templateid": "10093"
            }
        ],
        "macros": [
                {
                    "macro": "{$API}",
                    "value": "api test"
                }
        ]
    },

Open template in UI and check macro tab

Result: empty macro tab
Expected: macro added to template






[ZBX-16474] Request-URI Too Long on Mass Update of big amount of Problems Created: 2019 Aug 08  Updated: 2024 Apr 10  Resolved: 2019 Aug 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.0.11, 4.2.5, 4.4.0alpha1
Fix Version/s: 4.0.12rc1, 4.2.6rc1, 4.4.0alpha2, 4.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Miks Kronkalns
Resolution: Fixed Votes: 0
Labels: massupdate, problems
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Selection_454.png    
Team: Team B
Sprint: Sprint 55 (Aug 2019)
Story Points: 0.5

 Description   

1. Generate 500+ problems
2. In User settings set Rows per page 500
3. GO to Monitoring->Problems, Filter: Show-> History
4. Check All
5. Press Mass Update
Result:



 Comments   
Comment by Miks Kronkalns [ 2019 Aug 12 ]

Resolved in development branch feature/ZBX-16474-4.0.

Comment by Miks Kronkalns [ 2019 Aug 13 ]

Fixed in:

  • 4.0.12rc1 32c95578a54
  • 4.2.6rc1 4759e20f9ce
  • 4.4.0alpha2 (master) 7a11b53837a




[ZBX-15553] Mass update: "Preprocessing steps" should be in separate tab Created: 2019 Jan 30  Updated: 2024 Apr 10  Resolved: 2019 Apr 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 4.2.1rc1, 4.4.0alpha1, 4.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Mārtiņš Tālbergs (Inactive)
Resolution: Fixed Votes: 0
Labels: massupdate, preprocessing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Selection_177.png     PNG File Selection_178.png    
Issue Links:
Sub-task
Team: Team B
Sprint: Sprint 49 (Feb 2019), Sprint 50 (Mar 2019), Sprint 51 (Apr 2019)
Story Points: 1

 Description   

Preprocessing steps in Mass Update might be placed in separate tab, like it is implemented in Item create / Item prototype create Form.

Actual:

Expected:



 Comments   
Comment by Mārtiņš Tālbergs (Inactive) [ 2019 Mar 22 ]

FIXED in development branch svn://svn.zabbix.com/branches/dev/ZBX-15553

Comment by Mārtiņš Tālbergs (Inactive) [ 2019 Apr 04 ]

Fixed in:

  • 4.2.1rc1 r92017
  • 4.4.0alpha1 (trunk) r92014
Comment by Alexander Vladishev [ 2019 Apr 11 ]

Updated screenshot in user's manual.





[ZBX-15465] Label name with &nbsp; on Mass update page Created: 2019 Jan 10  Updated: 2024 Apr 10  Resolved: 2019 Jan 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.25rc1, 4.0.4rc1, 4.2.0alpha3
Fix Version/s: 4.0.4rc1, 4.2.0alpha3, 4.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Miks Kronkalns
Resolution: Fixed Votes: 0
Labels: massupdate, selenium
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File label.png    
Issue Links:
Sub-task
Team: Team B
Sprint: Sprint 48, Jan 2019
Story Points: 0.5

 Description   

Steps to reproduce:

  1. Go to Configuration -> Hosts/Items/Triggers/Trigger prototypes
  2. Select Hosts and click button Mass update
  3. Inspect element of fields name

Result: at the end of the label name is a space as

&nbsp;

And it's complicates autotests writing.



 Comments   
Comment by Miks Kronkalns [ 2019 Jan 16 ]

Fixed in:

  • 4.0.4rc1 r88727
  • 4.2.0alpha3 (trunk) r88733




[ZBX-15434] Mass update: Impossible to choose Host interface after item type is changed Created: 2019 Jan 10  Updated: 2019 Jan 14

Status: Elaborating
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.0.3, 4.2.0alpha3
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: interfaces, itemprototype, items, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Selection_157.png    

 Description   

Steps to reproduce:

  1. Create host with all possible interfaces: (Agent, SNMP, JMX, IPMI).
  2. Create one or more Items with type "Zabbix agent".
  3. Select several Items and click Mass update.
  4. Check Type checkbox and choose IMPI agent for example.
  5. Check Host interface checkbox and try to choose IPMI interface.
    Result: IPMI interfaces are disabled.
    Expected: Interfaces are enabled.

After user tries to submit form, error is displayed, then IPMI interface in dropdown will be enabled.
The same scenario is also actual for Item prototypes.



 Comments   
Comment by Alexander Vladishev [ 2019 Jan 14 ]

There is no sense to change item type from Zabbix Agent to IPMI because IPMI key is not defined for these items. Such operation will be failed.





[ZBX-15253] Data calculation issue Created: 2018 Dec 03  Updated: 2019 Jan 09  Resolved: 2019 Jan 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Maksims Edelmans Assignee: Zabbix Support Team
Resolution: Incomplete Votes: 0
Labels: calculation, items, massupdate, preprocessing, template, traffic
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 7 3.10.0-693.5.2.el7.x86_64


Attachments: Text File image-2018-12-03-11-34-23-205.png     Text File image-2018-12-03-11-38-37-129.png     Text File image-2018-12-03-11-38-59-800.png     Text File image-2018-12-03-11-39-17-428.png    

 Description   

Zabbix 3.4.14

We have around 300 hosts linked to the same template.

Template is called "Managed switch 26 ports" and includes items to collect interface statistics.

Problem:

 

Steps that caused this problem:

  1. Open template items
  2. Mass select all items
  3. Click 'Mass update'
  4. Select 'units' and type in 'bps'

5. Select 'preprocessing steps':

6. Click 'Update'

 

All hosts within this template will suffer from some calculation issue and the result is on the graph above.

 

 

 



 Comments   
Comment by Edgars Melveris [ 2018 Dec 06 ]

Hello Maksims!

I think this is just a misunderstanding of how the changes to such things work. When you create the preprocessing step and add a multiplier, Zabbix won't change all the historical values, only the newly received values will be preprocessed with this rule. So, when the next preprocessing step takes place (Change per second) the result is a pretty large "change" (should be ~x8 the actual result).

Comment by Maksims Edelmans [ 2018 Dec 07 ]

Edgars,
I know that preprocessing doesn't change historical data.

All these items didn't have correct units and some of them had absolutely the same preprocessing steps, but in the opposite sequence (change per second first and them multiplier). All historical data are correct and all data after this mass change are correct. Problem occured only at the moment when I applied changes and mass updated all items.

Comment by Edgars Melveris [ 2018 Dec 14 ]

Hello Maksims, it wasn't clear from the text, that you already had those preprocessing rules before.

Now I don't really understand the scope of the problem, what do you mean by "some of them had absolutely the same preprocessing steps, but in the opposite sequence"? So there is problem with only the ones, that did not have this prerpocessing step? If no, can you look at the actual values of the items, that have problems?

Comment by Edgars Melveris [ 2019 Jan 09 ]

This issue has not been updated for some time. We are closing this issue, but if the problem is not yet resolved and have additional info, how to reproduce it, feel free to reopen it.





[ZBX-15139] Element removing from list in different tabs or browsers Created: 2018 Nov 07  Updated: 2024 Apr 10  Resolved: 2019 Apr 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.24rc1, 4.0.2rc1, 4.2.0alpha1
Fix Version/s: 4.0.7rc1, 4.2.1rc1, 4.4.0alpha1, 4.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Vasily Goncharenko (Inactive)
Resolution: Fixed Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File 2.gif     GIF File Trigger_deletion_zbx15139.gif     GIF File ZBX15139_Scripts.gif     GIF File ZBX15139_applications.gif     GIF File ZBX15139_services.gif     PNG File actionconf_error.png     GIF File problems_page.gif     PNG File screenshot-1.png    
Issue Links:
Causes
causes ZBX-16913 Wrong selected element count when wor... Open
causes ZBX-16007 Issues with removing triggers from li... Closed
causes ZBX-16861 Clearing selected rows in lists works... Closed
Duplicate
is duplicated by ZBX-15983 Undefined variable and invalid argume... Closed
Team: Team D
Sprint: Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019, Sprint 49 (Feb 2019), Sprint 50 (Mar 2019), Sprint 51 (Apr 2019)
Story Points: 1

 Description   

Steps to reproduce:

  1. Create host
  2. Create 3 items
  3. Open in two tabs this items page
  4. In first tab select 1th and 3th item in list and delete
  5. In second tab select all items and delete
  6. Get error "No permissions to referred object or it does not exist! " and remained 2th item
  7. Try again delete item (is selected only 2th item)

Result: near buttons displayed text "3 selected" and still can't delete 2th item. Only after filter reset or going to another page and back - starts work fine

Expected: text "1 selected" and can delete item



 Comments   
Comment by Vasily Goncharenko (Inactive) [ 2018 Nov 28 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-15139

Comment by Vasily Goncharenko (Inactive) [ 2019 Apr 08 ]

Fixed in:

  • 4.0.7rc1 r92273
  • 4.2.1rc1 r92282
  • 4.4.0alpha1 (trunk) r92286
Comment by Valdis Murzins [ 2019 Apr 12 ]

With this merge following problem introduced in multiple pages in PHP 5.4:

Call to undefined function array_column()
Comment by Valdis Murzins [ 2019 Apr 15 ]

This merge introduced one more problem:
In trigger Prototypes, the access denied check was removed for trigger to be edited. As a result, if user has access to dicovery rule, but don't have access to trigger prototype itself, he will get a fatal error.

Fatal error: Uncaught TypeError: Argument 1 passed to CArrayHelper::sort() must be of the type array, null given
Comment by Valdis Murzins [ 2019 Apr 16 ]

FIXED in development branches

  • svn://svn.zabbix.com/branches/dev/ZBX-15139
  • svn://svn.zabbix.com/branches/dev/ZBX-15139_4.2
Comment by Valdis Murzins [ 2019 Apr 16 ]

Fixed in:

  • 4.0.7rc1 r92750
  • 4.2.1rc1 r92752
  • 4.4.0alpha1 (trunk) r92753




[ZBX-14896] after ZBX-6118, still low performance changing template linked with many hosts Created: 2018 Sep 24  Updated: 2024 Apr 10  Resolved: 2019 Jan 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 3.4.14
Fix Version/s: 4.0.4rc1, 4.2.0alpha3, 4.2 (plan)

Type: Problem report Priority: Critical
Reporter: Oleksii Zagorskyi Assignee: Alexander Vladishev
Resolution: Fixed Votes: 2
Labels: massupdate, performance, templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBX-6118 Very low performance changing templat... Closed
Duplicate
Team: Team B
Sprint: Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019
Story Points: 2

 Description   

Even after ZBX-6118 fix, there is an issue with updating an item on template, linked to many hosts.

Here is a very slow query in item.update method (new approach implemented in the ZBX-6118, code comment //Check if item with a new key already exists on the child host.):

SQL (365.230574): SELECT i.hostid,i.key_ FROM items i WHERE (i.hostid='26408' AND i.key_='logrt[/var/log/messages,(error(?!.*dev fd0)),,,skip,,]') OR (i.hostid='23653' AND i.key_='logrt[/var/log/messages,(error(?!.*dev fd0)),,,skip,,]') OR (i.hostid='12258' AND i.key_='logrt[/var/log/messages,(error(?!.*dev fd0)),,,skip,,]') OR (i.hostid='30083' AND i.key_='logrt[/var/log/messages,(error(?!.*dev fd0)),,,skip,,]') OR (i.hostid='27971' AND i.key_='logrt[/var/log/messages,(error(?!.*dev fd0)),,,skip,,]') OR (i.hostid='25683' AND i.key_='logrt[/var/log/messages,(error(?!.*dev fd0)),,,skip,,]') OR (i.hostid='26413' AND i.key_='logrt[/var/log/messages,(error(?!.*dev fd0)),,,skip,,]') OR (i.hostid='16902' AND i.key_='logrt[/var/log/messages,(error(?!.*dev fd0)),,,skip,,]')...OR (i.hostid='19010' AND i.key_='logrt[/var/log/messages,(error(?!.*dev fd0)),,,skip,,]') LIMIT 1

and possible related issue:

Total time: 949.184311
Total SQL time: 372.596001
SQL count: 6601 (selects: 89 | executes: 6512)
Peak memory usage: 4000.75M
Memory limit: 16G

~13000 hosts are linked to the template.

There is an opinion from dotneft that, quote: During item update in a template "itemid" order is not ascending. Which lead to possible deadlock, especially with log items.

It's decided to fix it separately of ZBX-3783 because its critical.

 



 Comments   
Comment by Alexander Vladishev [ 2019 Jan 08 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-14896

Comment by Alexander Vladishev [ 2019 Jan 08 ]

Performance tests:

Update one item, linked to 10000 hosts:

Database Before fix After
MySQL
Total time: 1178.714797
Total SQL time: 1114.9014560001
SQL count: 10134 (selects: 109 | executes: 10034)
Peak memory usage: 612M
SQL (1108.378067): SELECT i.hostid,i.key_ FROM items...
Total time: 88.48087
Total SQL time: 6.056996
SQL count: 10134 (selects: 109 | executes: 10034)
Peak memory usage: 612M
SQL (0.168887): SELECT i.hostid,i.key_ FROM items...
PostgresSQL
Total time: 97.832025
Total SQL time: 15.009252
SQL count: 10134 (selects: 109 | executes: 10035)
Peak memory usage: 384M
SQL (5.63644): SELECT i.hostid,i.key_ FROM items
Total time: 94.093242
Total SQL time: 10.970884
SQL count: 10134 (selects: 109 | executes: 10035)
Peak memory usage: 382M
SQL (0.561602): SELECT i.hostid,i.key_ FROM items
Comment by Alexander Vladishev [ 2019 Jan 21 ]

Fixed in:

  • 4.0.4rc1 r88888
  • 4.2.0alpha3 (trunk) r88889




[ZBX-14653] "Mass update" doesnt work for "Update interval" on templates Created: 2018 Jul 26  Updated: 2018 Jul 26  Resolved: 2018 Jul 26

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.0.0alpha9
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: Khatsayuk Alexander Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: frontend, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Zabbix 4.0alpha9, CentOS 7.5.1804, Apache 2.4.6, php 5.4.16, MySQL 5.7.22-22 (Percona).


Issue Links:
Duplicate
is duplicated by ZBX-14584 Host interface mass update option for... Closed

 Description   

Cannot change item update interval on template with mass update, while mass update for history storage period works fine.






[ZBX-14648] slow deletion of item in template linked to many hosts Created: 2018 Jul 26  Updated: 2024 Apr 10  Resolved: 2018 Nov 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 3.4.10
Fix Version/s: 4.0.3rc1, 4.2.0alpha2, 4.2 (plan)

Type: Problem report Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Alexander Vladishev
Resolution: Fixed Votes: 1
Labels: massdelete, massupdate, performance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Selection_032.png    
Issue Links:
Causes
causes ZBX-15373 Problem persists after item was deleted Closed
causes ZBX-15458 Undefined offset: 0 [ in report2.php:... Closed
Team: Team B
Sprint: Sprint 39, Sprint 40, Sprint 41, Sprint 42, Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018
Story Points: 3

 Description   

Information below is gathered from discussion with a zabbix user.

When we delete an item from template, linked to 10K hosts, it takes too much time, and in 99% of attempts it returms nothing (supposedly PHP error happens).

There were changes in ZBX-6118, where it's stated:

Improved performance of create(), update() and template linkage methods for item, discoveryrule and itemprototype classes.

which does not include items deletion.

Besides of the zbx, there are also ZBX-13335, ZBX-13348, ZBX-13349 fixed, but they also do not talk about deletion.

And one more thing:
We have a user with limited rights, access to only one host group with ~500 hosts. When opening Configuration -> Hosts, page is loading very long time.
A super admin user opens the same page really fast.

Zabbix 3.4.9. © 2001–2018, Zabbix SIA                           
******************** Профилировщик сценария ********************
Всего затрачено времени: 1593.176998                            
Всего затрачено времени на SQL: 0.072697                        
SQL запросов: 46 (selects: 44 | executes: 2)                    
Пиковое использование памяти: 14.25M                            
Лимит памяти: 512M                                              

Note - I'm not sure what the provided debug belongs too - opening a page or deletion items.
Strange thing that debug section does not contain some fields if compare with a testing zabbix installation.



 Comments   
Comment by richlv [ 2018 Jul 26 ]

Slow permission checks have been reported many times in the past, a few issues that are still open:

Comment by Alexander Vladishev [ 2018 Aug 17 ]

Available for testing in development branch svn://svn.zabbix.com/branches/dev/ZBX-14648-trunk

item.delete(), itemprototype.delete(), trigger.delete(), triggerprototype.delete(), graph.delete(), graphprototype.delete() - improved overall performance and memory consumption, added/improved audit logging, added strict validation for input parameters.

I could not reproduce the second problem - Configuration -> Hosts opened fast with admins and super-admins. zalex_ua, please create separate issue if this problem still relevant.

Tests (delete an item from template, linked to another template which linked to 10K hosts):

  trunk dev branch
super-admin Total time: 20.471309
Total SQL time: 15.502797
SQL count: 30164 (selects: 10111 | executes: 20053)
Peak memory usage: 526.195313M
Total time: 4.788167
Total SQL time: 4.284156
SQL count: 131 (selects: 92 | executes: 39)
Peak memory usage: 138.179688M
admin Total time: 21.414525
Total SQL time: 16.978923
SQL count: 30165 (selects: 10112 | executes: 20053)
Peak memory usage: 526.195313M
Total time: 5.889939
Total SQL time: 5.385905
SQL count: 132 (selects: 93 | executes: 39)
Peak memory usage: 138.179688M
Comment by Alexander Vladishev [ 2018 Nov 30 ]

Fixed in:

  • 4.0.3rc1 r87480
  • 4.2.0alpha2 (trunk) r87479




[ZBX-14555] Can't select or update all items due many number of items and big ids. Request-URI Too Long Created: 2018 Jul 03  Updated: 2018 Sep 21

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.0.0alpha9
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: ids, items, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File alert.png     PNG File loading.png    
Issue Links:
Duplicate

 Description   

Steps to reproduce:

  1. Create LLD
  2. Change items nextid in ids table to 999000 (to easier reach expected result)
  3. Generate 1000+ discovered items
  4. Set 1000 rows per page in user profile
  5. Go to Hosts-> Items
  6. Select all

Result:
Appears alert "We are sorry, the maximum possible number of elements to remember has been reached."

Steps to reproduce:

  1. first 3 steps as in previous scenario
  2. Set 500 rows per page in user profile
  3. Select all and press Mass update
  4. Check "Master item" and press Select

Result:
always displayed loading in popup, because of error "Failed to load resource: the server responded with a status of 414 (Request-URI Too Long)"



 Comments   
Comment by Oleksii Zagorskyi [ 2018 Sep 21 ]

ZBX-13332 is related.

Comment by Oleksii Zagorskyi [ 2018 Sep 21 ]

Let me post here one more real case (production). Not sure I need to report a new ZBX.

When attempting to link templates to another template.
Open one template, on "Linked templates" tab click Select button and you will see the "Request-URI Too Long" Apaches's error page.

In this real case URL is ~26K characters long.
See documentation for the param https://httpd.apache.org/docs/2.4/mod/core.html, there is an important note where the the param should be set.

Depending on distro and Apache configuration, as a workaround, need to add a line:

LimitRequestLine 30000

to one of these locations:

  • on RHEL/CentOS (comes withOUT virtual hosts enabled, if so) to /etc/httpd/conf/httpd.conf
  • on Debian/Ubuntu (comes with virtual hosts enabled) to /etc/apache2/sites-enabled/000-default.conf inside section <VirtualHost *:80>

The button Select constructs very long URL like:

&excludeids[]=10186&excludeids[]=10203&excludeids[]=10225&excludeids[]=10237

where are listed IDs of templates:

  • current template itself
  • already linked templates
  • templates linked to

The last point causes the URL to be so big.
Good example is build-in template "Template Module Generic SNMPv2", which causes 642 chars long link.





[ZBX-13754] Item's update intervals are not changed when edited using bulk update Created: 2018 Apr 16  Updated: 2018 Sep 19  Resolved: 2018 Sep 19

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.0.0alpha6
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Miks Kronkalns Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: items, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-14584 Host interface mass update option for... Closed

 Description   

Steps to reproduce:

  1. Select one or more items for some host in configuration screen
  2. Click Mass update
  3. Change Update interval
  4. Save changes

Result:
Success message appears, but changes are not saved in database.

Expected:
Valid changes must be save.






[ZBX-13383] Low performance creating or cloning Trigger in template linked with many hosts Created: 2018 Jan 23  Updated: 2024 Apr 10  Resolved: 2020 Aug 10

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.6
Fix Version/s: 4.0.24rc1, 5.0.3rc1, 5.2.0alpha1, 5.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Alexander Vladishev
Resolution: Fixed Votes: 0
Labels: graph, massupdate, performance, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 16, MySQL, Firefox, PHP conf memory_limit 8GB.


Attachments: PNG File Selection_225.png    
Issue Links:
Sub-task
part of ZBX-16700 Very low performance adding trigger d... Closed
Team: Team B
Sprint: Sprint 66 (Jul 2020), Sprint 67 (Aug 2020)
Story Points: 10

 Description   

Steps to reproduce:
10000-20000 Hosts Linked to one Template
Create Trigger under this Template

Result
Graph creating process might take more then 15 minutes.

Also timeout error might appear:



 Comments   
Comment by Alexander Vladishev [ 2020 Jul 23 ]

Fixed in development branches:

Comment by Alexander Vladishev [ 2020 Aug 08 ]

Fixed in:





[ZBX-13349]  Low performance creating Web Scenario in template linked with many hosts Created: 2018 Jan 17  Updated: 2019 Dec 10

Status: Confirmed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.6
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: graph, massupdate, performance, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 16, MySQL, Firefox, PHP conf memory_limit 8GB.


Attachments: PNG File Selection_211.png     PNG File Selection_212.png    
Issue Links:
Duplicate
duplicates ZBX-6118 Very low performance changing templat... Closed

 Description   

Steps to reproduce:
10000-20000 Hosts Linked to one Template
Create Web Scenario under this Template

Result
Scenario creating process might take more then 15 minutes.

Also scenario deleting from template is not working.
Try to delete several scenarios in one time.

Result:






[ZBX-13348] Low performance creating Graph in template linked with many hosts Created: 2018 Jan 17  Updated: 2020 Sep 23

Status: Confirmed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.6
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: graph, massupdate, performance, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 16, MySQL, Firefox, PHP conf memory_limit 8GB.


Issue Links:
Duplicate
duplicates ZBX-6118 Very low performance changing templat... Closed
is duplicated by ZBX-18382 modifications on template linked to m... Reopened

 Description   

Steps to reproduce:
10000-20000 Hosts Linked to one Template
Create Graph under this Template

Result
Graph creating process might take more then 15 minutes.






[ZBX-13085] Exiting from trigger mass update when get error and trying add dependent trigger Created: 2017 Nov 23  Updated: 2024 Apr 10  Resolved: 2017 Dec 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 3.0.14rc1, 3.2.11rc1, 3.4.5rc1, 4.0.0alpha1
Fix Version/s: 3.0.15rc1, 4.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Gregory Chalenko
Resolution: Fixed Votes: 0
Labels: dependencies, massupdate, trigger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team C
Sprint: Sprint 23, Sprint 24
Story Points: 0.5

 Description   

Steps to reproduce:

  1. Go to Host->Triggers or Trigger prototypes (also Templates->Triggers, trigger prototypes)
  2. Select some triggers and press Mass update
  3. Select "Replace dependencies"
  4. Add trigger of template and press update to get error "Cannot add dependency from a host to a template."
  5. Again press Add trigger and choose trigger in popup

Result:
Redirected to Triggers page
Expected:
Should be mass update page with selected trigger



 Comments   
Comment by Gregory Chalenko [ 2017 Dec 13 ]

(1) No translation strings changes.

vjaceslavs CLOSED

Comment by Gregory Chalenko [ 2017 Dec 13 ]

RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-13085-3.0

Comment by Gregory Chalenko [ 2017 Dec 28 ]

Fixed in:

  • 3.0.15rc1 r76383




[ZBX-12882] Item mass update form fields for 'Application' should allow select only current host applications. Created: 2017 Oct 16  Updated: 2024 Apr 10  Resolved: 2018 May 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.20, 3.0.12rc1, 3.2.9rc1, 3.4.3rc1, 4.0.0alpha1
Fix Version/s: 3.0.18rc1, 3.4.10rc1, 4.0 (plan)

Type: Incident report Priority: Trivial
Reporter: Gregory Chalenko Assignee: Andrejs Griščenko
Resolution: Fixed Votes: 0
Labels: frontend, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team B
Sprint: Sprint 30, Sprint 31, Sprint 32, Sprint 33
Story Points: 0.5

 Description   

Steps to reproduce:
1. Select host with multiple templates.
2. Open items list and select host items and items from different templates.
3. Click 'Mass update'.
4. On mass update form scroll down to fields 'Replace applications' or 'Add new or existing applications' and mark as checked.
5. Click 'Select' for one of fields.
Result: Popup window allow to select application from different hosts.
Expected result: Popup window allow select only current host applications. Group and Host select filters are not available.

MOVED from ZBX-6669 (6)



 Comments   
Comment by Andrejs Griščenko [ 2018 Apr 18 ]

Fixed in development branches:

  • for 3.0: svn://svn.zabbix.com/branches/dev/ZBX-12882
  • for 4.0: svn://svn.zabbix.com/branches/dev/ZBX-12882-4.0 (fixed in ZBXNEXT-4185)
Comment by Andrejs Griščenko [ 2018 May 09 ]

Fixed in:

  • 3.0.18rc1 r80588
  • 3.4.10rc1 r80589




[ZBX-12871] Problem with mass update templates Created: 2017 Oct 12  Updated: 2017 Oct 12  Resolved: 2017 Oct 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.2.8
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Ricardo Caldas Santos Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: frontend, hosts, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File mass update.PNG    
Issue Links:
Duplicate
duplicates ZBX-12788 Add template via mass update not working Closed

 Description   

Mass Update for Templates (via hosts page) doesnt work anymore. The chosen template dont get associated after I click "update" button.

Seems only to affect this version. We dont have this problem on previous version 3.2.7.



 Comments   
Comment by Valdis Murzins [ 2017 Oct 12 ]

Sorry. It will be fixed in 3.2.9.

Closing as DUPLICATE of ZBX-12788





[ZBX-12695] Replace templates via mass update not working Created: 2017 Sep 08  Updated: 2017 Sep 08  Resolved: 2017 Sep 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.1
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Ammer van Bussel Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: massupdate, templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ubuntu 16.04


Attachments: PNG File Screen Shot 2017-09-07 at 23.27.42.png    
Issue Links:
Duplicate
duplicates ZBX-12429 Failed to mass replace templates Closed

 Description   

replacing templates on multiple hosts via mass update fails.



 Comments   
Comment by Valdis Murzins [ 2017 Sep 08 ]

This will be solved in 3.4.2.

Closed as duplicate of ZBX-12429





[ZBX-12429] Failed to mass replace templates Created: 2017 Jul 26  Updated: 2024 Apr 10  Resolved: 2017 Aug 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.0alpha1
Fix Version/s: 3.0.11rc1, 3.2.8rc1, 3.4.2rc1, 4.0.0alpha1, 4.0 (plan)

Type: Problem report Priority: Major
Reporter: Vitaly Zhuravlev Assignee: Gregory Chalenko
Resolution: Fixed Votes: 1
Labels: frontend, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png    
Issue Links:
Duplicate
is duplicated by ZBX-12695 Replace templates via mass update not... Closed
is duplicated by ZBX-12550 Mass update dosn't work with Template... Closed
is duplicated by ZBX-12582 Problems with mass update Closed
is duplicated by ZBX-12622 Problem when trying to link multiple ... Closed
Team: Team A
Sprint: Sprint 13, Sprint 14, Sprint 15
Story Points: 0.5

 Description   

To reproduce:

  • Select default 'Zabbix server' host
  • Press 'Mass update'
  • Select new template (App FTP or any other) and select 'Replace'
  • Observe the error


 Comments   
Comment by Gregory Chalenko [ 2017 Jul 28 ]

(1) No translation string changes.

oleg.egorov CLOSED

Comment by Gregory Chalenko [ 2017 Jul 28 ]

Fixed in branches/dev/ZBX-12429 r70719

Comment by Oleg Egorov (Inactive) [ 2017 Aug 08 ]

(2) New code

if ($newHostGroupIds && (!isset($visible['groups']) || !isset($replaceHostGroups))) {

Yes, this part was used before, but now it's part of new code.

Please fix coding style issues

gcalenko RESOLVED r71039

oleg.egorov CLOSED

Comment by Oleg Egorov (Inactive) [ 2017 Aug 08 ]

No other issues was found

Comment by Gregory Chalenko [ 2017 Aug 28 ]

Resolved in:

  • 3.0.11rc1 r71740
  • 3.2.8rc1 r71741
  • 3.4.2rc1 r71742
  • 4.0.0alpha (trunk) r71743




[ZBX-12407] Mass-update to item type 'Zabbix agent' not possible Created: 2017 Jul 21  Updated: 2019 Dec 10

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.10, 3.4.0alpha2
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Marc Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: itemmassupdate, items, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File MassUpdateItemTypeZabbixAgentFails.png    

 Description   

Mass-updating the item type to 'Zabbix agent' fails with the error message:

Expected behavior was that the first Zabbix agent host interface of the respective host gets selected implicitly.



 Comments   
Comment by Marc [ 2017 Jul 21 ]

As glebs.ivanovskis found out, it works when having also provided a host interface in the mass-update form. Wouldn't it make sense to make the host interface selection mandatory in such cases?
However, that doesn't make sense, reps. is possible, when updating multiple items coming from different hosts.

Btw, doing the mass-update for multiple items belonging to different hosts ends successfully, if the items have been inherited by a template. While it is obvious why this is not supposed to work, I wonder whether such an action should end successfully.

So, this bug report is possibly rather about usability related to (lack of?) error messages.





[ZBX-11278] string "Original" reacts to hover in mass update forms Created: 2016 Sep 28  Updated: 2024 Apr 10  Resolved: 2019 Mar 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.4, 3.0.25rc1, 4.0.4rc1, 4.2.0alpha3
Fix Version/s: 4.0.6rc1, 4.2.0rc1, 4.2 (plan)

Type: Problem report Priority: Minor
Reporter: Aleksandrs Saveljevs Assignee: Miks Kronkalns
Resolution: Fixed Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Missing_Mass_Update.png     PNG File name_attribute.png     PNG File original.png    
Team: Team B
Sprint: Sprint 48, Jan 2019, Sprint 49 (Feb 2019), Sprint 50 (Mar 2019)
Story Points: 0.125

 Description   

Like so:

Two possible solutions were thought of at the moment:

  • remove hover
  • remove "Original" altogether


 Comments   
Comment by Aleksandrs Saveljevs [ 2016 Sep 28 ]

Originally spotted by pavela.

Comment by Miks Kronkalns [ 2019 Jan 11 ]

FIXED in development branch svn://svn.zabbix.com/branches/dev/ZBX-11278

Comment by Miks Kronkalns [ 2019 Mar 13 ]

Fixed in:

  • 4.0.6rc1 r90953, r90954
  • 4.2.0rc1 (trunk) r90955




[ZBX-10872] Can't select specific application in applications popup window Created: 2016 Jun 03  Updated: 2017 May 30  Resolved: 2016 Jun 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.4rc1, 3.2.0alpha1
Fix Version/s: 3.0.4rc1, 3.2.0alpha1

Type: Incident report Priority: Trivial
Reporter: Gunars Pujats (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: applications, items, massupdate, popups
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File snapshot1.png     PNG File snapshot2.png    

 Description   

When mass updating item applications, in applications popup window it's impossible to check specific applications. Checking one, all applications become checked. Unchecking one, all become unchecked.



 Comments   
Comment by vitalijs.cemeris (Inactive) [ 2016 Jun 06 ]

(1) No translation string changes.

gunarspujats CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2016 Jun 06 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-10872

Comment by Gunars Pujats (Inactive) [ 2016 Jun 10 ]

(2) Coding style

popup.php
:1387 - array reference is redundant
:1388, 1389 - line length, indentation

vitalijs.cemeris RESOLVED in r60597

gunarspujats CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Jun 10 ]

Successfully tested.

Comment by vitalijs.cemeris (Inactive) [ 2016 Jun 10 ]

Fixed in:

  • pre-3.0.4rc1 r60599
  • pre-3.1.0 r60600




[ZBX-10262] delta type of templated items is changable via mass update Created: 2016 Jan 14  Updated: 2017 May 30  Resolved: 2016 Mar 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.0.16, 2.2.11, 2.4.7, 3.0.0alpha6
Fix Version/s: 2.2.12rc1, 3.0.2rc1, 3.2.0alpha1

Type: Incident report Priority: Major
Reporter: MATSUDA Daiki Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: massupdate, patch, templated
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File zabbix-2.0.16-delta_unchange_template_items.patch    

 Description   

The Delta type of items which belong to template is changable via mass update on items.php.

I think it must be unchangable and attached the patch.



 Comments   
Comment by Oleksii Zagorskyi [ 2016 Jan 18 ]

Confirmed for recent 2.4 and current trunk.

Comment by richlv [ 2016 Jan 28 ]

similar - ZBX-5052, "Type of information" and "Data type" for calculated items

Comment by Ivo Kurzemnieks [ 2016 Mar 10 ]

(1) No translation string changes.

oleg.egorov CLOSED

Comment by Ivo Kurzemnieks [ 2016 Mar 10 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-10262

Comment by richlv [ 2016 Mar 10 ]

just to confirm, this is not supposed to solve ZBX-5052, right ?

iivs You're right. It's not supposed to solve it.

Comment by Oleg Egorov (Inactive) [ 2016 Mar 14 ]

TESTED

Comment by Ivo Kurzemnieks [ 2016 Mar 15 ]

Fixed in:

  • pre-2.2.12rc1 r58999
  • pre-3.0.2rc1 r59001
  • pre-3.1.0 (trunk) r59002
Comment by Ivo Kurzemnieks [ 2016 Mar 15 ]

(2) Updated API changelog 2.2 and 3.0

sasha Thanks! CLOSED





[ZBX-9958] Massupdate form redirects back to list view when form receives an error. Created: 2015 Oct 15  Updated: 2024 Apr 10  Resolved: 2017 Apr 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.0alpha3
Fix Version/s: 3.0.10rc1, 3.2.6rc1, 3.4.0alpha1

Type: Incident report Priority: Trivial
Reporter: Ivo Kurzemnieks Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: forms, frontend, hostmassupdate, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team B
Sprint: Sprint 4, Sprint 5, Sprint 6
Story Points: 0.5

 Description   

When a form receives an error, it should stay on that form and not go back to list view. For example item massupate forms works correctly.



 Comments   
Comment by Miks Kronkalns [ 2017 Mar 30 ]

(1) no translation string changes

sasha CLOSED

Comment by Miks Kronkalns [ 2017 Mar 30 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-9958

Comment by Miks Kronkalns [ 2017 Apr 27 ]

Fixed:

  • 3.0.10rc1 r67636
  • 3.2.6rc1 r67642
  • 3.4.0alpha1 (trunk) r67644




[ZBX-9826] Incorrect frontend message when doing mass update for the hosts created by an LLD rule. Created: 2015 Aug 28  Updated: 2017 May 30

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.4.6
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Oleg Ivanivskyi Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: lld, massupdate, prototype, vmware
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File message.png    

 Description   

Mass update action generates incorrect frontend message for the hosts created by the LLD rule:
select several discovered VMware guest VMs --> Mass update --> Try to change host group or enable inventory --> Frontend will generate "Hosts updated" message, but will not do this change.
It is misleading and some error message should be generated.






[ZBX-9070] Visual issue in host mass update Created: 2014 Nov 24  Updated: 2019 Dec 10

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.8rc1
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Oleg Egorov (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: host, massupdate, multiselect
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 22_issue.png    

 Description   

Configuration->Hosts->Mass update
Visual issue, "select" link as default is not hidden






[ZBX-8860] Mass update: flexible intervals are not updated Created: 2014 Oct 07  Updated: 2017 May 30  Resolved: 2014 Oct 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.3, 2.2.4, 2.2.5, 2.2.6
Fix Version/s: 2.2.7rc1

Type: Incident report Priority: Trivial
Reporter: Wojciech Selwa Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: flexibleintervals, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Zabbix 2.2.2, Debian Wheezy, virtual machine (4vCPU, 10GB RAM, 100Mbit/s)



 Description   

How to reproduce:
Mark 2 or more items
select "mass update" and go
add new flexible intervals
click update - zabbix display an information that items are updated
click on one of this updated item separately and flexible intervals it wasn't updated

Version of my Zabbix: 2.2.2,
I found thread in zabbix forum that another people have the same issue.
Here's the url: https://www.zabbix.com/forum/showthread.php?t=44038



 Comments   
Comment by richlv [ 2014 Oct 07 ]

seems to be reproducible in 2.2 branch r49611.

Comment by Alexander Vladishev [ 2014 Oct 08 ]

works fine in 2.4 and trunk

Comment by Wojciech Selwa [ 2014 Oct 08 ]

So if i want it fixed in my zabbix. I have to upgrade zabbix frontend?
Using this how to? https://www.zabbix.com/documentation/2.4/manual/installation/upgrade

Alexander - do you fixed this right now in this version 2.4 or it was already done?

Comment by richlv [ 2014 Oct 08 ]

please use zabbix community support channels via forums, irc and other means - see https://www.zabbix.org/wiki/Getting_help for more detail

Comment by Krists Krigers (Inactive) [ 2014 Oct 08 ]

Fixed in r49682, branch svn://svn.zabbix.com/branches/dev/ZBX-8860 (copy of branches/2.2).

Comment by Wojciech Selwa [ 2014 Oct 08 ]

I upgraded zabbix to 2.2.6 from debian wheezy repo and it's fixed Thanks

Comment by Krists Krigers (Inactive) [ 2014 Oct 08 ]

Are You sure it is fixed? Because if it is, then it is really strange, as the bug causing this is present in 2.2.6 (but IS fixed in 2.4).

Comment by Wojciech Selwa [ 2014 Oct 08 ]

Sorry i wrote this too fast.
I don't know why, but it works for only one time

I marked two items, added flexible intervals -> update and it works so i wrote about this.
Later I marked 7 items, added flexible intervals -> update and it works fine only for 4 of them, for the last 3 items this didn't work.
Now i tried added flexible intervals again only for two items or even 19, but again don't works.

Comment by Krists Krigers (Inactive) [ 2014 Oct 08 ]

Behavior You describe is weird.
But anyway - fix for this will go into 2.2.7, which should be available soon.

Comment by Krists Krigers (Inactive) [ 2014 Oct 10 ]

Fixed and merged to 2.2.7rc1 in r49751.





[ZBX-8769] Unable to access all groups when mass update trigger dependencies Created: 2014 Sep 17  Updated: 2017 May 30  Resolved: 2014 Sep 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.3
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Trey Dockendorf Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: massupdate, popups, triggerdependencies
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 6.5 x86_64


Issue Links:
Duplicate
duplicates ZBX-8158 Cannot select triggers from disabled ... Closed

 Description   

When I perform a Mass Update on triggers, then select "Add" for trigger dependencies, the popup drop-down for "Group" only contains groups that have monitored hosts. All templates are in their own Host Group and they are not visible in the pop up.

I noticed the "Add" link had the following javascript.

PopUp("popup.php?dstfrm=massupdate&dstact=add_dependency&reference=deptrigger&dstfld1=new_dependency[]&srctbl=triggers&objname=triggers&srcfld1=triggerid&multiselect=1&monitored_hosts=1&with_triggers=1", 1000, 700)

If I modify "monitored_hosts=1" to "monitored_hosts=0" , and execute that java script in a javascript console, the popup produced contains all host groups in the "Group" dropdown.

I am running Zabbix 2.2.1



 Comments   
Comment by Trey Dockendorf [ 2014 Sep 17 ]

Looking at HostGroup API documentation, the use of "monitored_hosts" seems unnecessary when "with_triggers" is used to populate list of Groups when mass updating triggers.

The following change resolves this for me.

--- include/views/configuration.triggers.massupdate.php.orig    2014-09-16 17:08:28.918087679 -0500
+++ include/views/configuration.triggers.massupdate.php 2014-09-16 17:28:23.390003041 -0500
@@ -118,7 +118,6 @@
                                        '&objname=triggers'.
                                        '&srcfld1=triggerid'.
                                        '&multiselect=1'.
-                                       '&monitored_hosts=1'.
                                        '&with_triggers=1", 1000, 700);',
                                'link_menu'
                        )
Comment by Alexander Vladishev [ 2014 Sep 17 ]

It is a duplicate of ZBX-8158. I close the issue.





[ZBX-8756] Cannot mass update host inventory Created: 2014 Sep 15  Updated: 2017 May 30  Resolved: 2014 Sep 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.4.0
Fix Version/s: None

Type: Incident report Priority: Critical
Reporter: Alexander Vladishev Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: massupdate, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-8753 Unable to use mass update for multipl... Closed

 Description   

List of hosts was displayed after change "Inventory mode" in Mass update form.



 Comments   
Comment by richlv [ 2014 Sep 16 ]

closing as a duplicate of ZBX-8753





[ZBX-8753] Unable to use mass update for multiple hosts to change inventory information Created: 2014 Sep 15  Updated: 2017 May 30  Resolved: 2015 Jan 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.4.0
Fix Version/s: 2.4.1rc1, 2.5.0

Type: Incident report Priority: Minor
Reporter: Jan Gerssen Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: massupdate, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-8756 Cannot mass update host inventory Closed
is duplicated by ZBX-8868 Mass update of Inventory mode is not ... Closed

 Description   

When you select multiple hosts in ZABBIX and use 'Mass update' to change specific inventory information by selecting 'Manual' or 'Automatic' the ZABBIX view will bring you back to the list of hosts.

The hosts you have selected are still selected.
We use this to change the contact information for more than one host at the time, but in 2.4 it doesn't work at this moment.



 Comments   
Comment by Alexander Vladishev [ 2014 Sep 16 ]

Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-8753

Comment by Pavels Jelisejevs (Inactive) [ 2014 Sep 17 ]

The fix for 2.4 is TESTED. A different fix will be made for 2.5.

Comment by Alexander Vladishev [ 2014 Sep 18 ]

Fixed in pre-2.4.1 r49111.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Oct 13 ]

RESOLVED for trunk in svn://svn.zabbix.com/branches/dev/ZBX-8753.

Comment by Alexander Vladishev [ 2014 Oct 14 ]

Successfully tested. Please review my changes in r49841.

jelisejev Reviewed, thanks.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Oct 16 ]

Fixed in 2.5 r49940.

CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Oct 16 ]

Documented form improvement in https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300#miscellaneous_improvements

Comment by richlv [ 2014 Oct 17 ]

(2) while it says that the fix was different for 2.5.0, i believe the problem fixed was the same - if so, we should not have changelog entry for 2.5.0 (and the entries are different for 2.5 and 2.4 sections)

jelisejev Fixed directly in trunk r50025. CLOSED.

Comment by Oleg Egorov (Inactive) [ 2015 Jan 07 ]

(3) Removed console.log
Please review my changes in 2.5.0(trunk) r51438

sasha Thanks! CLOSED





[ZBX-8716] Don't work "Replace depenencies" in trigger mass update Created: 2014 Sep 04  Updated: 2017 May 30  Resolved: 2014 Sep 04

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

Type: Incident report Priority: Blocker
Reporter: Oleg Egorov (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: massupdate, triggerdependencies, triggermassupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In popup window press "select".



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2014 Sep 04 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-8716.

Comment by Krists Krigers (Inactive) [ 2014 Sep 05 ]

TESTED.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Sep 05 ]

Fixed in 2.5.6 r48822.

CLOSED.





[ZBX-8235] passive agent items from template stop monitoring if mass updated to active agent items Created: 2014 May 21  Updated: 2017 May 30  Resolved: 2015 Dec 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 2.0.12, 2.2.3
Fix Version/s: 2.0.16rc1, 2.2.11rc1, 2.4.7rc1, 3.0.0alpha4

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


 Description   

Suppose we have a template with passive agent items linked to a host. Now, on the host level, let's try to mass update these items to make them active agent items.

Type change will not succeed, because these items come from a template. However, monitoring of these items stops, because they lose their interface - "items.interfaceid" field becomes NULL.



 Comments   
Comment by Gunars Pujats (Inactive) [ 2015 Aug 12 ]

(1) No translation strings changed.

iivs CLOSED

Comment by Gunars Pujats (Inactive) [ 2015 Aug 12 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-8235

Comment by Ivo Kurzemnieks [ 2015 Oct 29 ]

(2) Other fields were affected too. I corrected coding style and improved commentary in r56425, please review.

gunarspujats CLOSED

Comment by Ivo Kurzemnieks [ 2015 Oct 29 ]

TESTED,

but close (2) before merging.

Comment by Gunars Pujats (Inactive) [ 2015 Oct 29 ]

Fixed in:

  • pre-2.0.16rc1 r56433
  • pre-2.2.11rc1 r56435
  • pre-2.4.7rc1 r56436
  • pre-3.0.0alpha4 (trunk) r56437
Comment by Gunars Pujats (Inactive) [ 2015 Oct 29 ]

(3) API documentation:

iivs Thanks!
CLOSED





[ZBX-8116] host.massupate method validation ignores host visible name Created: 2014 Apr 17  Updated: 2019 Dec 10

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.2.4rc1, 2.3.0
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Ivo Kurzemnieks Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: api, host, massupdate, validation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-3783 Proper API validation Reopened

 Description   

Create two hosts named "host1" and "host2" and try to rename "host2" with visible name "host1". When performing create or update methods, host visible name is being validated correctly and will display error. But when performing host.massupdate, this validation is skipped allowing to update host visible name to an existing one.






[ZBX-8045] Mass update form fields are hidden with enabled checkboxes after page refresh Created: 2014 Apr 07  Updated: 2022 Sep 09  Resolved: 2022 Sep 06

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.4rc1, 2.3.0
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Ivo Kurzemnieks Assignee: Unassigned
Resolution: Unsupported version Votes: 0
Labels: frontend, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File mass_update_checkboxes_fields.png    

 Description   

Select something for mass update. For example items or triggers. In mass update form enable few checkboxes. Now simply refresh page. Cheboxes remain enabled, but fields are hidden. In order to see fields, they now need to be unchecked. See attached image.



 Comments   
Comment by Ivo Kurzemnieks [ 2022 Sep 06 ]

In newer versions starting from 5.4 the massupdate form is now in modal window, so page refresh simply closed the popup. In for example 4.4-5.2 this issue is no longer reproducible.
Closing the issue.





[ZBX-8001] Cosmetic Bug in Mass Update - Inventory Created: 2014 Mar 30  Updated: 2017 May 30  Resolved: 2014 Mar 31

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

Type: Incident report Priority: Trivial
Reporter: Adail Horst Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: fallback, massupdate, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian + MySQL + Chrome



 Description   

When we try to run a mass update on hosts to update Inventory Data the page reload and not show inventory tab, we need to click again on inventory tab:

Steps:
Go to Hosts page;
Select 2 hosts;
Select: Mass Update;
Click: GO
Click on "Inventory" tab;
Check "Inventory Mode";
Select "Manual"

Page reload and back to tab "Host".



 Comments   
Comment by richlv [ 2014 Mar 31 ]

just for the record, reproducible in trunk r43873.

Comment by Ivo Kurzemnieks [ 2014 Mar 31 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-8001

Comment by Ivo Kurzemnieks [ 2014 Mar 31 ]

(1) No translatable strings changed.

oleg.egorov CLOSED

Comment by Adail Horst [ 2014 Mar 31 ]

"uau"

Very Fast !

Comment by Oleg Egorov (Inactive) [ 2014 Apr 01 ]

TESTED

Comment by Ivo Kurzemnieks [ 2014 Apr 01 ]

Host massupdate inventory tab will no longer reset after chosing an inventory mode.

Fixed in pre-2.3.0 (trunk) r43940





[ZBX-7997] Cannot mass update applications for template items Created: 2014 Mar 28  Updated: 2017 May 30  Resolved: 2014 Apr 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.3rc1, 2.3.0
Fix Version/s: 2.2.4rc1, 2.3.0

Type: Incident report Priority: Minor
Reporter: Pavels Jelisejevs (Inactive) Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: frontend, items, massupdate, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When mass updating template items the rows for updating applications do not appear.



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2014 Mar 28 ]

Must be fixed after ZBX-7545 is closed.

Comment by Ivo Kurzemnieks [ 2014 Apr 07 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7997

Comment by Ivo Kurzemnieks [ 2014 Apr 07 ]

(1) Translatable string added: 'new'

Eduards Same translation also will be good to use in host muss update

iivs RESOLVED in r44304

Eduards CLOSED

Comment by Eduards Samersovs (Inactive) [ 2014 Apr 09 ]

(2) Application mass update doesn't work for multiple hosts

iivs RESOLVED in r44303

Eduards REOPEN, Why you need two variables? Why need calculate template count if host count > 1?

iivs There was also another bug, if you select items from filter, then 'hostid' was missing and applications couldn't be selected.

RESOLVED in r44426

Eduards CLOSED

Comment by Eduards Samersovs (Inactive) [ 2014 Apr 15 ]

(3) Seems this code from items.php:885-897 can be removed

	// application
	if (count($data['applications']) == 0) {
		array_push($data['applications'], 0);
	}
	if (!empty($data['hostid'])) {
		$data['db_applications'] = DBfetchArray(DBselect(
			'SELECT a.applicationid,a.name'.
			' FROM applications a'.
			' WHERE a.hostid='.zbx_dbstr($data['hostid'])
		));
		order_result($data['db_applications'], 'name');
	}

iivs RESOLVED in r44489
Eduards CLOSED

Comment by Eduards Samersovs (Inactive) [ 2014 Apr 16 ]

Tested

Comment by Ivo Kurzemnieks [ 2014 Apr 16 ]

Applications multiselect is now displayed in template item mass update form.

Fixed in pre-2.2.4rc1 r44540 and pre-2.3.0 (trunk) r44541





[ZBX-7709] deadlock when removing resources not discovered anymore with low-level discovery Created: 2014 Jan 27  Updated: 2019 Feb 22  Resolved: 2019 Feb 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.0.11rc1
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: Aleksandrs Saveljevs Assignee: Zabbix Development Team
Resolution: Cannot Reproduce Votes: 0
Labels: deadlock, lld, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In our testing environment, we have 100 hosts linked to a template with 1 discovery rule.

At first, each discovery rule generated 100 entities. Then, we made the discovery rule generate only 10 entities, which means that undiscoverable entities had to be removed.

This resulted in a big load on the database and the following errors showed up in the server log file:

29695:20140127:173712.267 [Z3005] query failed: [-1] ORA-00060: deadlock detected while waiting for resource [delete from sysmaps_elements where elementtype=2 and elementid between 68878 and 68972]



 Comments   
Comment by Aleksandrs Saveljevs [ 2014 Jan 27 ]

As a continuation to ZBX-7109, we might wish to mass delete undiscoverable resources.

Comment by Alexander Vladishev [ 2019 Feb 22 ]

Cannot reproduce in version 4.0.5. Possible it was fixed in ZBX-9623.





[ZBX-7701] Makes changes to templates links to large numbers of hosts is very slow Created: 2014 Jan 24  Updated: 2017 May 30  Resolved: 2015 Aug 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 2.0.9
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Corey Shaw Assignee: Unassigned
Resolution: Duplicate Votes: 2
Labels: massupdate, performance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-6118 Very low performance changing templat... Closed

 Description   

Possibly this is related to ZBX-7700.

Making changes to graphs/items/triggers on a template which is linked to large numbers of hosts can take a long time. Here are a couple of examples:

1. Changing a graph item line to be a different color and changing the graph height to a different number took 40+ seconds to save. The template is inherited by around 4200 hosts
2. Adding a new trigger to a template which is linked to 4200+ hosts took around 2.5 minutes to do.

Just as in ZBX-7700, there are no DB problems. It's just ridiculously slow to do these processes. I don't have the callgraphs for these processes, but I'm willing to bet they'd see the same issues as ZBX-7700.

To make this worse, these processes cause various tables in the database to be locked while they run. For example, the hosts/items tables can get locked. Having locks prevents data from getting into the tables and creates even more slowness on the UI. Right now, I have to seriously consider doing manual database queries to make changes at times just so I don't hose the Zabbix system by doing the changes through the UI.



 Comments   
Comment by Florian Koch [ 2014 Jan 25 ]

Hi,

i can confirm this..and with postgresql as database , the chance to get deadlogs are high.

regards flo

Comment by Oleksii Zagorskyi [ 2015 Aug 28 ]

ZBX-6118 was existing earlier, so closing current issue as duplicate.





[ZBX-7639] cannot use both "Replace host groups" and "Add new or existing host groups" in host mass update Created: 2014 Jan 10  Updated: 2017 May 30  Resolved: 2014 Jan 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.1
Fix Version/s: 2.2.2rc1, 2.3.0

Type: Incident report Priority: Major
Reporter: Aleksandrs Saveljevs Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File mass-update.png    

 Description   

Suppose we wish to mass update some hosts: replace all of their groups with a new group. The only way to achieve that in mass update seems to be by leaving "Replace host groups" blank and entering the new group into "Add new or existing host groups" field. However, if we now click "Update", we get an error (see mass-update.png).



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2014 Jan 21 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7639.

Comment by Eduards Samersovs (Inactive) [ 2014 Jan 22 ]

Tested

Comment by Pavels Jelisejevs (Inactive) [ 2014 Jan 22 ]

Fixed in 2.2.2rc1 r41746 and 2.3.0 r41747.

CLOSED.





[ZBX-7545] Mass updating items may lead to (configuration) data loss Created: 2013 Dec 14  Updated: 2017 May 30  Resolved: 2014 Apr 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.10
Fix Version/s: 2.2.4rc1, 2.3.0

Type: Incident report Priority: Major
Reporter: Marc Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: massupdate, patch, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File ZBX-7545-2.0.10.patch     PNG File ZBX-7545.png    

 Description   

Mass update form may initially appear with all fields available before imploding them (in my case for ~10 sec).
When one does not pay attention to that, enters the values and hit the update button before loading has finished, then all unchanged fields are updated to their default values.

If it's technically not possibly to show the final form when ready it could probably a work-around to disable the update button until then.



 Comments   
Comment by Marc [ 2013 Dec 14 ]

Happens only when user is member of a group with 'Debug mode' enabled.
Possibly connected to ZBX-5735?
Anyhow, haven't taken a look at ZBX-5735 yet.

Now I'm pretty sure it's caused by over-stressing the browser.

Gotcha! I don't think it's intended that way:

--- SNIP Debug output ---

6. item->get [items.php:721]
Parameters:

Array
(
    [itemids] => 
    [output] => Array
        (
            [0] => itemid
            [1] => type
        )

)
--- SNAP Debug output ---

Now I've to find out if it's my fault...
All fits toghether: happens only when updating item(s) in template

Hmm... that's not good in case of a template item because $data['hosts'] will be NULL:

--- SNIP items.php ---

        // hosts
        $data['hosts'] = API::Host()->get(array(
                'itemids' => $data['itemids'],
                'selectInterfaces' => API_OUTPUT_EXTEND
        ));
        $data['is_multiple_hosts'] = count($data['hosts']) > 1;
        if (!$data['is_multiple_hosts']) {
                $data['hosts'] = reset($data['hosts']);

                // set the initial chosen interface to one of the interfaces the items use
                $items = API::Item()->get(array(
                        'itemids' => zbx_objectValues($data['hosts']['items'], 'itemid'),
                        'output' => array('itemid', 'type')
                ));

--- SNAP items.php ---
Comment by Volker Fröhlich [ 2013 Dec 15 ]

I confirm the behaviour for 2.0.8 and 2.2.1. It's only 3 seconds on my side though.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Mar 28 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7545.

The problem was that when trying to mass update items from a template, the frontend performed an API request on items.php:834 that returned all of the items. When debug mode was enabled and there were a lot of items, that caused a considerable lag in the browser and the form was rendered with a delay.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Mar 28 ]

Marc, thanks for pointing out the problem, otherwise I would be having trouble figuring out what caused it.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Mar 28 ]

When fixing the issue I've discovered a related bug - ZBX-7997, but it will be fixed in a separate issue in 2.3.0 only.

<richlv> if it's about application updating in templates, that seems to be a regression from this issue - worked just fine before r44119

jelisejev Hm, I was sure I was able reproduced the issue before. When, anyway, now it will be handled in ZBX-7997.

Comment by Ivo Kurzemnieks [ 2014 Mar 28 ]

TESTED.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Apr 07 ]

Fixed in 2.2.4rc1 r44119 and 2.3.0 r44120.

CLOSED.

Comment by richlv [ 2014 Apr 14 ]

(1) regression - can't add/replace applications (mass update lost those two checkboxes)

jelisejev This will be fixed in ZBX-7997. CLOSED.





[ZBX-6585] Incorrect validation messages Created: 2013 May 08  Updated: 2017 May 30  Resolved: 2013 Jun 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.1.0
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Oleg Egorov (Inactive) Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: item, massupdate, message
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Items mass update:
Updated: Item "Zabbix queue over $2" on "Template App Zabbix Server".
Updated: Item "Zabbix queue over $2" on "Zabbix server".
Application with ID "179" is not available on "Zabbix server".



 Comments   
Comment by Oleg Egorov (Inactive) [ 2013 Jun 03 ]

Message is correct
CLOSED





[ZBX-6401] Permission issues when updating hosts linked to a template Created: 2013 Mar 15  Updated: 2019 Aug 28  Resolved: 2019 Aug 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.0.5, 2.1.0
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Pavels Jelisejevs (Inactive) Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: api, massupdate, permissions, template, update
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I have a template with RW permissions linked to a host with R permissions. When I'm calling template.update with the "hosts" parameter trying to replace the linked hosts, the R host gets unlinked from the template. If I have no permissions to the host, it is not affected, which it correct.

When calling update and massupdate to replace related objects, existing objects that we don't have permissions to must not be affected. This problem may also exist in other methods, for instance, when assigning hosts to proxies, etc.



 Comments   
Comment by richlv [ 2013 Mar 15 ]

what should happen if we would try to update item key in such a template ?

jelisejev Not sure, but this is a matter of how permissions should affect inheritance. That's a different story.

<richlv> ah, right, i misread the issue

Comment by Pavels Jelisejevs (Inactive) [ 2014 Jul 15 ]

Another related issue to consider when fixing this bug - ZBX-8448.

Comment by Vladislavs Boborikins (Inactive) [ 2019 Aug 28 ]

Hello,

Since this version of Zabbix is no longer supported, we've decided not to prioritize this bug for the near future and close the issue with "Won't fix" resolution.

Please let us know if this decision should be reconsidered.

Regards
Vladislavs





[ZBX-6313] mass update for hosts - disappeared "IP/DNS connect to" change feature Created: 2013 Feb 22  Updated: 2019 Dec 10

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.5
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Unresolved Votes: 3
Labels: autoregistration, dns, interfaces, massupdate, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

I need to change IP/DNS connect to mode for bunch of hosts. It doesn't matter how many are and which type of interfaces - I need to change the mode for all interfaces for all selected hosts.
But hosts mass update doesn't provide such possibility.

Why I need it ? See:
I'm using network discovery and/or active agent auto-registration and all hosts added with IP connect to mode only.
As I see it's hardcoded in function "add_discovered_host" - a line called: DBadd_interface(hostid, interface_type, 1, row[2], row[3], port);

But I need to monitor all discovered/registered hosts by DNS instead of IP.
Well, this can be another feature request (more settings for "add host" action operation), but I still need mass update for interfaces



 Comments   
Comment by Oleksii Zagorskyi [ 2013 Feb 24 ]

ohhh, I've just realized that in version 1.8 we had "Connect to" change possibility but it disappeared in 2.0 (support of multiple interfaces introduced) so this fact allows me to consider this case as a regression -> moved to ZBX project

Comment by Oleksii Zagorskyi [ 2013 May 10 ]

ZBXNEXT-1740 asks about the feature I described at the end of issue description





[ZBX-6118] Very low performance changing template linked with many hosts Created: 2013 Jan 14  Updated: 2024 Apr 10  Resolved: 2018 Feb 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.5rc1, 2.1.0
Fix Version/s: 3.4.8rc1, 4.0.0alpha4, 4.0 (plan)

Type: Problem report Priority: Critical
Reporter: Oleksii Zagorskyi Assignee: Alexander Vladishev
Resolution: Fixed Votes: 14
Labels: massupdate, performance, templatelinking
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RedHat OS
MySQL Percona 5.5.29.
Related PHP conf: 1GB memory_limit, 1h max_execution_time
Database installed in a 64GB RAM and SSD-only server.

my.cnf has been tunned well.


Issue Links:
Causes
causes ZBX-14896 after ZBX-6118, still low performance... Closed
causes ZBX-14865 importing template error - Field "par... Closed
Duplicate
duplicates ZBX-2494 deadlock between server and frontend Closed
is duplicated by ZBX-9620 Zabbix database server CPU 100%,when ... Closed
is duplicated by ZBX-7701 Makes changes to templates links to l... Closed
is duplicated by ZBX-13348 Low performance creating Graph in tem... Confirmed
is duplicated by ZBX-13349 Low performance creating Web Scenari... Confirmed
Team: Team B
Sprint: Sprint 24, Sprint 25, Sprint 26, Sprint 27
Story Points: 4

 Description   

Only Zabbix Super Admin used always !

On 2.0.3:
We have a host template with 50 items and 10 triggers linked to 20.000 hosts approx.
When we create/modify/delete an item/trigger the process fails after a long while (>30mins) and huge memory/cpu usage.

With templates linked to less hosts (~100 hosts) everything works fine.

On 2.0.5rc1 rev ~32712 (included bunch of expected performance improvements):
We tried 2.0.5rc1 and it doesn't solve the problem:
we change an item in a template linked to 10.000 hosts and it takes approx 20 minutes which is too long for the user to wait.
we change an item in a template linked to 20.000 hosts and after a while (and huge cpu load) the process fails leaving just some hosts with the new added item.



 Comments   
Comment by Oleksii Zagorskyi [ 2013 Jan 16 ]

The problem now is the timeout. The memory problem existed before but we solved it increasing the corresponding parameter. Now the problem is that it takes more than 30min.

Comment by Marc [ 2013 Jul 17 ]

Maybe ZBX-6774 could here be helpful as well...

Comment by Sergey Ganenko [ 2014 Jul 17 ]

I also encountered this problem, template linked to ~19000 hosts, the process of modify template fails after >30 min.
I solved this problem only into groups attached to different identical templates, but this workaround.
maybe there is another solution this problem?

Comment by waydeechen [ 2015 Jul 15 ]

could this issue be optimized ?

the hosts linked to linux template is very large, and i can not modify the template

now i split linux template to ten templates, but this does not solve the problem,please help

Comment by Marc [ 2015 Jul 15 ]

I believe ZBXNEXT-2519 is the way to go for.

Comment by waydeechen [ 2015 Oct 29 ]

Does zabbix 3.0 resolved this problem ?

Comment by Marc [ 2015 Nov 18 ]

waydeechen,

it's not on the roadmap (anymore).

Comment by Oleksii Zagorskyi [ 2016 Mar 14 ]

ZBX-7700 is a bit related to this one

Comment by zhang [ 2016 Jul 16 ]

I also encountered this problem. We have a very large environment(~ 16141 hosts), when "unlink and clear" template from host, it never be successful!

Comment by richlv [ 2016 Oct 14 ]

it might be worth closing this one in favour of the older ZBX-5640 and handling generally bad api performance there

Comment by Alexander Vladishev [ 2018 Jan 14 ]

(1) Translation strings changes

Strings added:

  • Item prototype "%1$s" already exists on "%2$s", linked to another rule.

Strings deleted:

  • Created: Discovery rule "%1$s" on "%2$s".
  • Created: Item "%1$s" on "%2$s".
  • Created: Item prototype "%1$s" on "%2$s".
  • Deleted: Discovery rule "%1$s" on "%2$s".
  • Deleted: Item "%1$s" on "%2$s".
  • Deleted: Item prototype "%1$s" on "%2$s".
  • Updated: Discovery rule "%1$s" on "%2$s".
  • Updated: Item "%1$s" on "%2$s".
  • Updated: Item prototype "%1$s" on "%2$s".

HunterCRS CLOSED

Comment by Alexander Vladishev [ 2018 Jan 14 ]

Available in development branch svn://svn.zabbix.com/branches/dev/ZBX-6118.

Improved performance of create(), update() and template linkage methods for item, discoveryrule and itemprototype classes.

Comment by Alexander Vladishev [ 2018 Jan 15 ]

Related issue: ZBX-13335.

Comment by Alexander Vladishev [ 2018 Feb 17 ]

Available in 3.4.8rc1 r77777 and 4.0.0alpha4 (trunk) r77778.

Comment by Sergei Prutskikh [ 2018 Jul 31 ]

This problem also connected to triggers. Did you solve this problem for update triggers also?

Comment by Oleksii Zagorskyi [ 2018 Sep 24 ]

just to keep things linked, related performance issue - ZBX-14648 "slow deletion of item in template linked to many hosts"

Comment by Oleksii Zagorskyi [ 2018 Sep 24 ]

The performance issue will be considered again in a ZBX-14896





[ZBX-5793] The "Go" button shows elements count from previous template when selecting linked template Created: 2012 Nov 02  Updated: 2017 May 30  Resolved: 2015 Mar 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.1.0
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: dimir Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This happens when e. g. viewing template items, selecting some of them and then selecting a linked template from the list. Works the same way with triggers, discovery rules etc.

Steps to reproduce (with default template set):

1. Go to "Configuration" -> "Templates".
2. Click "Items" of "Template OS Linux".
3. Select all items.
4. The "Go" button should show the number of selected items, e. g. "Go (32)".
5. Find an item from linked template and click the template name, e. g. " Template App Zabbix Agent".
6. The view switches to a new list of items but the button still shows "Go (32)". Selecting all items now adds their count to "32".

Observed in trunk, did not check neither 1.8 nor 2.0 .



 Comments   
Comment by Alexei Vladishev [ 2012 Nov 07 ]

Same happens in 2.0.3.

Comment by Alexander Vladishev [ 2015 Mar 08 ]

Already fixed in 2.2.0. Possible with ZBX-6663.





[ZBX-5060] Cannot Mass Update Inventory Mode Created: 2012 May 24  Updated: 2017 May 30  Resolved: 2012 Jun 28

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

Type: Incident report Priority: Critical
Reporter: Marc Herren Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: inventory, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Selecting multiple hosts -> Mass Update Inventory Mode

Disable fails with : Cannot perform update statement on table "hosts" without values. [CHost.massUpdate -> DB.update]

Manual works fine as long as I select a column to modify



 Comments   
Comment by Oleksii Zagorskyi [ 2012 May 27 ]

Confirmed

Comment by Jori Hämäläinen [ 2012 Jun 15 ]

Why cannot there be global default for inventory-mode via Admin-menu and you could set it to automatic. As I run everything on autodiscovery I do not want even to massupdate.

Comment by richlv [ 2012 Jun 25 ]

feature request for default is ZBXNEXT-1241

Comment by Toms (Inactive) [ 2012 Jun 28 ]

Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-5060

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jun 29 ]

(1) Now we can't update inventory data without the "inventory_mode" parameter.

<Toms> RESOLVED in r28581

<pavels> CLOSED.

Comment by Toms (Inactive) [ 2012 Jul 02 ]

Fixed in 2.0.2rc1 r28592 and 2.1.0 r28593





[ZBX-5052] Incorrect "Type of information" and "Data type" for calculated items can be set using mass update Created: 2012 May 23  Updated: 2019 Aug 28  Resolved: 2019 Aug 28

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

Type: Incident report Priority: Blocker
Reporter: Alexey Fukalov Assignee: Unassigned
Resolution: Won't fix Votes: 1
Labels: calculateditems, items, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by Alexander Vladishev [ 2012 May 24 ]

API should be also checked.

Comment by richlv [ 2016 Jan 28 ]

similar - ZBX-10262, delta type of templated items

Comment by richlv [ 2017 Apr 16 ]

related : ZBX-12057

Comment by Vladislavs Boborikins (Inactive) [ 2019 Aug 28 ]

Hello,

Since this version of Zabbix is no longer supported, we've decided not to prioritize this bug for the near future and close the issue with "Won't fix" resolution.

Please let us know if this decision should be reconsidered.

Regards
Vladislavs





[ZBX-5029] Item can be assigned to incorrect type interface Created: 2012 May 21  Updated: 2017 May 30  Resolved: 2012 May 28

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

Type: Incident report Priority: Critical
Reporter: Alexey Fukalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:
1. have a host with agent item inherited from linked template and 2 interfaces: agent and snmp
2. mass update item and set type to snmp and interface to snmp interface
3. item type is not updated as it's inherited item, but interface is changed to snmp



 Comments   
Comment by Alexey Fukalov [ 2012 May 24 ]

(1)
Cannot mass update interface for items that accept any interface.

<pavels> RESOLVED.

<Vedmak> CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2012 May 29 ]

Fixed in trunk r27909 and 2.0 r27912.

CLOSED.





[ZBX-5025] Undefined index when mass updating triggers Created: 2012 May 21  Updated: 2017 May 30  Resolved: 2012 May 21

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

Type: Incident report Priority: Major
Reporter: Pavels Jelisejevs (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: frontend, massupdate, trigger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-4956 Cannot change case in a trigger descr... Closed

 Description   

When trigger severity via a mass update, I receive the following error:

Undefined index: expression [api/classes/CTriggerExpression.php:14]



 Comments   
Comment by Alexander Vladishev [ 2012 May 21 ]

The problem appeared after implementation of ZBX-4956

Comment by Pavels Jelisejevs (Inactive) [ 2012 May 21 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-5025.

Comment by Toms (Inactive) [ 2012 May 21 ]

TESTED





[ZBX-4821] Mass update: flexible intervals was updated with an unchecked checkbox Created: 2012 Apr 02  Updated: 2017 May 30  Resolved: 2012 Apr 02

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

Type: Incident report Priority: Critical
Reporter: Alexander Vladishev Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

How to reproduce:

  • in an items list select few items
  • select Mass update and click Go
  • select Flexible intervals
  • add new Flexible intervals
  • uncheck Flexible intervals
  • click Update

Debug info:

UPDATE items SET delay_flex='50/1-7,00:00-24:00', itemid='22192', flags='0', key_='trap5', hostid='10047', interfaceid=NULL WHERE (itemid IN ('22192'))
...
UPDATE items SET delay_flex='50/1-7,00:00-24:00', itemid='22193', flags='0', key_='trap6', hostid='10047', interfaceid=NULL WHERE (itemid IN ('22193'))
...



 Comments   
Comment by richlv [ 2012 Apr 02 ]

do we also have to set key and other fields in this case ?

<Vedmak> not really, but it's general API problem.

Comment by Alexey Fukalov [ 2012 Apr 02 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4821

Comment by Alexander Vladishev [ 2012 Apr 02 ]

(1) Cannot clear flexible intervals by using a Mass update form

<Vedmak> RESOLVED
<Sasha> CLOSED

Comment by Alexander Vladishev [ 2012 Apr 02 ]

Successfully tested! Please review my changes in r26554.

Comment by Alexey Fukalov [ 2012 Apr 03 ]

svn://svn.zabbix.com/trunk 26560





[ZBX-4788] Dependency mass update removes severity of updated triggers Created: 2012 Mar 20  Updated: 2017 May 30  Resolved: 2012 Mar 22

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

Type: Incident report Priority: Minor
Reporter: Simon Kowallik Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: dependencies, frontend, massupdate, trigger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

v2.0.0rc2 (revision 26213)



 Description   

When using "mass update" to modify dependencies of triggers, the severity is reset to "Not classified".



 Comments   
Comment by Alexander Vladishev [ 2012 Mar 22 ]

(1) Please review my changes in r26324.

<pavels> Good, CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 22 ]

Fixed in trunk r26326.

CLOSED.





[ZBX-4739] Mass updates fail with many items selected Created: 2012 Mar 08  Updated: 2017 May 30  Resolved: 2012 Apr 03

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: Trivial
Reporter: Jens Berthold Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: massupdate, pagination, subfilter
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 a subfilter is active and some items are selected, a click on "Mass update" just resets the subfilter.
The items are still selected and the next click on the button performs the mass update.

Related:
When there are many items and pagination is taking place, then the final mass update seems only to update the items on the current page.
The pages have to be switched and the mass update has to be done for every page (items remain selected correctly).



 Comments   
Comment by Jens Berthold [ 2012 Mar 08 ]

Please note that this bug is related, but not equal to ZBX-1158.
By the way: is it possible to change my own issues after I created them?

Comment by richlv [ 2012 Mar 12 ]

do you mean clicking on "go" with subfilter activated ? if so, couldn't reproduce that in trunk rev 25955.

also couldn't reproduce issue with mass update not working properly with selection over multiple pages, works just fine here with same trunk revision

oh, opera 11.60 on linux - which browser are you using ?

Comment by Jens Berthold [ 2012 Mar 12 ]

Yes, I mean clicking "Go".
I currently use Firefox 9.0.1 under Linux Mint Debian Edition.

Comment by Jens Berthold [ 2012 Mar 20 ]

I narrowed the fault:
This only happens when many items are selected (my profile is configured to show 200 rows per page).
If I select 200 items and click "Go (200)", the page just reloads and nothing happens. If a subfilter is active, it is reset on the page reload.
Maybe a problem with too long cookies or post requests?
(Could someone change the issue title to "Mass updates fail with many items selected", please?)

Comment by Jens Berthold [ 2012 Apr 02 ]

Please see my previous comment.

Comment by Toms (Inactive) [ 2012 Apr 03 ]

Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-4739

Comment by Toms (Inactive) [ 2012 Apr 03 ]

Fixed in 2.0.0rc3 r26567





[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.





[ZBX-4708] Severity selection control issue in the trigger mass update form Created: 2012 Feb 28  Updated: 2017 May 30  Resolved: 2012 Mar 06

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

Type: Incident report Priority: Critical
Reporter: Pavels Jelisejevs (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: dependencies, massupdate, trigger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The javascript severity selection control is reset to radio buttons when adding a dependency. To reproduce, go to the trigger mass update form, check both "severity" and "replace dependencies" and add a dependency to the list.



 Comments   
Comment by Alexander Vladishev [ 2012 Mar 06 ]

Confirmed in latest trunk r25828.

Comment by Alexander Vladishev [ 2012 Mar 06 ]

Fixed in version pre-1.9.10, r25829.





[ZBX-4621] Updating macros using Host.massUpdate() Created: 2012 Feb 07  Updated: 2017 May 30  Resolved: 2012 Mar 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 1.9.8 (beta)
Fix Version/s: 2.0.0rc2

Type: Incident report Priority: Major
Reporter: Pavels Jelisejevs (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: API, hosts, macros, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

If we have a couple of hosts, one of which has a host macro with hostmacroid 28, then the following API request will update the given macro, but delete all of the other macros on both hosts.

API::Host()->massUpdate(array(
'macros' => array(
'hostmacroid' => 28,
'macro' => '{$C}',
'value' => 3
),
'hosts' => array(
array('hostid' => 10116),
array('hostid' => 10091),
)
));

This seems illogical, the massUpdate method should just replace all of the macros on both hosts with the given macros, and passing a 'hostmacroid' should probably trigger an error.

I haven't checked, but there maybe similar problems with other massUpdate methods.



 Comments   
Comment by Alexey Fukalov [ 2012 Mar 19 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4621

Comment by Toms (Inactive) [ 2012 Mar 20 ]

(1) How does replaceMacros() function relate to this issue?

<Vedmak> hmm, it's used to implement functionality required by this issue. We can discuss if there are another ways to implement it in better way.

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Mar 20 ]

(2) Old "// UPDATE MACROS {{{" comment were more convenient

<Vedmak> but we don't use such comments now.

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Mar 20 ]

TESTED

Comment by Alexey Fukalov [ 2012 Mar 20 ]

svn://svn.zabbix.com/trunk 26233





[ZBX-4352] Host Mass Update: Cannot link additional template to hosts Created: 2011 Nov 12  Updated: 2017 May 30  Resolved: 2011 Nov 15

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

Type: Incident report Priority: Blocker
Reporter: Joseph Bueno Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Capture.png    

 Description   

When trying to link a new template to several hosts with mass update, I get following error messages:

ERROR: Cannot update Hosts

Undefined index: host [api/classes/class.chost.php:1777]
[ CHost::massUpdate ] Wrong fields for host [ ]

I have attached a screenshot showing the error.



 Comments   
Comment by richlv [ 2011 Nov 12 ]

unfortunately, reproducible in 1.8 branch rev 23162.

Comment by richlv [ 2011 Nov 12 ]

broken by :

r22796 | pavels | 2011-10-31 09:45:56 +0200 (Mon, 31 Oct 2011) | 1 line

  • ZBX-4265 fixed host input validation (pavels)

<pavels> The issue reference in the message is incorrect, it's actually ZBX-3473

Comment by richlv [ 2011 Nov 12 ]

(1) unitests...

<pavels> We don't have any unit tests for 1.8.

<richlv> oh, right. might be worth doublechecking that there is such a unittest for trunk, but in general CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 14 ]

Fixed. RESOLVED.

Comment by Alexey Fukalov [ 2011 Nov 15 ]

(1) [GUI]
Review my change please, i fixed it in a bit another way.

<pavels> CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 15 ]

Merged to /branches/1.8 revision r23242. CLOSED.





[ZBX-4317] Cannot link templates with trigger dependency using mass update. Created: 2011 Nov 03  Updated: 2017 May 30  Resolved: 2012 Jul 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 1.8.8
Fix Version/s: 2.0.2rc1, 2.1.0

Type: Incident report Priority: Critical
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: api, massupdate, templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-4485 can't link host with template if this... Closed

 Description   

Let's say we have templates A, B each with only one trigger. Triggers from B depends on trigger from A.
Template A already linked to the hundred of hosts.
I want to link template B to the these hosts using "Mass update" (Link additional templates)

When I press Save button I see an error:

[ CTemplate::massAdd ] Trigger in template [ B ] has dependency with trigger in template [ A ]
[ CHost::massAdd ]

Yes, it's possible to link the template B by manual editing properties for every host, but I need link the template B to the hundred of hosts !



 Comments   
Comment by Oleksii Zagorskyi [ 2011 Dec 25 ]

In the ZBX-4485 confirmed this problem with the API too.

Comment by Oleksii Zagorskyi [ 2012 Feb 15 ]

maybe ZBX-4333 will fix this case

<pavels> Noup, this will have to be fixed separately.

Comment by Toms (Inactive) [ 2012 Jul 11 ]

Fixed with ZBX-5086





[ZBX-3266] unnecessary rows in mass update forms Created: 2010 Dec 06  Updated: 2017 May 30  Resolved: 2012 Mar 20

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

Type: Incident report Priority: Minor
Reporter: Aleksandrs Saveljevs Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: hosts, itemmassupdate, items, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File host-mass-update.png     PNG File item-mass-update.png    
Issue Links:
Duplicate
duplicates ZBXNEXT-914 Redesign Administration->DM Closed

 Description   

See item-mass-update.png. The "New flexible interval" row should not be there.

See host-mass-update.png. The "Name" row serves no purpose.



 Comments   
Comment by richlv [ 2011 Sep 01 ]

name is gone in trunk rev 21421; "new flexible interval" is still there

Comment by Eduards Samersovs (Inactive) [ 2012 Mar 16 ]

Resolved in ZBXNEXT-914

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 20 ]

(1) The "new flexible interval" line is still there.

<Eduard> RESOLVED

<pavels> CLOSED.

Comment by Eduards Samersovs (Inactive) [ 2012 Mar 20 ]

Resolved in ZBXNEXT-914, trunk r.26226 version 2.0.0.rc2





Generated at Wed Apr 24 08:41:51 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.