Ad Widget

Collapse

Running a Command After Alert (Windows)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • balgaly
    Junior Member
    • Sep 2014
    • 2

    #1

    Running a Command After Alert (Windows)

    Hey everyone,

    I tried to create a little action on a server when a specific alert occurs.

    Here are the configuration of the Action:

    Action Panel:
    Default stuff

    Conditions:
    Trigger = Trigger name

    Operations:
    Default operation step duration: 60
    From: 1
    To: 1
    Step duration: 0
    Operation Type: Remote Command
    Type: Custom Script
    Execute on: Zabbix agent
    Commands: echo bla > c:\Zabbix\actiontest.txt


    When the specific alert occurs i can see on the dashboard the action, but it says "not sent" and the command doesn't work.

    Any reason what could be configured wrong?

    Thanks
Working...