1 Item prototypes

Once a rule is created, go to the items for that rule and press “Create item prototype” to create an item prototype. Note how macro {#FSNAME} is used where a file system name is required. When the discovery rule is processed, this macro will be substituted with the discovered file system.

1 Item prototypes - 图1

Low-level discovery macros and user macros may be used in item prototype configuration and item value preprocessing parameters. Note that when used in update intervals, a single macro has to fill the whole field. Multiple macros in one field or macros mixed with text are not supported.

Context-specific escaping of low-level discovery macros is performed for safe use in regular expression and XPath preprocessing parameters.

Attributes that are specific for item prototypes:

ParameterDescription
Create enabledIf checked the item will be added in an enabled state.
If unchecked, the item will be added to a discovered entity, but in a disabled state.
DiscoverIf checked (default) the item will be added to a discovered entity.
If unchecked, the item will not be added to a discovered entity, unless this setting is overridden in the discovery rule.

We can create several item prototypes for each file system metric we are interested in:

1 Item prototypes - 图2

Click on the three-dot icon to open the menu for the specific item prototype with these options:
- Create trigger prototype - create a trigger prototype based on this item prototype - Trigger prototypes - click to see a list with links to already-configured trigger prototypes of this item prototype - Create dependent item - create a dependent item for this item prototype

Mass update option is available if you want to update properties of several item prototypes at once.