Creating categories of metric threshold rules

You can organize your metric threshold rules into categories with names you find meaningful.

You can name the categories as you wish. Note, however, that all metrics grouped into one category are assigned the same error or warning severity level, so they should be of equal importance in terms of how important it is to address the detected violations.

Specifying categories in the configuration file

Categories are specified in the configuration file with a line like the following:

WARNING.SEVERITY=7 ERROR.SEVERITY=3 WARNING.CATEGORY="User-defined warning category 1" ERROR.CATEGORY="User-defined error category 1"

where

  • WARNING.SEVERITY= precedes a numerical value that represents the seriousness of the violation with 1 being the most serious and 10 being the least serious. Violations of rules in this category will be shown as warnings if the value in the warning field of a rule is exceeded.
  • ERROR.SEVERITY= precedes a numerical value that represents the seriousness of the violation with 1 being the most serious and 10 being the least serious. Violations of rules in this category will be shown as errors if the value in the error field of a rule is exceeded.
  • WARNING.CATEGORY= precedes your name for the category of rules. The name must be enclosed in quotation marks as follows: "category name".
  • ERROR.CATEGORY= precedes your name for the category of rules. The name must be enclosed in quotation marks as follows: "category name".

The default configuration file contains three placeholder "user-defined warning categories".