View previous topic :: View next topic |
Author |
Message |
rc
Joined: 01 Aug 2005 Posts: 100
|
Posted: Wed Apr 18, 2012 8:22 am Post subject: new macro variable %FolderCurrent_DisabledTests% |
|
|
Hi Alex,
I need one new macro variable %FolderCurrent_DisabledTests% to make it possible to inform my admin once only all tests in one folder have status "OK"
Condition to start good action in alert profile:
('%SimpleStatus%'=='UP') and
(%Recurrences%==2) and
(%FolderCurrent_BadTests%==0) and
(%FolderCurrent_UnknownTests%==0) and
(%FolderCurrent_WarningTests%==0) and
(%FolderCurrent_AcknowledgedBad%==0) and
(%FolderCurrent_AcknowledgedUnknown%==0) and
(%FolderCurrent_AcknowledgedWarning%==0) and
(%FolderCurrent_DisabledTests%==0)
Regards,
Enrico |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Wed Apr 18, 2012 8:33 am Post subject: |
|
|
You may use expression like the following:
('%SimpleStatus%'=='UP') and
(%Recurrences%==1) and
(%FolderCurrent_TotalTests%==%FolderCurrent_GoodTests%)
Its not good idea to use (%Recurrences%==2) in such expressions. You may receive many alerts when action assigned to many test items. |
|
Back to top |
|
|
|