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

Add functionality to the Scripts section.

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4.0
    • Frontend (F)
    • None
    • any

      Hi all

      The output of scripts from Administration/Scripts is fairly benign and limited. Seems to be literally just the console output as if the commands were run from cli but forgot the dos "echo off" statement.

      I suggest some improvements:

      1. More Macros! Specifically {host.id} but others can suggest what they need.

      2. An option to hide the commands and show only the output.

      3. An option to treat the output as html and render it as such.

       

      For example, the following script:

          # show useful links

          echo "http://{host.conn}

          echo "http://127.0.0.1/hosts.php?form=update&hostid={host.id}"

       

      Would output clickable links, preferably that open in a new tab.

       

      I'd generally use such a script in Problems, Dashboards, and Maps.

      If there's a better way to accomplish this I'm open to suggestions.

       

       

            vmurzins Valdis Murzins
            roy@nexxcom.ca roy h
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: