Ad Widget

Collapse

A special trigger expression needed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nms_user
    Member
    • Feb 2009
    • 43

    #1

    A special trigger expression needed

    Hello,

    I need a "special" trigger expression and hope you can help me.

    The item returns a string which tells "none" if no VMware Snapshot older than 3 days is found. If such snapshots are found, the string tells the machine names ("server1 server2 server10").

    I have already the following trigger running:
    ({App_VCENTER:vCenter.VMsWithOldActiveSnapshots.st r("none")}=0) | ({App_VCENTER:vCenter.VMsWithOldActiveSnapshots.di ff(0)}=1)

    The problem here is that if there are intended snapshots for a long period, the trigger fires only once (at the first snapshot) and I don't get alerts for all the subsequent snapshots. Also it ages down in the "x Last issues" overview, so it isn't appearing on the screen anymore.

    I need a extension to the trigger expression which "renews" the alert on every change of the string (just as going OK for some milliseconds without OK-message and firing new again). But if it gets back to "none" the trigger has to release completely.

    Any ideas?

    Thanks
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #2
    What about a second trigger which checks for found string and kicks in if string != "none"?

    Comment

    Working...