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

AlertScripts (Actions): Allow true parameter passing/true shell script

XMLWordPrintable

      We should be able to call whatever script we want with whatever parameters we want (defined by the Parameters on the "AlertScript"). It seems that if we want to use an AlertScript currently, we are limited to passing only 3 variables through;

       

      {ALERT.SENDTO}
      {ALERT.SUBJECT}
      {ALERT.MESSAGE}
      

      If we want to use Zabbix's internal parameters as a "Script Parameter", it seems to either ignore them or not allow anything other than {ALERT.*} to be used.

      I should be able to configure an AlertScript, Enter whatever parameters I want (for example, Param 1 {HOST.ID}, Param 2 {EVENT.ID} and then pass those to the script.

      In my testing, this does not work.

       

            wiper Andris Zeila
            clontarfx@gmail.com Shane Arnold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: