Details

    • Type: New Feature Request
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.8.3, 1.8.4
    • Fix Version/s: 2.0.3, 2.1.0
    • Component/s: Frontend (F)
    • Labels:
      None

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: