Adding objects to create a dynamic view node
To create a dynamic view node, you do not need to add objects manually to the view node. Instead, you can create a filter query to sort the required objects, and then associate this query to the view node.
By default, OpsCenter dynamically evaluates the newly added objects and the removed objects at the default first run time, which is 5:00 AM daily. You can configure the scl.conf file to set a first run time and a query evaluation interval. For example, if you set the first run time as 7 AM and the interval as 24-hours, the evaluation occurs daily at 7 AM. You do not need to restart any service after updating the scl.conf file.
However, to evaluate the associated query immediately, you can use the option. Only a Security Administrator or an Administrator can associate a query to add objects in the views.
Note:
If you associate a filter query to the static view node that consists of a few manually added objects, these available objects are removed automatically. Switching between static to dynamic and vice versa removes all previously added objects from the view node.
To add objects to create a dynamic view node
- Log on to the OpsCenter console as a Security Administrator or an Administrator.
- In the OpsCenter console, click Settings > Views.
- From the list of views, select the view to which you want to add objects.
Note:
Dynamic views are supported only for the Client view type. It does not support the Master Server, Policy, or the File-System view types.
- Click Manage Nodes and Objects.
- On the view tree, select the view name or a view node to which you want to add an object.
- In the right-hand pane, select the Objects not in selected view tab. The available objects list varies depending on the view type.
For example: If the view is of type Client, only client hosts are available on the Objects not in selected view tab for selection.
The Objects not in selected view tab shows all host objects that are not a part of the selected view or view node.
You can filter the objects that are not in the selected view with the help of default filters. Or you can create new filters and apply them to view the required objects on the tab.
- Use an available filter query to narrow the set of objects you want to capture.
If the available filter is inadequate to capture the objects, create a new view object filter. See Creating a view object filter in OpsCenter.
Note:
In static views, you cannot associate the same clients and objects to different view nodes. However, you can associate the same clients or objects to different view nodes in dynamic views.
If a client or an object is already assigned to one of the view nodes in the same view tree, then the system does not display the same client or object even after selecting the matching filter criteria. Though it is not displayed in the result, such clients or objects remain associated with the view node.
After applying a filter, system may display a few clients or objects, which are currently not assigned to any views. However, after associating a filter query to a view node, you can view more clients than the clients or objects displayed on the Objects not in selected view tab.
- Click Associate Query to Node.
The added objects appear on the Objects on Node tab.
Note:
You can associate only one query to a view at a time. If you update the associated query to add or remove criteria, the query criteria evaluation happens again for all the associated views. If you delete a filter query, all the dynamic nodes to which this filter is associated are impacted.