Ad Widget

Collapse

Action remote script problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rappa
    Junior Member
    • Oct 2014
    • 2

    #1

    Action remote script problem

    I have a remote command that i use i Actions, but when i set Recovery message up it will not execute the command.

    /usr/lib/zabbix/externalscripts/baam.sh '{TRIGGER.NAME}' '{TRIGGER.STATUS}' '{TRIGGER.SEVERITY}' '{HOST.NAME1}' '{ITEM.NAME1}' '{ITEM.VALUE1}' '{TRIGGER.URL}'

    Conditions are

    not in maintenance
    Trigger Value : PROBLEM

    Trigger Severity: High
    Trigger Severity: Warning etc...

    Recovery Message: Check


    When i set the Trigger Value = OK , i see the command is executed however i also notice all the alerts from Auto Registration are triggered with Status OK which is conflicting.

    I have two steps in this action Remote command and email alert. Email works as expected. Remote command doesn't

    I have just upgraded to Version 2.2.3 and this broke as of our work flows.


    I see two possibilities, either specifically disable Status OK message when servers Auto registers and second option is to run a recovery command when the event recovers.

    PLEASE HELP ME...

    seems like this post has the same problem: https://www.zabbix.com/forum/showthread.php?t=46621
Working...