Ad Widget

Collapse

Trigger Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NMS
    Junior Member
    • Feb 2014
    • 5

    #1

    Trigger Issue

    I am monitoring a Dell UPS and having this issue.

    The live data is returning value 6

    Failed Self Test Trigger
    {Dell UPS:upsTestResultsSummary.last()}#1 |{Dell UPS:upsTestResultsSummary.last()}#6

    I need the trigger to only go off the value is NOT 1 or 6 yet it stays on. This is driving me crazy.
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #2
    use &, aka
    if ((value != 1) & (value != 6))

    Comment

    • NMS
      Junior Member
      • Feb 2014
      • 5

      #3
      I tried using this but I get an error:

      {Template Dell UPS:upsTestResultsSummary.last()}!=1 |{Template Dell UPS:upsTestResultsSummary.last()}!=6

      Is this what you meant?

      Comment

      • steveboyson
        Senior Member
        • Jul 2013
        • 582

        #4
        Originally posted by NMS
        I tried using this but I get an error:

        {Template Dell UPS:upsTestResultsSummary.last()}!=1 |{Template Dell UPS:upsTestResultsSummary.last()}!=6

        Is this what you meant?

        Code:
        ({Template Dell UPS:upsTestResultsSummary.last(0)}#1) & ({Template Dell UPS:upsTestResultsSummary.last(0)}#6)

        Comment

        • NMS
          Junior Member
          • Feb 2014
          • 5

          #5
          Worked like a champ thanks!

          Comment

          Working...