The dictionary service provides more readable or compact alternatives to computer-generated metric, entity, and event field names, as well as other supplemental information. Dictionary entries enhance the usability of Zenoss Cloud wherever metric, entity, and event information is displayed.
Metric entries are used in series graphs, which appear in in Smart View pages, dashboard tiles, and many other pages.
Entity field entries provide additional context for fields found on Zenoss entities, such as common fields like source and source-type, as well as allowing users to provide additional context on custom fields they may be sending into Zenoss. They appear in Inventory.
Event field entries are used in events consoles, dashboard tiles, and Smart View pages.
Zenoss Cloud looks for dictionary entries by default. However, you may have custom metric, entity, or event sources that are not included in the default dictionary, or you may wish to customize the default information. Any user can edit a dictionary entry on a dashboard or Smart View page. Users with the Manager role can add and manage entries on the dictionary administration page.
Default and effective entries
Initially, the default entry for a metric, entity, or event field is your organization's effective entry. The default entry is the entry provided by Zenoss. An effective entry is the working entry that you want to use in Zenoss Cloud.
When you customize a default entry, your customized entry becomes the effective entry. Likewise, when you create a new entry for a metric, entity, or event field that has no default, your new entry becomes the effective entry for your organization.
You can revert your customization of an entry to the Zenoss default at any time and update your unique entries at any time, too.
Opening the dictionary service
You can examine the dictionary entries from the following locations:
The Zenoss Cloud header is visible on all tabs. In the header, click ADMIN, then Dictionary.
In Smart View, in the top-right corner of the primary metric card, click the vertical ellipsis (⋮). On the menu that opens, click Metric Dictionary.
In a dashboard, in the metric tile header, click the vertical ellipsis (⋮). On the menu that opens, click Metric Dictionary.
Your account must be assigned the User role or higher to edit individual metric dictionary entries. To manage dictionary entries, your account must be assigned the Manager role. For more information, see Roles and permissions.
Tour of the dictionary service
The dictionary service features threee tabs for metrics, entity fields, and events fields. For each tab, the entries appear in a table that you can filter, sort, and export.
|Select a tab to view the dictionary entries. You can choose METRICS, ENTITY FIELDS, or EVENT FIELDS. When you select a tab, the table shows the entries for the selected dictionary.
|Use these controls to manage the entries. Settings (gear icon) offers options to clear filters, adjust columns, and restore defaults. Use the Export table icon to download the entries in a selected format. You can also globally filter entries.
|Add an entry
|Click ADD ITEM to open a dialog box for adding an entry. See Adding and editing dictionary entries for more information.
|To filter entries, enter your search terms in the box at the top of the column.
|Select the pencil icon in the entry row to edit that entry. For metrics, click the vertical ellipse (⋮) to add the metric to a dashboard.
Managing dictionary entries
Users assigned the Manager role can manage dictionary entries on the ADMIN > Dictionary page. Let's take a closer look at the management tools available in dictionary service.
- Configure rows per page
To configure the rows per page and navigate the pages, use the controls on the bottom-right side of the page.
- Filter entries
To filter entries, enter search terms in the box at the top of a column. For example, if you enter "group" in Metric label, only entries that have the word "group" in the label appear.
- Filter entries globally
To filter entries globally, select the types of entries to display. You can filter by Overriden and Zenoss default dictionary.
Overridden entries include definitions you create, whether a Zenoss default exists or not.
- Edit entries
- To edit an entry, click the pencil icon in the Actions column. The Edit dialog box opens.
- Export dictionary
To download the contents of your effective dictionary, select a format from the export menu, such as CSV or JSON.
The export includes everything in the dictionary, regardless of filter settings.
- Manage customized entries
When a dictionary entry includes both a Zenoss default definition and a customized definition, the row includes an expand/collapse control to the left of the entry.
Expand the entry to display the customized definition and the Zenoss default definition.
When you have a customized definition, you can also delete it. In the Actions column, select Delete (trash can icon) to remove the customized definition and revert to the Zenoss default entry.
Adding and editing dictionary entries
You can add new entries to your dictionary and edit existing entries. To learn more, see Adding and editing dictionary entries
As a reference, you can view the fields for metric, entity, and event entries.
Each metric entry can include an alternative for the metric's name and additional, contextual information. All fields except the name are optional.
|The metric name (required).
|A display name for a metric.
|A longer, free-form statement about a metric.
|The unit of measurement the metric represents, for example, GB, IOPs, or percent. This value is the label for the vertical axis of a metric's graph.
|The conversion to use to normalize data points, for example, convert milliseconds seconds.
|A custom conversion to use when the Conversion field doesn't include the conversion you need.
|A minimum value for data points to adjust the metric's graph. Data points are never discarded.
|A maximum value for data points to adjust the metric's graph. Data points are never discarded.
|A list of terms to associate with a metric or event field. The tags namespace is shared among all dictionary types.
Entity and Event fields
Entity and event field entries are simpler than metric entries.
|The entity or event field name (required).
|A display name for an entity or event field.
|Type of field for the entity or event (required). Use the dropdown list to select the field type, such as Boolean, String, or Autosuggest.
|Description or explanation about an entity or event field.
|A list of terms to associate with entity or event field. The tags namespace is shared among all dictionary types.
The default dictionary entries supplied by Zenoss include tags that identify the source of an event field or metric.
For example, event fields that originate in the Capacity ZenPack include the CZ and capacity tags. Likewise, metrics that originate in the host-network-interface datasource of Zenoss Data Monitor include the ZDM and host-network-interface tags.
Dictionary service API
You can view the Zenoss API for dictionary service. The metric, entity fields, and event fields resources of the dictionary service enable overriding default dictionary entries with your own definitions, creating new entries for metrics not included in the default dictionary, and managing custom entries.
For details, see Dictionary service API.