Ad Widget

Collapse

Multiple expression in a trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Xyue
    Member
    • Jan 2016
    • 93

    #1

    Multiple expression in a trigger

    Hi guys,

    I am trying to monitor the power supply status of my switch. I have two power supply on my switches so I have created 2 Item which will monitor each of the power supply as it was using different OID.

    I tried to create a trigger with 2 expression but it was not allow as it shows me incorrect expression. Below is the expression i put in the trigger.

    Expression
    {1IDF-45-SW1:PowerSupply2.change()}<>0 OR {1IDF-45-SW1:PowerSupply1.change()}<>0

    Can anyone advise any problem on the expression or is it 1 trigger only can input 1 expression ?

    Thank you very much.
  • glebs.ivanovskis
    Senior Member
    • Jul 2015
    • 237

    #2
    Use lowercase "or". I'd suggest reading docs one more time.

    Comment

    • Xyue
      Member
      • Jan 2016
      • 93

      #3
      Hi,

      Thanks. I missed out that part and though i should use capital letter.

      Thanks again for your help

      Comment

      Working...