[ZBX-15492] maintenance.php - lost ability to search "all" Created: 2019 Jan 23  Updated: 2019 Jan 23  Resolved: 2019 Jan 23

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

Type: Incident report Priority: Trivial
Reporter: bunkzilla Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

zabbix 3.4.13 - mysql database


Issue Links:
Duplicate
duplicates ZBXNEXT-370 Enhance Dropdown first entry to allow... Closed

 Description   

I used to be able to search all my maintenance periods.   Used to have at the top of the hostgroup list "all", but that's not longer there, but sometimes the hostgroup select filed shows the item "not selected"

Now in order for me to delete a maintenance, I have to guess which host group the maintenance may be assigned to.   

 

Steps to reproduce:

  1. go to configuration -> maintenance
  2. all hostgroup is missing, tried using 'not selected' host group
  3. Result: no maintenance periods show up**

Expected:
expect to see list of all the maintenance periods

 



 Comments   
Comment by bunkzilla [ 2019 Jan 23 ]

Tried to do some debugging:

print_r ( $options )

before it does the API call

Array ( [output] => Array ( [0] => maintenanceid [1] => name [2] => maintenance_type [3] => active_since [4] => active_till [5] => description ) [search] => Array ( [name] => ) [editable] => 1 [sortfield] => active_since [sortorder] => DESC [limit] => 1001 [groupids] => Array ( ) )

value from a cluster I'm running where this functionality works

Array ( [output] => Array ( [0] => maintenanceid [1] => name [2] => maintenance_type [3] => active_since [4] => active_till [5] => description ) [search] => Array ( [name] => ) [editable] => 1 [sortfield] => active_since [sortorder] => DESC [limit] => 1001 [groupids] => )
Comment by bunkzilla [ 2019 Jan 23 ]

I did some more digging, and it seems that my configuration for drop down first entry is set to "none" and not to "all", I changed it to "all" and now this works.     Is this how this is supposed to function?      If "none" is first thing selected, how could I select "all" when I want to search through all host groups?

 

 

 

Comment by Edgar Akhmetshin [ 2019 Jan 23 ]

Hello Binkzilla,

This behaviour is documented. However, there is a ZBXNEXT-370 request to extend the functionality and the ability to select different values for different interface submenus. You can vote for it.

Please be advised that this section of the tracker is for bug reports only. The case you have submitted can not be qualified as one, so please reach out to [email protected] for commercial support or consultancy services. Alternatively, you can also use our IRC channel or community forum (https://www.zabbix.com/forum) for assistance. With that said, we are closing this ticket as duplicate of the ZBXNEXT-370. Thank you for understanding.

Regards,
Edgar

Generated at Wed Apr 24 06:10:06 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.