|
Introduction |
|
User Guide |
|
Alert functions |
|
Mathematical functions |
|
String formatting functions |
|
Properties |
|
Properties |
|
Properties |
|
Properties |
|
Properties |
|
Properties |
|
|
RaiseConditionalAlert
This
function raises an alert if no similiar alert was previously raised
in the interval specified by the LastAlertInHours parameter.
The return value is an ID value you can use for the AddAlertDetails function.
Syntax:
|
function
RaiseConditionalAlert(Description: string; Object: TBaseClass; LastAlertInHours: Integer;
AlertGroup: Integer; AlertTag: string): Integer;
|
Notes:
|
The
scripting engine will only raise the alert if no alert with the
same AlertGroup and AlertTag values were raised in
the past LastAlertInHours hours.
|
Example:
|
The
script below raises the alert only if there were no alerts with the
AlertGroup value of 101 and AlertTag value of
'master' were raised in the last 12 hours.
|
|