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

Changing the default notification message

    XMLWordPrintable

Details

    Description

      Hi there,

      I'm wondering how I can change the default notification message that is offered when someone is creating a new 'action'.

      I've found it in this file:
      /usr/share/zabbix/include/defines.inc.php

      define('ACTION_DEFAULT_MSG_TRIGGER', "Trigger: {TRIGGER.NAME}\nTrigger status: {TRIGGER.STATUS}\n".
                      "Trigger severity: {TRIGGER.SEVERITY}\nTrigger URL: {TRIGGER.URL}\n\nItem values:\n\n".
                      "1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}\n".
                      "2. {ITEM.NAME2} ({HOST.NAME2}:{ITEM.KEY2}): {ITEM.VALUE2}\n".
                      "3. {ITEM.NAME3} ({HOST.NAME3}:{ITEM.KEY3}): {ITEM.VALUE3}\n\n".
                      "Original event ID: {EVENT.ID}"
      );
      

      However this file will probably be 'squashed' by an upgrade. Is there a 'correct' way to over-ride this value?

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adam.mclean Adam Mclean
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: