The spacemon set command sets the space reservation monitoring settings for the specified host.
sdcli spacemon set -mi Monitoring interval -f Storage System -vn Volume Name {-m MachineName} -rap Threshold for Reserved Available Percentage -roc Threshold for Rate of Change -ccs true|false
Monitoring interval is the frequency, in minutes, at which you want to monitor fractional space available.
Storage System is the name of the storage system on which the LUNs reside.
Volume Name is the name of the volume you want to monitor.
Threshold for Reserved Available Percentage is the point at which you want to be warned of a low space reservation condition.
Threshold for Rate of Change is the point at which you want to receive a notification. Use kb, mb, gb, or tb to specify the value as kilobytes, megabytes, gigabytes, or terabytes.
-ccs is used to monitor whether a Snapshot copy can be created. True indicates that you want to monitor whether a Snapshot copy can be created. False indicates that you do not want to monitor whether a Snapshot copy can be created.
MachineName is the machine name on which you want to execute the command. If no machine name is specified, the command is executed on the local machine.
sdcli spacemon set -mi 30 -f controller1 -vn testvol -rap 90 -roc 500mb -ccs true
The preceding example shows that fractional space reservations will be monitored every 30 minutes on the volume named testvol on controller1. The threshold for testvol is 90 percent of the reserved available percentage and the threshold for rate of change is 500 MB. SnapDrive will verify storage system and volume names and that space is available for Snapshot copies to be created.