Announcement

Collapse
No announcement yet.

Action message returns multiple values even though it is not supposed to

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Action message returns multiple values even though it is not supposed to

    Hi there,

    I was testing around different things, and I've instructed Zabbix to email me only one item value when it needs to send a message about something particular.

    So the default message actually looks like this:

    Trigger: {TRIGGER.NAME}
    Trigger status: {TRIGGER.STATUS}
    Trigger severity: {TRIGGER.SEVERITY}
    Trigger URL: {TRIGGER.URL}

    Item values:

    1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}


    Original event ID: {EVENT.ID}

    However, when I do get an email, it looks like this:

    Trigger: /etc/passwd has been changed on Eugey
    Trigger status: PROBLEM
    Trigger severity: Warning
    Trigger URL:

    Item values:

    1. Checksum of /etc/passwd (Eugey:vfs.file.cksum[/etc/passwd]): 764147716
    2. *UNKNOWN* (*UNKNOWN*:*UNKNOWN*): *UNKNOWN*
    3. *UNKNOWN* (*UNKNOWN*:*UNKNOWN*): *UNKNOWN*

    Original event ID: 8191



    How can I remove the 2nd and 3rd item value? I was sure that removing it from the template would do the job.

    Thanks in advance!

    #2
    Well?

    Does anyone have any ideas? Please?

    Comment


      #3
      Configuration -> Actions -> (select action) -> (edit Default Message and Recovery message)
      Sincerely yours,
      Aleksey

      Comment

      Ask questions to Zabbix Dev Team in person at the Zabbix Summit 2018!
      Working...
      X