Ad Widget

Collapse

Trigger to catch a string in a trapper

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • griffo
    Junior Member
    • May 2017
    • 1

    #1

    Trigger to catch a string in a trapper

    Hello,
    I've created a zabbix trapper that I send WSUS information too. Its history looks like this.

    2017-05-03 11:05:33
    Updates Pending

    ComputerTarget NeededCount DownloadedCount NotInstalledCount FailedCount

    -------------- ----------- --------------- ----------------- -----------

    server1 0 0 0 0
    server2 0 0 0 0
    server3 0 0 0 0
    server3 0 0 0 0
    server4 13 0 13 1


    There is a script that runs every day to populate the trapper.

    I'd like now to create a trigger that flags when the trapper contains "Updates Pending" (or just updates)

    If the script runs and there are no updates it simply says "It's a miracle"

    I have tried a trigger with a regex expression like this

    {WSUS-INFRA:wsus.regexp(Updates)}=0

    But that doesn't flag the alert

    Can anyone point out why?
Working...