Alert Specifications

To enable alerts, the configuration file should contain reference to the feature (available in the License Manager) for which alert needs to be generated.

NOTE   If the configuration file does not exist, no alerts will be reported.

Configuration information can be readable license remap statements, alert action statements, etc. The License Manager is the only entity that deals with alerts. The configuration file is read by the License Manager and it ignore statements in the configuration file that it is not interested in.

The file can contain the information on what to do with the alerts. If the configuration file is changed while the License Manager is running, the License Manager will need to be restarted in order for the changes to take effect.

The configuration file, lservrc.cnf, is a general-purpose configuration file. The environment variable LSERVRCCNF can specify the path to the configuration file. The path for <LicenseFile>.cnf is constructed from the license file path the user is using. LicenseFile can be specified using existing methods such as the License Manager startup -s option, or the LSERVRC environment variable. It is not an error for the configuration file to be missing.

The configuration file is broken into sections, headed by feature and version:

[feature_name1 feature_version1]
. . . 
alert-action-11
alert-action-12
. . . 
[feature_name2 feature_version2]
. . . 
alert-action-21
alert-action-22

For more detailed information about the configuration file format, contact your software vendor.

Each alert-action looks like:

alert-type=reporting-mechanism1 ON/OFF reporting-mechanism2 ON/OFF

 

Line continuation is not supported, so all email addresses must fit on one long line. The maximum length of a line is 512 characters. We suggest you to refer to the sample configuration file for better understanding.

Each section can contain further customizing statements:

SCRIPT=script-path
EMAIL=email-addr1 email-addr2...

The following types of alerts can be enabled and all of them are case sensitive.

>softlimit—Soft limit exceeded

>hardlimit—Hard limit reached

>appstart—License issued

>appstop—License returned

>denied—License denied

>apptimeout—License time-out

>expired—License expiration date reached

NOTE   appstart and appstop may generate a lot of network traffic.