License Monitor Copyright 2007 Jason Ruprecht

Download the Free Zip File

FAQs

Installation:

Use the provided Setup.exe program to install and setup this service.

Service Location: This is the location of the “Flex_License_Monitor.exe” program. It should reside in the folder you unzipped the files.

Username: It is recommended to enter your domain name and username in this edit box. The format is domain\username.. Press Ctrl-Alt_Delete to check your domain and username.

Password: Password

If the incorrect information is entered, and the service fails to start, delete the service and re-enter the correct information.

Feature Information:

Create an Entry for each feature you wish to Log.

Description: Enter a unique name for the feature. If you enter the same name twice, it will overwrite the previous entry.

Feature: This is the name of the feature. You may have to look on the server to find this name. Multiple features may be bundled together if the are on the same server/port and are seperated by commas.

Server: This is the name of the server the license is installed on. You may enter the server name or IP address.

Port: This is the port that the license is being server on. You may need to look at the server to find this information.

Threshold: Specify the number of licenses used where you would like to receive a notification that this number has been met.

Add and Remove features as you need to track them.

Make sure the information is correct and Test the feature before adding it.
Locations:

Log File Location: This is the location that the log files will be created in.

LMUTIL File Location: This is the location of the “lmutil.exe” program. It should reside in the folder you unzipped these files.
Log Files:

You may choose to turn on all/some/or none of the Log files. This program only creates log files at this time.
Single User Logs:
This is a log file that contains date_time and usernames.
Compiled User:
This is a INI style log file that counts up the number of times each user had a count for using the specified feature per day.
Single License Logs:
This log file contains date_time and the number of licenses in use at that time.
Compiled License:
This is a log that contains date_time and all of the specified features in a table format.
Exclude Logging:

Select the days of the week that should not be logged and/or the times of day.
Options:

Interval: Select the number of minutes between each time you wish to log the license usage.

Message Alert: Select this option if you would like to be sent a message for the features that have meet the license count threshold. This option may not work if your firewall has messaging blocked. Please enter "msg username test" in a DOS window to test this ability on your system (substitute "username" with the actual user that should be sent the messages).

Username: The name of the user that should get a message when the threshold is met.

FAQs:

Does this program create any Graphs that display the license usage.
No, this program only creates log files. It is up to you to import the logs into a program like Excel and create your own graphs. Please see the great program created by Edwin Muirhead, CADminTools if you would like to have graphs created for you.

I have received a 'Error Starting: The service did not start due to login failure.' I tried my 'domain\username', the network admin one and still no luck.

Right Click on the My Computer icon and select Manage. Select Services and Applications, and then Services.
Find Flex License Monitor Service and open it. Select the Log On tab.
You will be able to fix your password and/or username here.
The format is: Domain\Username. Use a backslash not a slash.. and don't format it like a share name. \\Domain\Username is wrong.

Does this program work with Options files?
No, all the saved settings are in the registry, however, once you have it setup on one machine, you can export that branch into a .reg file and import it into a different machine (HKEY_LOCAL_MACHINE\SOFTWARE\Flex_License_Monitor).

Do you have any Triad recommendations? Install on all 3? Has it been tested on a Triad?
This has not been tested on Triad. If memory serves, Triad will serve the license from all 3 machines. You should only have to set this up to work with one of the machines. You could also set it up to work with all 3, but the program will not synch the 3 servers in your log files and display it as one entry (it will be redundant information). This may be a good thing, because in the compiled license file, you can see a side-by-side list of the licenses used from each server. Perhaps if they are not all displaying the same numbers, it would be a good indication of some problems with one of the servers.

Does it run as a Windows Service? If so, does it need to run under any specific user account? With specific permissions?
Yes, this is a Windows service. This program does not have to run on the license server. The account needs permissions to run on the local machine, and also be able to access the license server(s) over the network, unless the local machine you are installing it on is the license server.

Which Operating Systems does it run on?
This should run on any Windows operating system that supports running services. It is a generic MFC application compiled as a dynamic library, so it should be able to update some portions of itself as new releases of Windows are introduced (function of Microsoft, not my programming).

When it installs, how does it get its data? Does it replace or modify dll's or anything else? Or does it sit outside FlexLM?
This program only uses 3 files that are located in the zip file and writes the information you enter into the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Flex_License_Monitor). It does not modify anything else on your computer. The information it gathers from the license server is obtained through the utility provided from Macrovision called LMUTIL. I have downloaded the latest version from macrovision and included it in the zip file as one of the 3 files my program uses. (lmutil.exe = Provided by Macrovision, Setup.exe = Dialog application to create the service and setup the options in the registry, Flex_License_Monitor.exe = This is the service that executes lmutil.exe and formats the output into the log files)

How easy is it to backout/uninstall? Is it a clean uninstall?
The program is not truly installed on your computer, but if you would like to remove all traces of it's existence, just use the provided setup program to stop the service, then use it to delete the service. Delete the files that you unzipped and then delete any log files it created. The last step is to delete the branch (HKEY_LOCAL_MACHINE\SOFTWARE\Flex_License_Monitor) in the registry.


Legal Stuff:


This program should work as intended, but I am not responsible for anything adverse (bad) that happens to your computer. By installing and running this program, you agree to use at your own risk.

Feedback is appreciated.

Jason Ruprecht
jason.ruprecht@gat.com