Managing Agent Configuration Policies
You can use Agent Configuration Policies to define and manage Agent configurations from the Application Server. Perform the following tasks to manage Agent Configuration Policies:
- Creating and applying an Agent Configuration Policy
- Editing an Agent Configuration Policy
- Deleting an Agent Configuration Policy
- Detecting and resolving policy conflicts
Prerequisites
Make sure that you have the following authorizations for creating and applying policies:
For information about these and additional authorizations, see System-authorizations.
Creating and applying an Agent Configuration Policy
Do the following:
- Log in to the TrueSight Server Automation console with the BLAdmin user credentials.
In the left pane, right-click Agent Policies and do the following:
- Click Agent Policy folder.
- Specify a folder name.
All Agent Configuration Policies are listed in this folder. You can also create sub folders.
- Right-click the folder that you created and click New > Agent Configuration Policy.
- Provide a policy name and an optional description, and click Next.
- (optional) On the Access Control list page, grant policy view or creation rights to other user roles. By default, the BLAdmins role has all the required privileges for Configuration Policy management. For information about granting authorizations or applying ACL templates or polices, see ACL-template-Permissions.
- Click Finish. The policy is created and listed under the folder. The policy details to be configured are displayed in the editor.
- On the General tab, verify the policy name and description.
On the Configurations tab, configure these Agent configuration files: exports, users.local, and users
On the Policy Scope tab, define rules to apply the policy and preview the targets to validate the rules:
- (optional) Update the frequency at which the policy is periodically pushed to the Smart Agent. The policy is pushed only when a change is detected.
- At the bottom-left of the console, click Properties.
- Under Extended, specify a value for the INTERVAL_HOUR property. The default is two hours.
If you want to disable this periodic policy push and apply the policy manually, specify the value as 0.
- Save the changes.
- To apply the policy to the targets immediately, right-click the policy name in the left pane and click Apply. The policy is applied to the eligible targets.
On the Activity tab, review the count of targets where the policy was applied and the associated log events.
On the Results tab, check the last policy run details, such as date and timestamp.
Editing an Agent Configuration Policy
Do the following:
- Log in to the TrueSight Server Automation console with the BLAdmin user credentials.
- In the left pane, navigate to the required policy folder under Agent Configuration Policies.
- Double-click the policy to view its details.
- Make the required changes in any or all of these tabs: General, Configurations, and Policy Scope
- Save the changes.
- To push the modified policy changes to the targets immediately, right-click the policy and click Apply. Otherwise, the Application Server will push the policy changes during the next scheduled auto apply policy interval.
Deleting an Agent Configuration Policy
Do the following:
- Log in to the TrueSight Server Automation console with the BLAdmin user credentials.
- In the left pane, navigate to the required policy folder under Agent Configuration Policies.
- Right-click the policy to be removed, and click Delete.
If the policy is already applied to the targets, you are prompted to confirm deletion.
The Smart Agent removes the policy details from the memory and storage after receiving a work request containing the policy removal instructions.
Detecting and resolving policy conflicts
A target server can have only a single policy applied to it. A conflict occurs when the same target is matched by multiple policy rules. If a policy is already applied to the target server, the other matching policies are marked as conflict and are not applied to the target.
To identify the policy conflict and resolve it, do the following:
- Log in to the TrueSight Server Automation console with the BLAdmin user credentials.
Create a smart group with the following condition. This condition is based on the AGENT_CONFIG_POLICIES server property that contains all the policies that are mapped with a server.
Any Server Where ??AGENT_CONFIG_POLICIES?? count greater than 1
All the servers with policy conflict are displayed under this smart group. For more information about creating a smart Group, see Defining-a-smart-group.- Check the AGENT_CONFIG_POLICIES property of all the servers listed under the smart group to identify the conflicting policy names.
- In the left pane, navigate to the required conflicting policy folder under Agent Configuration Policies.
- Double-click the policy to view its details.
- On the Policy Scope tab, modify the rule condition and save the changes.
- Click Apply to apply the changes immediately or wait for the Smart Agent to apply the policy during the next scheduled periodic check.
Related topic