Use time-based rules

This article will explain how to use Rules in the Policy Manager to move users or machines from one rack to another based on the time of day. As a basic requirement you will need at least two racks created in the Policy Manager.

Racks are created under the Policies tab of the Policy Manager. Detailed instructions for creating a rack can be found here.

In this scenario we have a Work Hours rack and the Default rack. The goal is to have users on the Work Hours rack between standard work hours of 8AM to 5PM. The rest of the time they will have the more lax, after-hours (Default) policy.

 

  1. Go to Policy Manager > Rules, and click Add.
    PolicyManager-RulesTab.jpg
    Clicking the image above will load it, full-size, in a new window.

  2. Give a Description similar to "Work Hours", then click Add Condition.
    PolicyManager-NewRule.jpg

  3. For Type select "Time of Day", click in the Value box and a time range selection box will open.

  4. Select 08:00 - 17:00.
    PolicyManager-RuleTimeofDayCondition.jpg

  5. If you only want this rule to apply to certain days of the week — such as Monday through Friday — click the Add Condition button again, otherwise skip to Step 7.

  6. For Type select "Day of Week" and check the appropriate days.
    PolicyManager-RuleDayofWeekCondition.jpg

  7. If you only want this rule to apply to certain users or machines, click Add Condition again and select the appropriate Type and Value.
    USER and MACHINE TYPES:
    • Username 
    • Directory Connector: User in Group
    • Host Hostname
    • Client MAC Address
    • Source Address

  8. Finally go to the Target Policy drop-down box and select the "Work Hours" rack.

  9. Click Done and then Save in lower right corner to save changes.

 

Repeat for as many different time of day rules as you wish to apply. 

IMPORTANT: Rules are evaluated in order, so if a newly created rule isn't working make sure another rule above it isn't overriding the new rule and reorder as needed.

 

 

Follow
Was this article helpful?
3 out of 4 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Powered by Zendesk