[ZBXNEXT-583] New Filter in tr_status.php Created: 2010 Dec 16  Updated: 2014 Feb 17  Resolved: 2012 Jul 26

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 1.8.2, 1.8.3, 1.8.4
Fix Version/s: 2.0.3, 2.1.0

Type: New Feature Request Priority: Major
Reporter: Alisson Ramos de Oliveira Assignee: Pavels Jelisejevs (Inactive)
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File tr_status.png    

 Description   

I Would like request a new feature in version 1.8.4. Filter "Show Hosts in Mainenance" in form tr_status.php.

I amde a patch for this, what do you think?

PATCH:
diff /var/www/html/zabbix-1.8.4/tr_status.php /root/zabbix-1.8.4rc2/frontends/php/tr_status.php
62d61
< 'maintenance'=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,1), NULL),
108d106
< $_REQUEST['maintenance'] = 1;
120d117
< $_REQUEST['maintenance'] = get_request('maintenance', 0);
126d122
< $_REQUEST['maintenance'] = get_request('maintenance', CProfile::get('web.tr_status.filter.maintenance', 1));
153d148
< CProfile::update('web.tr_status.filter.maintenance', $_REQUEST['maintenance'], PROFILE_TYPE_INT);
252,253d246
<
< $filterForm->addRow(S_SHOW_HOSTS_IN_MAINTENANCE, new CCheckBox('maintenance', $_REQUEST['maintenance'], null, 1));
348,350d340
< if($_REQUEST['maintenance'] == 0)

{ < $options['maintenance'] = 0; < }

In Attach, as will be.

<richlv> keywords : monitoring triggers filter maintenance status



 Comments   
Comment by Robert Hau [ 2011 Aug 16 ]

Can anyone make a change in this also for Unknown items. This one drives me nuts. I have 30 pages to go through to fine 2 lines that say unknown.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jul 26 ]

The "unknown" filter will be added in ZBXNEXT-892.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jul 26 ]

Available in svn://svn.zabbix.com/branches/dev/ZBXNEXT-583.

RESOLVED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jul 31 ]

Available in 2.0.3rc1 r29260 and 2.1.0 r29260.

CLOSED.

Generated at Tue Apr 23 20:39:08 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.