The custom_probes file, which must be located in the same JumpStart directory as the rules file, is a Bourne shell script that contains two types of functions.
Table 20–2 Types of Functions You Define in custom_probes
Type of Function |
Description |
---|---|
Probe |
Gathers the information you want or does the actual work and sets a corresponding SI_ environment variable you define. Probe functions become probe keywords. |
Comparison |
Calls a corresponding probe function, compares the output of the probe function, and returns 0 if the keyword matches or 1 if the keyword doesn't match. Comparison functions become rule keywords. |