Ad Widget

Collapse

Trigger help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmcconnell
    Junior Member
    • Jun 2016
    • 3

    #1

    Trigger help

    Hi,

    I'm having problems getting a trigger to work and hoping someone can help.

    Here is what I have:

    A template with an Zabbix agent item called patch level with this key: system.run[powershell.exe -command c:\scripts\get-awspatchlevel.ps1]

    This works and returns a string like this "2016-06-14-Fusion-Base"

    I have a macro defined, {$AWS_PATCH_LEVEL} with a value of "2016-06-14-Fusion-Base"

    I need a trigger that will fire when the value returned from the monitored server is not equal the the value of the macro.

    I have tried variations of using the function "Find string V in last value, but cannot seem to get it to work like i want.

    Does anyone have any suggestions?

    Thanks,
    David
Working...