nfr_res.src
Specifies the text for an alert message, the severity for the alert, and the
destinations to which the alert is set.
File Location
$NFRHOME/etc/resources/nfr_res.src
Resource File Syntax
Refer to the resource file definition.
Ranges
Alert message definitions may appear only in ranges specified with the _alerts keyword.
Definition Syntax
identifier-name
{
facility [facility ...];
severity; format;
}
Variables
- facility - The name of an installed alert facility.
- severity - The default severity level for this alert.
Changes made using the GUI override this setting. Possible values are:
- SEV_ERROR
- SEV_INFO
- SEV_WARNING
- format - The string to use as the output text for this alert.
If this string contains "$(n)" sequences, they will be replaced with insertion
strings provided to Alert_Args_Generate(). Replacement strings are chosen based on the
number n. (for example, if n is two then the second insertion string argument is
used)
Example
NFR_ERR_NOT_IMPLEMENTED
{
NFR_FAC_NFRLOG NFR_FAC_ACK;
SEV_WARNING;
"$(1): feature not implemented in version $(2)";
}
|