Section 6.4.7, “Creating a New Rule: An Example” shows how to create a custom rule and Appendix F, Data Collection Items shows the data items that can be used in rule creation. However, in some circumstances you may want to create a rule that uses a custom data collection item.
You can create additional custom data collection items by editing
rule file added during installation. The
custom.xml is installed automatically, but is
not affected when running an upgrade installation. The rules file
is listed last in the
configuration parameter, which means that any rules and data
collection items added to this file will supercede the standard
data collection definitions.
Once you have made changes to the
you must restart the agent to load the custom definitions.