-
New Feature Request
-
Resolution: Fixed
-
Major
-
1.8.2, 1.8.3, 1.8.4
-
None
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)
In Attach, as will be.
<richlv> keywords : monitoring triggers filter maintenance status