> ### Creating a file monitor

> To monitor a file, you must create a monitoring plan definition, select rules for the plan, and set the rules' properties.

> To define a file monitor:

> 1. From the console list frame, click File File.
> 2. From the detail frame, click the New instance icon. The Create File Monitor page appears:

> 3. Provide the following information:
> - Name — Enter the name of the file monitor.
> - Description — Provide an optional description of the monitor.
> - File Name — Provide the name of the file you want to monitor.
> The Enabled option is selected by default. To disable the monitor, clear the option.

> 4. Click Save. The Create Monitoring Plan for the file monitor appears:

> 5. Choose the monitoring plan specifics. When you finish, click Save on this page; the file monitor's monitoring plan definition and a list of rules selected for this plan appear.
> 6. To add one or more rules to the plan, click Add Rule. The Available File Monitor Rules page appears:

> 7. Click the first rule you want to add. The rule properties page appears, as in the following example for the File Age rule:

> 8. Provide values for the following rule properties (which might differ depending on the rule you are adding):
> - Alert if file older than OR Alert severity
> - Throw alert after
> - On alert perform action
> - Clear alert after
> - On clear perform action
> 9. Click Save.
> 10. Repeat Step 7, Step 8, and Step 9 for each rule you want to add.
> 11. When you finish adding rules, click Done Adding Rules. The file monitor's monitoring definition and rules appear.

> You can now edit or delete the plan.

Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095