• Icon: New Feature Request New Feature Request
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.4
    • 1.8.3
    • None
    • None
    • SO: DEBIAN ZABBIX: v.1.8.3

      I would like you contemplate this for future version.
      I enrichement triggers with custom macros.

      PHP program: include/triggers.inc.php at line 1763 i include the next

      $sql_tino = 'SELECT hm.macro, hm.value from hostmacro hm, hosts h where h.host=\''.$row['host'].'\' and h.hostid=hm.hostid';
      $res = DBselect($sql_tino);
      while ($row3 = DBfetch($res))

      { $description = str_replace($row3['macro'], $row3['value'], $description); }

      what do you think?

            alexei Alexei Vladishev
            faustino.garcia Faustino Ramos GarcĂ­a
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: