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

PATCH: dynamic URL screen items

    XMLWordPrintable

    Details

      Description

      http://www.zabbix.com/forum/showthread.php?p=29729

      I wanted to be able to call a custom script to display additional information for a host in a screen as a URL item, so I wrote this patch that makes SCREEN_RESOURCE_URL dynamic.

      If a URL item is marked as dynamic, the URL will be extended with hostid=[selected host's hostid]. (Probably it shouldn't be "hostid" but "zbx_hostid" or something to avoid messing other stuff up, but I think if one knows how to write a custom script, they can change that themselves..)

      The URL itself may contain query strings (i.e. foo.php?bar=true&waz=false will work as well as foo.php, they will be extended with &hostid=[ID] or ?hostid=[ID] respectively).

      This patch applies to [email protected] with ZBX-251 applied. (I'll add the file as an attachment.)

      Greetings
      Sebastian

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iivs Ivo Kurzemnieks
              Reporter:
              freak Sebastian Raible
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: