Ad Widget

Collapse

Trigger with STR and two different answers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • coolmike
    Junior Member
    • Jan 2012
    • 2

    #1

    Trigger with STR and two different answers

    Hi

    I monitor the status of my raid controller. If everything is ok, the check script has the following Answers:

    OK;OK
    VERIFY;OK

    How can I handle this in one trigger?

    The first check I do with the following:

    {Template_3ware-raid:raid_check.str(OK;OK)}=0

    I hope someone can help me here.

    Thanks
    Mike
  • dotneft
    Senior Member
    • Nov 2008
    • 699

    #2
    ({Template_3ware-raid:raid_check.str("OK;OK")}=0)&({Template_3ware-raid:raid_check.str("VERIFY;OK")}=0)

    Comment

    Working...