02-24-2013 09:17 PM
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.
02-25-2013 06:15 AM
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.
02-26-2013 02:11 AM
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
02-26-2013 02:29 AM
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!