Ad Widget

Collapse

Recovery Message in Actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • olecam
    Junior Member
    • Jan 2011
    • 4

    #1

    Recovery Message in Actions

    Hello again,

    When configuring an action, if the "Recovery Message" is checked, Zabbix seems to always send the "Default Subject" and "Default Message" also for recovering.

    This apply here with Zabbix 1.8.3 (straight from debian unstable).

    Is this a feature or do I have missed something?

    Thanks in anticipation.

    Olivier
  • zabbix_zen
    Senior Member
    • Jul 2009
    • 426

    #2
    Did you add Trigger value = 'PROBLEM' to the Action condition?

    Comment

    • olecam
      Junior Member
      • Jan 2011
      • 4

      #3
      Hi -

      Originally posted by zabbix_zen
      Did you add Trigger value = 'PROBLEM' to the Action condition?
      No, I didn't. I have selected "Triggers" as "Event source", checked "Recovery message" then :

      Default Subject is : "{TRIGGER.NAME}: PROBLEM"
      Recovery message is "{TRIGGER.NAME}: RECOVERED"

      (both Default and Recovery messages are also different).

      But, on recovery I always receive the "Default" subject/message.

      Maybe a workaround could be to have two actions, one with condition to a trigger action to "PROBLEM", the other with condition to a trigger action to "OK". That way I could have two different messages. Will give it a try...

      Comment

      • olecam
        Junior Member
        • Jan 2011
        • 4

        #4
        Originally posted by olecam
        No, I didn't. I have selected "Triggers" as "Event source", checked "Recovery message" then :

        Default Subject is : "{TRIGGER.NAME}: PROBLEM"
        Recovery message is "{TRIGGER.NAME}: RECOVERED"
        Well, with Trigger value = 'PROBLEM' to the Action condition (as you suggested), everything works indeed as expected. No need to create a second action.

        Thanks for the tip!

        Olivier

        Comment

        • zabbix_zen
          Senior Member
          • Jul 2009
          • 426

          #5
          Right.

          My question was more like
          'maybe it would be better if you...'

          Glad it helped

          Comment

          Working...