As title, I am using Stingray Traffic Manager ver 9.0. Is it any way to setup some alert to remind me the license will be expire?
Solved! Go to Solution.
All you need to do in this case is configure an action handler for license-related events:
You should now receive an email when your license key is nearing its expiration date.
Thanks for your solution. Unfortunately that is limited as my license cannot use advanced alerting features. Did any other way?
Please check with your account manager or our support team to confirm the features of the license type that you have. You will need to have the 'alerting' capability to use the solution that Alex described above, and you will need to use version 5.1 or later of the traffic manager software
You can also get a shell script to read the expiry date out of the raw key file, and send you an email if it is about to expire:
KEYDATE=$(egrep '^#= Expires\s+:\ .*$' "$KEYFILE" | sed -e 's!#= Expires\s\+:\s!!g' | date +'%s' -d -)
if [[ $MARGIN -ge $KEYDATE ]];then
mailx -s "WARNING: Stingray license key expires in $DAYS days!" "$RCPT" <<EOF
This is some email text.
If you want this to run on a regular basis automatically, you'll need to add this to root's crontab (see man crontab for details on how to do that). NOTE: This example also requires the mailx utility to be installed. On my Ubuntu box, the required package is called bsd-mailx.
Hope this helps!