Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-583

New Filter in tr_status.php

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.3, 2.1.0
    • 1.8.2, 1.8.3, 1.8.4
    • Frontend (F)
    • 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)

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

      In Attach, as will be.

      <richlv> keywords : monitoring triggers filter maintenance status

        1. tr_status.png
          54 kB
          Alisson Ramos de Oliveira

            jelisejev Pavels Jelisejevs (Inactive)
            alisson Alisson Ramos de Oliveira
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: