Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-8281

Action triggered when condition is not met (recovery)

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 2.2.3
    • Server (S)
    • None

      Configured an action with condition: Maintenance status not in maintenance AND (Application like SCP OR Application like RII) AND Trigger severity >= Warning
      I have configured Default message and Recovery message. The operation is to execute a custom script that currently only logs the values received. It seems the scripts is executed for triggers with severity = Information and with message for recovery. Triggers that fire are configured with hysteresis logic.

      The action script executed splits the 3rd input parameter by '\n'.

      Action:

      Default subject:

      {TRIGGER.DESCRIPTION}

      Default message:{HOST.NAME} {ITEM.NAME1}
      PROBLEM {DATE} {TIME} {TRIGGER.NAME} {TRIGGER.VALUE} {TRIGGER.NSEVERITY}

      Recovery message: checked

      Recovery subject: {TRIGGER.DESCRIPTION}

      Recovery message:

      {HOST.NAME} {ITEM.NAME1}

      RECOVERY

      {DATE} {TIME} {TRIGGER.NAME} {TRIGGER.VALUE} {TRIGGER.NSEVERITY} {EVENT.ACK.STATUS} {EVENT.ACK.HISTORY}

      Action script log example:

      ========================
      Notification type: EMAIL | SMS
      Host: host1
      Item: Function A call avg duration
      Status: RECOVERY
      Date: 2014.05.30 18:11:26
      Trigger name: High Avg Duration for function A
      Trigger value: 1
      Trigger severity: 1
      ========================

            Unassigned Unassigned
            little_martian Little Martian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: