5.5 DiskQuotaStatus

Use this Knowledge Script to monitor disk quota status. You can set disk quotas to limit the amount of file server disk space for each user. And you can determine how much disk space can be used before a warning is generated. This value is called the warning level.

For example, if the quota limit is set to 10 MB and the warning level is set to 8 MB, a warning message is generated when a user consumes 8 or more megabytes on the file server. When the user reaches the 10 MB quota limit, the user may or may not be able to save any more files, depending on how disk quotas are configured.

This script raises an event if the specified number or percentage of users reaches the warning level or quota limit.

5.5.1 Resource Objects

Disk Quota settings

5.5.2 Default Schedule

The default interval for this script is Every hour.

5.5.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Event?

Set to y to raise an event when a threshold is exceeded. The default is y.

Collect data - number of users over quota limit?

Set to y to collect data for charts and reports. If enabled, data collection returns the number of users over the quota limit. The default is n.

Collect data - number of users over warning level?

Set to y to collect data for charts and reports. If enabled, data collection returns the number of users over the warning level. The default is n.

Collect data - number of users below warning level?

Set to y to collect data for charts and reports. If enabled, data collection returns the number of users under the warning level. The default is n.

Collect data—percentage of users over quota limit?

Set to y to collect data for charts and reports. If enabled, data collection returns the percentage of users over the quota limit. The default is n.

Collect data—percentage of users over warning level?

Set to y to collect data for charts and reports. If enabled, data collection returns the percentage of users over the warning level. The default is n.

Collect data - percentage of users below warning level?

Set to y to collect data for charts and reports. If enabled, data collection returns the percentage of users below the warning level. The default is n.

Collect data - disk space used for each user? (WARNING - heavy load)

Set to y to collect data for charts and reports. If enabled, data collection returns the amount of space being used by each user. The default is n.

NOTE:Large amounts of CPU resources are required for this parameter to return results.

Number of users over quota limit

Specify the maximum number of users who can be over the quota limit before an event is raised. The default is 1 user.

Number of users over warning level

Specify the maximum number of users who can be over the warning level before an event is raised. The default is 5 users.

Percentage of users over quota limit

Specify the maximum percentage of users who can be over the quota limit before an event is raised. The default is 10%.

Percentage of users over warning level

Specify the maximum percentage of users who can be over the warning level before an event is raised. The default is 20%.

Event severity - number of users over quota limit

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of users exceeded the quota threshold. The default is 8 (red event indicator).

Event severity - number of users over warning level

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of users exceeds the warning threshold. The default is 15 (yellow event indicator).

Event severity - percentage of users over quota limit

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the percentage of users exceeds the quota threshold. The default is 8 (red event indicator).

Event severity - percentage of users over warning level

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the percentage of users exceeds the warning threshold. The default is 15 (yellow event indicator).

Event severity - API error

Set the event severity level, from 1 to 40, to indicate the importance of an event in which network system errors occur. These errors can be hardware, software, or network related. The default is 7 (red event indicator).