Creating the FPolicy event

As part of creating an FPolicy policy configuration, you need to create an FPolicy event. You associate the event with the FPolicy policy when it is created. An event defines which protocol to monitor and which file access events to monitor and filter.

Before you begin

The FPolicy event worksheet should be completed.

Procedure

  1. Create the FPolicy event by using the vserver fpolicy policy event create command.
    vserver fpolicy policy event create -vserver-name vs1.example.com -event-name event1 -protocol cifs -file-operations open,close,read,write
  2. Verify the FPolicy event configuration by using the vserver fpolicy policy event show command.
    vserver fpolicy policy event show -vserver vs1.example.com
                      Event               File                    Is Volume
    Vserver           Name      Protocols Operations    Filters   Operation
    ---------------   --------- --------- ------------- --------- ------------
    vs1.example.com   event1    cifs      open, close,  -         false
                                          read, write