|
|
|
%{SEN_ALERT_DEFAULTCONTENT}
|
Default alert content suitable for events and annotations, which resolves to the following macro syntax:
%{SEN_GROUP_NAME}: %{SEN_HOST_NAME} %{SEN_PARAMETER_STATUS} on %{SEN_PARAMETER_NAME} of %{SEN_OBJECT_LABEL};
or
%{SEN_GROUP_NAME}: %{SEN_PARAMETER_STATUS} on %{SEN_PARAMETER_NAME} (When the macros is used at Group level).
|
%{SEN_ALERT_DEFAULTLOGMESSAGE}
|
Default alert content suitable for log files, which resolves to the following macro syntax:
%{SEN_TIME:%Y-%m-%d %H:%M:%S} %{SEN_GROUP_ID} %{SEN_PARAMETER_STATUS} on %{SEN_PARAMETER_NAME} of %{SEN_OBJECT_LABEL}.
|
%{SEN_CREDENTIALS}
|
System Crendentials.
|
%{SEN_HOST_DOMAIN}
|
Domain of the targeted host.
|
%{SEN_HOST_FQDN}
|
Fully qualified domain name of the targeted host.
|
%{SEN_HOST_IPADDRESS}
|
IP address of the targeted host.
|
%{SEN_HOST_NAME}
|
Name of the targeted host.
|
%{SEN_HOST_SNMPCOMMUNITY}
|
SNMP community set for the SNMP Agent on the targeted host.
|
%{SEN_HOST_SYSTEMTYPE}
|
Operating system type of the targeted host.
|
%{SEN_HOSTNAME}
|
Name of the monitored host as provided in the GUI.
|
%{SEN_INFORMATION}
|
Provides additional information about the problem/alert.
|
%{SEN_INFORMATIONONELINE}
|
Provides additional information about the problem/alert in a single line.
|
%{SEN_NEWLINE}
|
Inserts carriage return.
|
%{SEN_OBJECT_CLASS}
|
Class name of the object to which the alert action belongs.
|
%{SEN_OBJECT_ID}
|
PATROL ID of the object triggering the alert.
|
%{SEN_OBJECT_LABEL}
|
Display name of the object triggering the alert.
|
%{SEN_OBJECT_TYPE}
|
Type of the object triggering the alert ("Process", "String", etc.).
|
%{SEN_PARAMETER_ALARM1MAX}
|
Alarm1 maximum range of the parameter triggering the alert.
|
%{SEN_PARAMETER_ALARM1MIN}
|
Alarm1 minimum range of the parameter triggering the alert.
|
%{SEN_PARAMETER_ALARM1NTIMES}
|
Number of consecutive times the parameter triggering the alert must have a value within the alarm1 range before the alert occurs.
|
%{SEN_PARAMETER_ALARM1TYPE}
|
Alarm alert type of the parameter triggering the alert (OK, WARN, ALARM).
|
%{SEN_PARAMETER_ALARM2MAX}
|
Alarm2 maximum range of the parameter triggering the alert.
|
%{SEN_PARAMETER_ALARM2MIN}
|
Alarm2 minimum range of the parameter triggering the alert.
|
%{SEN_PARAMETER_ALARM2NTIMES}
|
Number of consecutive times the parameter triggering the alert must have a value within the alarm2 range before the alert occurs.
|
%{SEN_PARAMETER_ALARM2TYPE}
|
Alarm2 alert type of the parameter triggering the alert (OK, WARN, ALARM).
|
%{SEN_PARAMETER_BORDERMAX}
|
Border maximum range of the parameter triggering the alert.
|
%{SEN_PARAMETER_BORDERMIN}
|
Border minimum range of the parameter triggering the alert.
|
%{SEN_PARAMETER_BORDERNTIMES}
|
Number of consecutive times the parameter triggering the alert must have a value outside the border range before the alert occurs.
|
%{SEN_PARAMETER_BORDERTYPE}
|
Border alert type of the parameter triggering the alert (OK, WARN, ALARM).
|
%{SEN_PARAMETER_NAME}
|
Name of the parameter triggering the alert.
|
%{SEN_PARAMETER_STATUS}
|
Status of the parameter.
|
%{SEN_PARAMETER_VALUE}
|
Value of the parameter triggering the alert.
|
%{SEN_PARENT_<macro-name-without-SEN_>}
|
Gets the parent object's macro. The name of the parent's macro is copied in the syntax without the SEN_.
Example: In the case of String Search performed on a Command Line (parent) output, to read the full output from the alert action in LastMatchingLines, we need to read parent's %{SEN_RESULT}, which can be accessed using %{SEN_PARENT_RESULT}.
|
%{SEN_PARENT_CLASS}
|
Class name of the parent object to which the alert action belongs.
|
%{SEN_PARENT_ID}
|
PATROL identifier of the object's parent.
|
%{SEN_PARENT_LABEL}
|
Display name of the object’s parent.
|
%{SEN_PARENT_TYPE}
|
Type of the object’s parent. ("File", "CommandLine", etc.).
|
%{SEN_PASSWORD}
|
Encrypted password of the targeted host.
|
%{SEN_RESULT}
|
Query result received for the monitored object during data collection, when available.
|
%{SEN_STATUSINFORMATION}
|
Provides additional information about the Status, as reported by the StatusInformation parameter (where available).
|
%{SEN_TIME:<date-time-format>}
|
Time of the alert action with a configurable time format as described in the Format Symbols chapter.
Example: %{SEN_TIME:%H%M%S} may read 094517 at run time.
|
%{SEN_USERNAME}
|
Username to use to connect to the targeted host.
|
%{/...}
|
FOR ADVANCED USERS ONLY
Provides an internal instance variable name to be inserted. The path is relative to the object triggering the alert.
Example: %{/worstParam} will contain the name of the worst parameter on this instance, which is an application instance built-in variable (see the "PATROL Script Language Reference" document).
|