[ZBXNEXT-27] Inventory improvement - allow to choose visible columns and to save visible inventory view as .xls/.csv Created: 2009 Jul 07  Updated: 2024 Mar 07

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: João Figueiredo Assignee: Unassigned
Resolution: Unresolved Votes: 54
Labels: Zabbix7.2, csv, patch, reports
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File zabbix-2.0.5-zbxnext-27.patch     PNG File zbxnext-27-inventory_column_selection.png    
Issue Links:
Duplicate
is duplicated by ZBXNEXT-1840 add location to hosts inventory output Open
is duplicated by ZBXNEXT-2281 add and/or remove columns in page inv... Closed
is duplicated by ZBXNEXT-2863 Ability to customise Host Inventory C... Closed

 Description   

Check this post for a more detailed explanation: http://www.zabbix.com/forum/showthread.php?p=48551#post48551

Besides mass-exporting the Inventory (chosen)view for a Group of Hosts to Excel format, would be nice that by default the chosen collums would be all the ones that have data inserted in the corresponding fields(Not NULL. Example: OS, Serial Number, Device Vendor, Device Port Connections, Date HW Maintenance Expires).

Thanks,
João



 Comments   
Comment by richlv [ 2009 Jul 07 ]

just wanted to note that exporting to excel format would be very bad, csv should be used instead

Comment by richlv [ 2011 Jul 17 ]

another issue regarding configurable columns : ZBXNEXT-850

Comment by João Figueiredo [ 2011 Jul 18 ]

Agreed.
.csv would be fine.

Comment by Volker Fröhlich [ 2013 Apr 17 ]

I manipulated the frontend to show a tween box and remember the column selection in the profile. This happens as a string of ids, due to the limitation to 255 bytes.

If no column is chosen, a predefined default column is still shown. The order of columns is fixed. Text fields are automatically wrapped.

While it serves my purposes, I'm not sure that's really the way forward. I'll upload the patch when I consider it sane.

Comment by Volker Fröhlich [ 2013 Apr 19 ]

I attached the most clumsy and awful patch that solves my problem.

It also includes the red-link proposal of ZBX-6528.

Comment by sles [ 2013 May 14 ]

Thank you!
Applied patch, users say this is what they need.
Hope it will be included in 2.0.7

Comment by sles [ 2013 Nov 13 ]

Hello!

Just upgraded to 2.2.0 and found this patch is still not included
And I can't apply patch to 2.2:

[root@zabbix zabbix-2.2.0]# patch -p5 <zabbix-2.0.5-zbxnext-27.patch
patching file hostinventories.php
Hunk #1 succeeded at 36 (offset -1 lines).
Hunk #2 FAILED at 62.
Hunk #3 FAILED at 99.
Hunk #4 FAILED at 145.
Hunk #5 FAILED at 194.
Hunk #6 FAILED at 208.
Hunk #7 FAILED at 240.
6 out of 7 hunks FAILED – saving rejects to file hostinventories.php.rej
patching file include/hosts.inc.php
Hunk #1 succeeded at 462 (offset 1 line).
patching file styles/default.css
Hunk #1 FAILED at 716.
1 out of 1 hunk FAILED – saving rejects to file styles/default.css.rej
Is it possible to port this patch to 2.2 ?

Thank you!

Comment by Andras Fabian [ 2014 Feb 25 ]

Are there any chances, that this very useful feature will see the light of life one day?

Comment by richlv [ 2014 Mar 06 ]

it's currently not on the roadmap

Comment by Renato Lopes [ 2014 Apr 26 ]

Why it's not in roadmap?

Comment by callistix [ 2014 Nov 14 ]

It would be very useful to configure the visible columns in host inventory, e.g. we are not interested to see MAC Address and Serial Number in the list, but "Software Version A" and "B".

Comment by Yaron Shahrabani [ 2017 Nov 14 ]

This could also be a very useful feature for us, the default columns are empty in our inventory.

Comment by Khatsayuk Alexander [ 2017 Nov 16 ]

So, I'd like to join to peoples who want this functionality out-of-box.

Comment by Yaron Shahrabani [ 2017 Nov 16 ]

asand3r, did you vote on it?

Comment by Khatsayuk Alexander [ 2017 Nov 17 ]

yaron yeap, be sure. =)

Comment by Quentin LOUPOT [ 2017 Nov 28 ]

Having a customizable Host inventory would be great Just voted for it

Comment by Lucas Cardoso [ 2018 Jan 17 ]

This would be a really good feature for us to be able to change the names off the fields. Like, I want to use one field of the inventory as a uptime field for each device, and there isn't any filed that I can use with the right name.

Comment by Volker Fröhlich [ 2018 Jan 17 ]

I don't think that uptime is a figure that belongs in an inventory.

Comment by Lucas Cardoso [ 2018 Jan 18 ]

The main idea of this issue (that is what I think) is to be able to change the names of the inventory fields, and that's what i'm doing editting the file /usr/share/zabbix/include/hosts.inc.php.

Comment by DaniilMitrofanov [ 2019 Mar 27 ]

10 years of waiting for field custom names

Comment by Nathan Liefting [ 2021 Jul 28 ]

Well @Alexei did say "12 years of waiting is over" for ZBXNEXT-114 So who knows, maybe this issue is next in line?  

Comment by Eric [ 2022 Oct 03 ]

Voted for this. Need a more granular and "OOTB" feature for this instead of meddling around with PHP file.

Generated at Thu Apr 25 14:27:59 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.