> Trigger prototype object

The following objects are directly related to the triggerprototype API.

Trigger prototype

The trigger prototype object has the following properties.

PropertyTypeDescription
triggeridstring(readonly) ID of the trigger prototype.
description
(required)
stringName of the trigger prototype.
expression
(required)
stringReduced trigger expression.
opdatastringOperational data.
commentsstringAdditional comments to the trigger prototype.
priorityintegerSeverity of the trigger prototype.

Possible values:
0 - (default) not classified;
1 - information;
2 - warning;
3 - average;
4 - high;
5 - disaster.
statusintegerWhether the trigger prototype is enabled or disabled.

Possible values:
0 - (default) enabled;
1 - disabled.
templateidstring(readonly) ID of the parent template trigger prototype.
typeintegerWhether the trigger prototype can generate multiple problem events.

Possible values:
0 - (default) do not generate multiple events;
1 - generate multiple events.
urlstringURL associated with the trigger prototype.
recovery_modeintegerOK event generation mode.

Possible values are:
0 - (default) Expression;
1 - Recovery expression;
2 - None.
recovery_expressionstringReduced trigger recovery expression.
correlation_modeintegerOK event closes.

Possible values are:
0 - (default) All problems;
1 - All problems if tag values match.
correlation_tagstringTag for matching.
manual_closeintegerAllow manual close.

Possible values are:
0 - (default) No;
1 - Yes.
discoverintegerTrigger prototype discovery status.

Possible values:
0 - (default) new triggers will be discovered;
1 - new triggers will not be discovered and existing triggers will be marked as lost.

Trigger prototype tag

The trigger prototype tag object has the following properties.

PropertyTypeDescription
tag
(required)
stringTrigger prototype tag name.
valuestringTrigger prototype tag value.