Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
...
This document relates to license expiration utility version 2.6 dated .
Installation
All described operations have to be performed on the Charon server and logged in as 'root' (no other user supported).
Prerequisites
Path
Before installing the license expiration check utility, please verify the hasp_srm_view
executable path is known.
...
- check the
$PATH
value contains the path to thehasp_srm_view
executable file (this can be done by running "echo $PATH
") or - execute the
charon.sh
file as mentioned above.
Mail Transport Agent
The Mail service must have been configured. The Mail transfer agent can be postfix, sendmail, ...
Download
To download the utility, you must issue a request via email to the Stromasys support team (support@stromasys.com) or ask your reseller.
Setup
The utility is provided in a tar file that must be extracted into the /opt/charon/utils
folder. If this folder does not exist, you can create it this way then copy the tar file to this folder:
|
...
- Add a footer to the email body when an alert is sent by adding any information you need in the the
/optetc/charon.d/utils/charonCharonToolkit_check.mailfooter
file (one line or more), - Change the name of the email sender (name only, not email address) by adding a single line containing the name of the sender in the
/optetc/charon.d/utils/charonCharonToolkit_check.mailfrom
file - Create a custom script in
/opt/charon/utils
folder, namedcharon_expchk.custom
to send alerts to a monitoring utility- It needs to be set to executable (
chmod u+x ...
). - If this script is defined, it is recommended to add the "
-nomail
" parameter to the script execution in the crontab file to avoid sending a custom alert and the email at the same time - Parameter 1 passed to this script is the alert level. Possible values, case sensitive, are: Informational, Minor, MAJOR, CRITICAL and EXPIRED
- Parameter 2 passed to this script is a description of the alert containing the expiration date, license number and product afffected
- It needs to be set to executable (
...