|
By default, WebNMS provides a set of policies. For more information on the default policies, refer to Accessing Policies. These policies fall under two categories namely Periodic and Non-periodic policies. If you have created your own custom policies, use the Policy Configuration tool to add them to the existing set of policies.
Periodic Policies
Policies that are triggered periodically by the Server at the specified time interval. By default, the periodic policies are configured to be executed every 10 seconds.
Non-periodic Policies
Policies that are executed at the specified time. In this case, there is no fixed time interval. You need to specify the time at which the policy has to be executed. No default value is assigned for non-periodic policies. For information on scheduling non-periodic policy, refer to Scheduling Policies.
Invoking the Policy Configuration Tool
The Policy Configuration tool helps you to add a new policy to WebNMS or to modify or delete an existing policy. This tool is available with the Runtime Administration tool.

To invoke the Policy Configuration tool
In the WebNMS Client, from the Tools menu, choose Runtime Administration or press Alt+R. The Runtime Administration tool is displayed.
From the Categories tree or drop-down box, choose Policy > Policy Configuration. The Policy Configuration tool is displayed on the right-side panel which displays all the default and existing policies.
Use the Policy Configuration tool to add a new policy to WebNMS. You can also modify the existing and default policies to cater to your network requirements.
To add a policy
In the Policy Configuration tool, click Add. The Filter Configuration dialog box is displayed.
In the Class Name field, specify the class name to be invoked for executing the policy.
In the Display Name field, specify a name. On providing this value, the policy is displayed with the configured name in the Client.
Click OK.
To modify a policy
In the Policy Configuration tool, select the policy to be modified.
Click Modify. The Filter Configuration dialog box with the existing Class Name and Display Name values is displayed.
Modify the values as required and click OK.
To delete a policy
In the Policy Configuration tool, select the policy to be deleted.
Click Delete. A confirmation is asked.
Click Yes to delete the policy.
Every instance of policy that is displayed in the Policies panel is highlighted with a color. This color signifies the status of the policy. This helps you know the status of a policy instantly. A screen shot depicting few of the colors is given below.

The following are the default colors for policies:
Yellow: A policy that has been stopped from being executed.
Green: A policy that is currently being executed.
Cyan: A policy that has been executed.
Grey: A policy that has been disabled.
Orange: A policy that has been enabled (after it was disabled).
These default color code can be modified based on your requirement.
To change policy colors
In the Policy Configuration tool, click Policy Color. The Policy Color Choose dialog box with the existing color code is displayed.
Click the color to be changed. The Swatches, HSB, and RGB tabs are displayed.
Choose the required color.
Click OK.
Click OK.
After adding, modifying, or deleting a policy, save the configuration to the Server.
To save policy changes to Server
In the Policy Configuration tool, make necessary changes.
Click Apply.
Once the changes are saved to the server, a confirmation message is displayed on the status bar of the Runtime Administration tool.
|