Hi,

Le 06/07/2015 16:22, Lee Musgrave a écrit :
hi,
simple question about acl's

i know i can combine them in monitors

eg:

acl acl1 nbsrv(mysql) eq 0
acl acl2 nbsrv(mssql) eq 0

monitor-uri /dbs

for and:
monitor fail if acl1 acl2

for or:
monitor fail if acl1 || acl2


what i'm not sure about, is for more complicated logical combinations,
can multiple and's and or's be combined, eg:

monitor fail unless (acl1 acl2 acl3) || (acl4 (acl5 || acl6)) || (acl1
|| acl5)

You'll have to rewrite your expression in its disjuntive normal form (DNF).


--
Cyril Bonté

Reply via email to