...
Info |
---|
Charon-AXP/VAX 4.9 and Charon-HPA PAR 1.10 and newer will grant a grace period of 12 hours after all valid licenses have disappeared. Older versions of these products and other emulator products will continue to run without a license until the next scheduled license check (default 1 hour). Charon-SSP starting with version 3.0 will continue to run for two license check periods. The grace period varies significantly between products and versions of the same product! |
...
|
The following Charon-HPA PAR version 1.7.4 log file excerpt show the message written after the connection to the license dongle has been lost or the dongle has been removed:
|
The following Charon-HPA PAR version 1.11 log file excerpt show the message written after the connection to the license dongle has been lost or the dongle has been removed:
...
Note |
---|
Most of the messages show in the examples above are not written to the emulator log file immediately when the license is removed. They are written when the periodic license check is performed. Exception: Charon-AXP/VAX 4.9 and Charon-HPA PAR 1.10 and higher also write messages to the emulator log - with a short delay - that reflect the messages written to the system log by aksusbd. The aksusbd daemon reports the removal of a license almost instantaneously in the system log. If possible, use the monitoring capabilities of the Charon Linux Toolkit. This will provide alerts for both message types and additional monitoring features, for example monitoring and alerting based on counters. |
...
Info |
---|
The examples of the analysis script and the time stamp adaption script are specific to the Charon-AXP and Charon-VAX products. Different formats are required for the Charon-SSP and Charon-HPA PAR products. |
1. Create the log file definition file:
...
Charon-AXP/VAX version 4.9 and Charon-HPA PAR version 1.10 and newer also show messages corresponding to the journalctl messages in the emulator log file (with a delay of about one minute) that can be captured by log monitoring tool such as logwatch. Below is a sample for the Charon-AXP/VAX product:
...
The Charon Linux Toolkit includes a license expiration check utility that can send alert emails, and/or execute a custom script, a specified number of days before the license expires. This utility can be installed in standalone-mode to be used on Charon-AXP, Charon-VAX, Charon-SSP (non-Baremetal versions) and Charon-HPA PAR without installing the Charon Linux Toolkit.
...
Please refer to How-to install Charon license expiration check on a Linux server for detailed installation and configuration instructions.
Charon-
...
PAR Special Monitoring Options
Charon-HPA PAR versions 1.10 and higher offer an additional feature to support alerts in the case of license problems.
The Charon-HPA PAR configuration file supports the following new parameters that can be used to alert the user to potential license problems:
Parameter | Description |
---|---|
hasp_lost_usr_cmd | Runs a user-defined script or a executable if Charon disconnects from current valid license and no other valid license is found. This action is called every hour during the 12 hours grace period (at the end of which Charon-HPA PAR stops unless a license has been found). The script or command started receives three parameters from Charon-HPAPAR: key-id, product-license-id, and termination time. Usage example: |
license_changed_usr_cmd | Runs a user-defined script or an executable when Charon-HPA PAR disconnects from one license and connects to another for any reason. The script or command started receives four parameters from Charon-HPAPAR: old-key-id, old-product-license-id, new-key-id, and new-product-license-id. Usage example: |
license_expiration_warning_usr_cmd | Runs a user-defined script or an executable when the license expiration time is within few hours. The default setup is: starting 24 hours before expiration this script is invoked each hour. The script or command started receives three parameters from Charon-HPAPAR: key-id, product-license-id, expiration time. Usage example: |
...
License logging level:
Starting with Charon-HPA PAR version 1.11, periodic (once per hour) log messages indicating a successful periodic license check are disabled by default to avoid cluttering the log file. They can be re-enabled by adding the parameter
...