The software performs periodic protection checks on a protected disk library, and logs the information in the /var/log/commvault/Log_Files/CVMA.log file. To monitor the log file for the protection status and to receive an email alert when a disk library is not protected, create a monitoring policy.
Before You Begin
-
Collect the details that you require to create the policy. For more information, see Planning for Your Monitoring Policy.
-
To view the data that you collect in the log monitoring application, you must set up the Web Console and configure the Index Server. For more information, see Setting Up the Log Monitoring Application.
-
Determine if you want to save the policy configuration in a script that you can run later from the command line interface. If you accidentally delete the policy, the script is useful to save the monitoring policy configuration.
Procedure
-
From the CommCell Browser, go to Policies.
-
Right-click Monitoring Policies, and then click New Monitoring Policy.
The New Monitoring Policy wizard appears.
-
Follow the instructions in the wizard.
-
On the Please select the type of monitoring policy you would like to create page, select Text Log Files.
From the Please select the template list, select Simple Text Template.
-
On the Select associations page, select the MediaAgents for which you have configured the ransomware protection.
-
On the Please select content page, add the /var/log/commvault/Log_Files/CVMA.log file.
-
On the Please specify criteria page, add a criteria with filtering attribute Contains and description path not protected.
-
On the Specify the data capturing options page, from the list of Select data capturing type, select Event Raiser.
For information about the options in the wizard, see Monitoring Policy Online Help.
-
-
On the Summary page, choose whether to save the configuration as a script for future use:
-
To create the policy immediately, click Finish.
-
To save the policy, click Save as Script.
For instructions about saving your policy as a script, see Save as Script Overview.
To create the policy using the script, run the script from the command line interface.
-
What to Do Next
The software automatically creates an alert with the name Event Raiser Alert for Monitoring Policy [MonitoringPolicyName]. To receive email alert notifications, you must enable the alert. For instructions, see Enabling or Disabling Alerts.