Forum Discussion

Alexander_Slink's avatar
Alexander_Slink
Icon for Altostratus rankAltostratus
Jun 07, 2017

Operator in user_alert.conf.

Hello everyone!

Which operator will denote OR word in the file user_alert.conf? I want that the F5 device execute one icall script if one of the messages are logged: VS_1 is down VS_2 is down

Is it will work:

alert one_of_two_vs_is_down  "(VS /Common/vs_1 (1.1.1.1:80) state change green --> red) OR (VS /Common/vs_2 (2.2.2.2:80) state change green --> red))" {
    exec command="tmsh generate sys icall event some_event"

}

?