Skip to content

Label

Labels are user-defined "Tags" which can be attached virtually to any data in NOC. Labels can hold additional configuration:

  • Visual Appearance.
  • Application area, i.e. to which kinds of entities they can be attached to.
  • Exposition rules.
  • Protection flag.

Scoped Labels

Labels can be groupped to the scopes. Only one label from scope may be attached to single entity. Scopes are separated by :: sign. Scopes can be nested. Examples of scoped labels:

  • myscope::mylabel
  • myscope::mysubscope::mylabel

Effective Labels

Labels are combined with group settings to build Effective Labels. Effective labels contain directly set labels enriched with inherited ones.

Inheritance order is in the table below. For the scoped labels, leftmost entry is preferable. Some kinds of inheritance have an exposition restrictions.

EntityInheritance OrderExposition Restrictions
AgentAgent, Agent Profile
ServiceService, Service Profile, Service Parent
Коллектор агентаService, Agentexpose_metric
Administrative DomainAdministrative Domain, Administrative Domain Parent
Managed ObjectManaged Object, Managed Object Profile, Administrative Domainexpose_managed_object
AlarmAlarm, Interface, Managed Objectexpose_alarm
InterfaceInterface, Interface Profile, Managed Objectexpose_interface

Protected Labels

Protected labels may be applied only to group settings and cannot be placed to final entities manually.

Wildcard Labels

Wildcard labels are used in the match operations and specify all labels from given scope and all nested scopes. Wildcards are combined from scope followed by * sign. Examples:

  • myscope::*
  • myscope::mysubscope::*