Metadata Policy
These policies attach metadata to nodes and to interfaces discovered during a node scan.
Metadata is stored in the requisition context by default and can be referenced elsewhere through metadata expansion as ${requisition:key} — for example, in monitor, collector, threshold, and notification expressions.
See Metadata for details on metadata and expansion.
Both policies assign a fixed value to every matching entity. To compute a value from the entity itself, use the Script Policy instead.
Both policies accept the common matchBehavior parameter and the ~ regular-expression prefix on criteria values.
See Policies.
Node metadata policy
NodeMetadataSettingPolicy sets node-level metadata on nodes that match its criteria.
| Parameter | Description | Default |
|---|---|---|
metadataKey |
Metadata key to set. Required. |
|
metadataValue |
Value to assign to the key. |
(empty) |
metadataContext |
Metadata context the key is stored under. |
requisition |
This policy matches against the same node properties as the Node Categorization policy (for example, label, sysObjectId, sysName, and sysLocation).
Interface metadata policy
InterfaceMetadataSettingPolicy sets metadata on IP interfaces discovered through SNMP during the scan.
It takes the same metadataKey, metadataValue, and metadataContext parameters as the node metadata policy.
Match against the following interface properties:
| Property | Description |
|---|---|
ipAddress |
IP address of the discovered interface. |
ipHostName |
Resolved host name of the interface. |
For configuration examples, see Set metadata.