In AR System 7.1.00, the web client IP addresses of users are now retained in the user log (at the INFO log level).
If you turn on logging from the BMC Remedy Mid Tier Configuration Tool, you can select the level of detail you want to receive: Fine, Info (new to version 7.1.00), Warning, or Severe.
If you create log files with a Fine or Info level, the log file will contain the client IP address.
For more information, see the Installing and Administering BMC Remedy Mid Tier guide.
Note that this is the IP address provided to the Mid-Tier and may not be the actual IP of the client due to NAT or spoofing.Thanks,David J. EasterProduct Line Manager, AR SystemBMC Service Management Business Unit
Is there some way this data can be collected via workflow and inserted into a field on the form being displayed?
1 of 1 people found this helpful
Try the Following in a set field action.
For the IP you can do:
$zLocalIP$ (or whatever you name the field) = $PROCESS$ %COMSPEC% /c
You will have to parse out the IP from the result
The information provided is helpful; but will this work in MidTier, too?
If not, then what would be helpful in MidTier while user is viewing form from their PC?
I guess it will work for mid tier tooo but I am not sure though. Check this once and do let me know.
I don't think that will work on the midtier because of security model in the browsers, plus, it is for Windows OS only.
A bit short of time to write a sample, but that should get you started.
Attached is hte JSP file I am now using. The contents of the file are below.
var return_value = "<%=request.getRemoteAddr()%>";
var return_value = "<%=request.getRemoteHost()%>";
Below is the line embedded within the page header.
For the set fields operation, below is the content of the active link's RUN PROCESS.
get_client_info.jsp 203 bytes
Thank you! and that is working for us.
However, would like to get the computer name of the current users. When using the return value of env_hostname(), we too get the IP only as well.
Anyone how to bypass that?
I tried adding a Java funnction like this:
localhost = java.net.InetAddress.getLocalHost();
hostaddress = localhost.getHostAddress();
hostname = localhost.getHostName ();
When trying to call this ad the Active Link with:
I get the error message in Midtier:
Caught exception : 'java' is undefiend
Any insides buy someone who knows better highly appreciated :-)
Aditya- This worked perfectly, thank you for sharing this with us. Quick question however. I created an escalation to go in after the fact, and to update all records that have blank data for that particular field, using the set field process you shared. However, even when the Run IF condition is met, the field was not updated. Any ideas on that?
Can you please let me know the whole process. I was trying to get the IP details with the command :
$PROCESS$ %COMSPEC% /cipconfig as mentioned above. This is working fine in the User Tool but giving an error in midtier ARERR 9366. I dont have clear idea about how to run the Java script mentioned in your reply. Please let me know the file name where i need to copy the code mentioned.
Hi to all! I tried to use the ACTL solution and it works on client but not on Mid-Tier.
Do you know if there is some enanchement in Remedy 8.1 version to achieve this result?
Thank you in advance.