Ad Widget

Collapse

Trigger recovery expression

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Beginner
    Junior Member
    • Feb 2017
    • 10

    #1

    Trigger recovery expression

    Hi there,

    I'm working on making a trigger for receiving traps. I got 2 trapper items, 1 that indicates the problem and 1 that has to clear the problem. The items are:
    1. BrowserLogin
    2. BrowserLogout

    My 'Problem expression' does work and is as following:
    {Tape unit:snmptrap["DELL-SHADOW-MIB::eventBrowserLogin"].nodata(24h)}=0

    Now i want to make a OK event generation so when the user logs out the triggers goes in 'ok' mode. However it doesn't go in 'ok' mode with this expression.
    {Tape unit:snmptrap["DELL-SHADOW-MIB::eventBrowserLogout"].nodata(30)}=0

    I can't really get it to work and want to use it on other, more useful traps with a clear condition.
  • djp210
    Junior Member
    • Aug 2016
    • 15

    #2
    You may want to try extending your nodata() timeframe. Maybe try 300 (5 minutes) instead. The documentation indicates a nodata(30) may not be effective. We've found 300 works pretty well for most things, but your mileage may vary

    Also, you've got two different items there. Getting one item to close the trigger for another is, shall we say, tricky. If you can get them to be the same item and then look for values within the data (such as "ERROR" in the data making it go to PROBLEM state and "OK" in the data making it go to OK state), that might satisfy what I think you're looking for.

    Comment

    Working...